diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile index 51a9d521f275..3a2a12a6cfc1 100644 --- a/devel/libglade2/Makefile +++ b/devel/libglade2/Makefile @@ -1,6 +1,5 @@ # Created by: Ade Lovett # $FreeBSD$ -# $MCom: ports/devel/libglade2/Makefile,v 1.26 2007/08/01 16:13:48 mezz Exp $ PORTNAME= libglade2 PORTVERSION= 2.6.4 @@ -13,16 +12,22 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME glade library +LICENSE= LGPL20 + +LIB_DEPENDS= libfreetype.so:print/freetype2 \ + libfontconfig.so:x11-fonts/fontconfig + USES= tar:bzip2 .if !defined(REFERENCE_PORT) RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr -GNU_CONFIGURE= yes -USES+= gmake libtool:keepla pathfix pkgconfig -USE_GNOME= libxml2 gtk20 referencehack +USES+= gmake gnome libtool:keepla pathfix pkgconfig +USE_GNOME= cairo gdkpixbuf2 libxml2 gtk20 referencehack USE_LDCONFIG= yes + +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ --disable-gtk-doc \ --with-xml-catalog=${LOCALBASE}/share/xml/catalog.ports @@ -42,11 +47,15 @@ USES+= python:2.7 PLIST_SUB+= PYTHON="" .else PLIST_SUB+= PYTHON="@comment " +.endif -post-patch: +post-patch-PYTHON-off: @${REINPLACE_CMD} -E 's/in (python.*)+ none/in none/' \ ${WRKSRC}/configure -.endif + +post-patch: + @${REINPLACE_CMD} -e 's|glib-2.0|gmodule-2.0 glib-2.0|g' \ + ${WRKSRC}/configure post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/libglade/2.0 diff --git a/devel/libglade2/pkg-plist b/devel/libglade2/pkg-plist index 0deb6525edc7..a96e03c04c68 100644 --- a/devel/libglade2/pkg-plist +++ b/devel/libglade2/pkg-plist @@ -11,6 +11,6 @@ lib/libglade-2.0.so.0 lib/libglade-2.0.so.0.0.7 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 +@postunexec %%XMLCATALOG%% --noout --del %D/share/xml/libglade/glade-2.0.dtd %%CATALOG_PORTS_XML%% || /usr/bin/true +@postexec %%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 @dir lib/libglade/2.0