diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:15:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:15:03 +0000 |
commit | 0a114fd50128f9ba22b880c5e45ac2bba35ad8e7 (patch) | |
tree | beb86f207af86deb4d128f53c35201c688421422 /misc | |
parent | 224ab15da1317b933e2087f959278c8f755f5d48 (diff) | |
download | ports-0a114fd50128f9ba22b880c5e45ac2bba35ad8e7.tar.gz ports-0a114fd50128f9ba22b880c5e45ac2bba35ad8e7.zip |
Notes
Diffstat (limited to 'misc')
-rw-r--r-- | misc/pointless/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/misc/pointless/Makefile b/misc/pointless/Makefile index c6bbcca29323..9fb44e2d4de3 100644 --- a/misc/pointless/Makefile +++ b/misc/pointless/Makefile @@ -14,8 +14,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= xi@borderworlds.dk COMMENT= Pointless is a presentation tool primarily targeted at the un*x world +.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes +GSPORT?= print/ghostscript-afpl +.else +GSPORT?= print/ghostscript-gnu +.endif + BUILD_DEPENDS= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot \ - ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu \ + ${LOCALBASE}/bin/gs:${PORTSDIR}/${GSPORT} \ ${LOCALBASE}/bin/latex:${PORTSDIR}/print/latex \ ${LOCALBASE}/bin/dvips:${PORTSDIR}/print/dvips \ ${LOCALBASE}/bin/a2ps:${PORTSDIR}/print/a2ps-letter \ @@ -30,4 +36,12 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} MAN1= pointless.1 +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> |