freebsd-ports/print/ggv2/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: ggv2
# Date created: 07 July 2002
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
1999-08-30 21:53:22 -04:00
# $FreeBSD$
#
PORTNAME= ggv2
2003-06-02 21:46:47 -04:00
PORTVERSION= 2.0.1
CATEGORIES= print gnome
1999-01-27 03:31:54 -05:00
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.0
DISTNAME= ggv-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 2 ghostscript viewer
.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}
USE_BZIP2= yes
USE_X_PREFIX= yes
2001-11-12 07:43:28 -05:00
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack libgnomeui
2001-11-12 07:43:28 -05:00
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
2003-06-02 21:46:47 -04:00
LDFLAGS="-L${LOCALBASE}/lib"
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
.include <bsd.port.mk>