summaryrefslogtreecommitdiffstats
path: root/x11/gnome-terminal/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-25 12:53:06 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-25 12:53:06 +0800
commit257912c7d00f09a81f51d07312b0f0086233a221 (patch)
tree0487c3687763b5a3ba124f2055c9b2708999655c /x11/gnome-terminal/Makefile
parent1c7f2f4231740e8d3cc6ba599c779ff0337738ef (diff)
downloadmarcuscom-ports-257912c7d00f09a81f51d07312b0f0086233a221.tar
marcuscom-ports-257912c7d00f09a81f51d07312b0f0086233a221.tar.gz
marcuscom-ports-257912c7d00f09a81f51d07312b0f0086233a221.tar.bz2
marcuscom-ports-257912c7d00f09a81f51d07312b0f0086233a221.tar.lz
marcuscom-ports-257912c7d00f09a81f51d07312b0f0086233a221.tar.xz
marcuscom-ports-257912c7d00f09a81f51d07312b0f0086233a221.tar.zst
marcuscom-ports-257912c7d00f09a81f51d07312b0f0086233a221.zip
Update to 2.2.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@428 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-terminal/Makefile')
-rw-r--r--x11/gnome-terminal/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/x11/gnome-terminal/Makefile b/x11/gnome-terminal/Makefile
index 940f70721..08d8405cd 100644
--- a/x11/gnome-terminal/Makefile
+++ b/x11/gnome-terminal/Makefile
@@ -6,17 +6,22 @@
#
PORTNAME= gnometerminal
-PORTVERSION= 2.1.4
+PORTVERSION= 2.2.0
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/gnome-terminal/2.1
+MASTER_SITE_SUBDIR= sources/gnome-terminal/2.2
DISTNAME= gnome-terminal-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
-LIB_DEPENDS= vte.4:${PORTSDIR}/x11-toolkits/vte \
- gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
+LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
+
+.if defined(WITH_ZVT)
+LIB_DEPENDS+= zvt-2.0.0:${PORTSDIR}/x11-toolkits/libzvt
+.else
+LIB_DEPENDS+= vte.4:${PORTSDIR}/x11-toolkits/vte
+.endif
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -25,11 +30,16 @@ USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gnomeprefix gnomehack gnomehier
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --with-widget=vte
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+.if defined(WITH_ZVT)
+CONFIGURE_ARGS= --with-widget=zvt
+.else
+CONFIGURE_ARGS= --with-widget=vte
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure