diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-22 10:01:07 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-22 10:01:07 +0800 |
commit | 06b73c35ac8be538eecf86967cc9c9156b930386 (patch) | |
tree | 71cc9f21739fd91937057bcb469e97acac03eab0 /devel | |
parent | d0709f298e530092f371786cbfde590e1912f336 (diff) | |
download | marcuscom-ports-06b73c35ac8be538eecf86967cc9c9156b930386.tar marcuscom-ports-06b73c35ac8be538eecf86967cc9c9156b930386.tar.gz marcuscom-ports-06b73c35ac8be538eecf86967cc9c9156b930386.tar.bz2 marcuscom-ports-06b73c35ac8be538eecf86967cc9c9156b930386.tar.lz marcuscom-ports-06b73c35ac8be538eecf86967cc9c9156b930386.tar.xz marcuscom-ports-06b73c35ac8be538eecf86967cc9c9156b930386.tar.zst marcuscom-ports-06b73c35ac8be538eecf86967cc9c9156b930386.zip |
Fix the build with gtk 2.11.6.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9231 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libglade2/Makefile | 59 | ||||
-rw-r--r-- | devel/libglade2/distinfo | 3 | ||||
-rw-r--r-- | devel/libglade2/files/patch-bug455566 | 10 | ||||
-rw-r--r-- | devel/libglade2/pkg-descr | 3 | ||||
-rw-r--r-- | devel/libglade2/pkg-plist | 21 |
5 files changed, 96 insertions, 0 deletions
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile new file mode 100644 index 000000000..dff669bdf --- /dev/null +++ b/devel/libglade2/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: libglade2 +# Date created: 18 August 1999 +# Whom: Ade Lovett <ade@lovett.com> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= libglade2 +PORTVERSION= 2.6.1 +PORTREVISION?= 0 +CATEGORIES= devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/..$//} +DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME glade library + +USE_BZIP2= yes + +.if !defined(REFERENCE_PORT) + +RUN_DEPENDS= xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr + +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomehack libxml2 gtk20 referencehack +USE_LDCONFIG= yes +CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ + --disable-gtk-doc \ + --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +PLIST_SUB= XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \ + CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports" + +.if !defined(WITHOUT_PYTHON) +BUILD_DEPENDS+= ${PYEXPAT} +RUN_DEPENDS+= ${PYEXPAT} + +USE_PYTHON= yes +PLIST_SUB+= PYTHON="" +.else +PLIST_SUB+= PYTHON="@comment " + +post-patch: + @${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \ + ${WRKSRC}/configure +.endif + +post-install: + ${MKDIR} ${PREFIX}/lib/libglade/2.0 + +.include <bsd.port.mk> + +.endif diff --git a/devel/libglade2/distinfo b/devel/libglade2/distinfo new file mode 100644 index 000000000..680ec5862 --- /dev/null +++ b/devel/libglade2/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/libglade-2.6.1.tar.bz2) = 489be887b26b9973f77e2c6111ab7d5a +SHA256 (gnome2/libglade-2.6.1.tar.bz2) = 94c33ffe748c849021358c1e9f758c1fd5f1abda00ba6776975837f42c730cf2 +SIZE (gnome2/libglade-2.6.1.tar.bz2) = 346536 diff --git a/devel/libglade2/files/patch-bug455566 b/devel/libglade2/files/patch-bug455566 new file mode 100644 index 000000000..186f7f998 --- /dev/null +++ b/devel/libglade2/files/patch-bug455566 @@ -0,0 +1,10 @@ +--- glade/Makefile.in- 2007-07-21 11:48:15.000000000 -0400 ++++ glade/Makefile.in 2007-07-21 11:50:14.000000000 -0400 +@@ -241,7 +241,6 @@ + -DG_DISABLE_DEPRECATED \ + -DGDK_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED \ +- -DGTK_DISABLE_DEPRECATED \ + -DGNOME_DISABLE_DEPRECATED + + glademoduledir = $(libdir)/libglade/2.0 diff --git a/devel/libglade2/pkg-descr b/devel/libglade2/pkg-descr new file mode 100644 index 000000000..7335dd1ea --- /dev/null +++ b/devel/libglade2/pkg-descr @@ -0,0 +1,3 @@ +LibGlade allows GLADE interfaces to be handled at runtime, freeing +GUI development from code development. This allows an interface to +be changed without requiring a re-compilation. diff --git a/devel/libglade2/pkg-plist b/devel/libglade2/pkg-plist new file mode 100644 index 000000000..b11977d29 --- /dev/null +++ b/devel/libglade2/pkg-plist @@ -0,0 +1,21 @@ +%%PYTHON%%bin/libglade-convert +include/libglade-2.0/glade/glade-build.h +include/libglade-2.0/glade/glade-init.h +include/libglade-2.0/glade/glade-parser.h +include/libglade-2.0/glade/glade-xml.h +include/libglade-2.0/glade/glade.h +lib/libglade-2.0.a +lib/libglade-2.0.la +lib/libglade-2.0.so +lib/libglade-2.0.so.0 +libdata/pkgconfig/libglade-2.0.pc +share/xml/libglade/glade-2.0.dtd +@unexec %%XMLCATALOG%% --noout --del %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true +@exec %%XMLCATALOG%% --noout --add "system" "http://glade.gnome.org/glade-2.0.dtd" %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true +@exec mkdir -p %D/lib/libglade/2.0 +@dirrm share/xml/libglade +@dirrm include/libglade-2.0/glade +@dirrm include/libglade-2.0 +@dirrm lib/libglade/2.0 +@dirrm lib/libglade +@unexec /bin/rmdir %D/share/xml 2>/dev/null || /usr/bin/true |