diff options
Diffstat (limited to 'print/ggv2/Makefile')
-rw-r--r-- | print/ggv2/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/print/ggv2/Makefile b/print/ggv2/Makefile new file mode 100644 index 000000000..faa5dbd95 --- /dev/null +++ b/print/ggv2/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: ggv2 +# Date created: 07 July 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/print/ggv2/Makefile,v 1.38 2003/01/19 20:00:00 marcus Exp $ +# + +PORTNAME= ggv2 +PORTVERSION= 1.99.97 +CATEGORIES= print gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.99 +DISTNAME= ggv-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org + +BUILD_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu +LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui +RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack +GNU_CONFIGURE= yes +USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include <bsd.port.mk> |