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/pointless | |
parent | [PATCH] print/pnm2ppa: enable choose of ghostscript interpreter (diff) |
[PATCH] misc/pointless: enable choose of ghostscript interpreter
This patch allows the admin of the machine to choose either
print/ghostscript-gnu or print/ghostscript-afp1
PR: ports/54947
Submitted by: Jens Rehsack <rehsack@liwing.de>
Notes
Notes:
svn path=/head/; revision=88143
Diffstat (limited to 'misc/pointless')
-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> |