2002-05-03 17:42:03 +02:00
|
|
|
# New ports collection makefile for: gnometerminal
|
|
|
|
# Date created: 1 May 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnometerminal
|
2003-02-07 19:42:25 +01:00
|
|
|
PORTVERSION= 2.2.1
|
2002-05-03 17:42:03 +02:00
|
|
|
CATEGORIES= x11 gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2003-02-07 19:42:25 +01:00
|
|
|
MASTER_SITE_SUBDIR= sources/gnome-terminal/2.2
|
2002-05-03 17:42:03 +02:00
|
|
|
DISTNAME= gnome-terminal-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= gnome2
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 07:36:20 +01:00
|
|
|
COMMENT= Terminal component for the GNOME 2.0 Desktop
|
2002-05-03 17:42:03 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
2002-06-26 11:18:37 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-05-03 17:42:03 +02:00
|
|
|
USE_GMAKE= yes
|
2003-04-22 06:46:36 +02:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui
|
2002-05-03 17:42:03 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2003-02-07 19:42:25 +01:00
|
|
|
.if defined(WITH_ZVT)
|
|
|
|
CONFIGURE_ARGS= --with-widget=zvt
|
2003-04-22 06:46:36 +02:00
|
|
|
USE_GNOME+= libzvt
|
2003-02-07 19:42:25 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --with-widget=vte
|
2003-04-22 06:46:36 +02:00
|
|
|
USE_GNOME+= vte
|
2003-02-07 19:42:25 +01:00
|
|
|
.endif
|
|
|
|
|
2002-08-05 06:04:24 +02:00
|
|
|
post-patch:
|
2002-06-26 11:18:37 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2002-05-03 17:42:03 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|