summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk13/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk13/Makefile')
-rw-r--r--x11-toolkits/gtk13/Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/x11-toolkits/gtk13/Makefile b/x11-toolkits/gtk13/Makefile
index 40a7679..491e798 100644
--- a/x11-toolkits/gtk13/Makefile
+++ b/x11-toolkits/gtk13/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: gtk12
+# New ports collection makefile for: gtk13
# Date Created: 28 Sep 1997
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
#
@@ -6,37 +6,37 @@
#
PORTNAME= gtk
-PORTVERSION= 1.2.8
+PORTVERSION= 1.3.1
CATEGORIES= x11-toolkits
-MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/v1.2/ \
- ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.2/ \
- http://www.ameth.org/gimp/gtk/v1.2/
+MASTER_SITES= ftp://ftp.gimp.org/pub/gtk/v1.3/ \
+ ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.3/ \
+ http://www.ameth.org/gimp/gtk/v1.3/
DISTNAME= gtk+-${PORTVERSION}
MAINTAINER= vanilla@FreeBSD.org
-LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 \
+LIB_DEPENDS= glib-1.3.1:${PORTSDIR}/devel/glib13 \
+ pango.0:${PORTSDIR}/x11-toolkits/pango \
+ png.4:${PORTSDIR}/graphics/png \
+ tiff.4:${PORTSDIR}/graphics/tiff \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ Xpm.4:${PORTSDIR}/graphics/xpm \
intl.1:${PORTSDIR}/devel/gettext
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-
USE_X_PREFIX= yes
USE_PERL5= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-LIBTOOLFLAGS= --disable-ltlibs --release-suffix
-CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- X_CFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- LIBS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= gtk-config-2.0.1
-MAN1= gtk12-config.1
+post-extract:
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${GREP} -l lgmodule | \
+ xargs ${PERL} -pi -e 's|-lgmodule|\@GMODULE_LIBS\@|g'
pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*
-post-install:
- @${MKDIR} ${PREFIX}/lib/gtk/themes/engines
-
.include <bsd.port.mk>
OpenPOWER on IntegriCloud