diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-31 01:15:03 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-31 01:15:03 +0000 |
commit | 4b522a6238f02428bc4270e016edb8c1d97d4acb (patch) | |
tree | 6a80048aae69b21adce4335d73d313ee1a6b2910 /misc/pointless | |
parent | 1c725c87f23d406547c565ec697d7188e53ff50f (diff) | |
download | FreeBSD-ports-4b522a6238f02428bc4270e016edb8c1d97d4acb.zip FreeBSD-ports-4b522a6238f02428bc4270e016edb8c1d97d4acb.tar.gz |
[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>
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 c6bbcca..9fb44e2 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> |