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
|
2003-06-02 21:46:47 -04:00
|
|
|
PORTVERSION= 2.0.1
|
1999-02-02 08:04:06 -05:00
|
|
|
CATEGORIES= print gnome
|
1999-01-27 03:31:54 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2003-04-14 14:57:51 -04:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.0
|
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
|
2003-04-14 14:57:51 -04:00
|
|
|
COMMENT= GNOME 2 ghostscript viewer
|
1998-10-19 10:29:02 -04:00
|
|
|
|
2003-08-30 21:08:35 -04:00
|
|
|
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
|
|
|
GSPORT?= print/ghostscript-afpl
|
|
|
|
.else
|
|
|
|
GSPORT?= print/ghostscript-gnu
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILD_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
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
|
2003-04-14 14:57:51 -04:00
|
|
|
USE_GNOME= gnomeprefix gnomehack libgnomeui
|
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" \
|
2003-06-02 21:46:47 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-08-03 21:19:21 -04:00
|
|
|
|
2003-08-30 21:08:35 -04:00
|
|
|
pre-fetch:
|
|
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
|
|
@${ECHO} " AFPL Postscript interpreter instead of GNU one"
|
|
|
|
@${ECHO} ""
|
|
|
|
.endif
|
|
|
|
|
1998-10-19 10:29:02 -04:00
|
|
|
.include <bsd.port.mk>
|