summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-07 14:49:22 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2002-10-07 14:49:22 +0800
commitdef3a460a4a00b41640410c88b3c8650a1713ef5 (patch)
tree5c78806e36a32411f05c11d65c5b233c9cde0d99 /x11-toolkits/gtk20/Makefile
parentd6ae9af9fa8bcaf6de4c99ad25a5de5fb8b31ec3 (diff)
downloadmarcuscom-ports-def3a460a4a00b41640410c88b3c8650a1713ef5.tar
marcuscom-ports-def3a460a4a00b41640410c88b3c8650a1713ef5.tar.gz
marcuscom-ports-def3a460a4a00b41640410c88b3c8650a1713ef5.tar.bz2
marcuscom-ports-def3a460a4a00b41640410c88b3c8650a1713ef5.tar.lz
marcuscom-ports-def3a460a4a00b41640410c88b3c8650a1713ef5.tar.xz
marcuscom-ports-def3a460a4a00b41640410c88b3c8650a1713ef5.tar.zst
marcuscom-ports-def3a460a4a00b41640410c88b3c8650a1713ef5.zip
Update to 2.1.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r--x11-toolkits/gtk20/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 7a5411e4c..a69b6d413 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= gtk
-PORTVERSION= 2.0.6
+PORTVERSION= 2.1.0
CATEGORIES= x11-toolkits
-MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.0,} \
+MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.1,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
ftp://ftp.gimp.org/pub/%SUBDIR%/ \
ftp://ftp.cs.umn.edu/pub/gimp/%SUBDIR%/ \
@@ -21,8 +21,8 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
-LIB_DEPENDS= atk-1.0.0:${PORTSDIR}/devel/atk \
- pango-1.0.0:${PORTSDIR}/x11-toolkits/pango \
+LIB_DEPENDS= atk-1.0.100:${PORTSDIR}/devel/atk \
+ pango-1.0.100:${PORTSDIR}/x11-toolkits/pango \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.9:${PORTSDIR}/graphics/jpeg
@@ -35,20 +35,22 @@ USE_REINPLACE= yes
USE_PERL5= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomehack
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-PLIST_SUB= GTK_VERSION="2.0.0"
+PLIST_SUB= GTK_VERSION="2.0.100"
MAN1= gdk-pixbuf-csource.1
-post-extract:
+post-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${GREP} -l lgmodule | \
xargs ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
- @find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \
- 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
+ @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|Xft\.h|Xft2.h|g'
pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*