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