2002-07-07 18:32:49 -04:00
|
|
|
# New ports collection makefile for: ggv2
|
|
|
|
# Date created: 07 July 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
1998-10-19 10:29:02 -04:00
|
|
|
#
|
1999-08-30 21:53:22 -04:00
|
|
|
# $FreeBSD$
|
1998-10-19 10:29:02 -04:00
|
|
|
#
|
|
|
|
|
2002-07-07 18:32:49 -04:00
|
|
|
PORTNAME= ggv2
|
2002-07-29 21:36:00 -04:00
|
|
|
PORTVERSION= 1.99.9
|
1999-02-02 08:04:06 -05:00
|
|
|
CATEGORIES= print gnome
|
1999-01-27 03:31:54 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2002-07-09 09:50:18 -04:00
|
|
|
MASTER_SITE_SUBDIR= 2.0.0/sources/${PORTNAME:S/2$//}
|
2002-07-07 18:32:49 -04:00
|
|
|
DISTNAME= ggv-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= gnome2
|
1998-10-19 10:29:02 -04:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-10-19 10:29:02 -04:00
|
|
|
|
2002-07-07 18:32:49 -04:00
|
|
|
BUILD_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
|
|
|
|
LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui
|
2001-09-11 17:23:46 -04:00
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
|
1998-10-19 10:29:02 -04:00
|
|
|
|
2002-07-07 18:32:49 -04:00
|
|
|
USE_BZIP2= yes
|
1998-10-19 10:29:02 -04:00
|
|
|
USE_X_PREFIX= yes
|
2001-11-12 07:43:28 -05:00
|
|
|
USE_GMAKE= yes
|
2002-07-29 21:36:00 -04:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack
|
2001-11-12 07:43:28 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2002-07-07 18:32:49 -04:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
1999-05-29 23:43:44 -04:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2001-11-12 07:43:28 -05:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
1998-10-19 10:29:02 -04:00
|
|
|
|
2002-07-29 21:36:00 -04:00
|
|
|
post-patch:
|
2002-07-07 18:32:49 -04:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-03 21:19:21 -04:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
1998-10-19 10:29:02 -04:00
|
|
|
.include <bsd.port.mk>
|