aboutsummaryrefslogtreecommitdiffstats
path: root/devel/doc++
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-31 08:27:08 +0800
committeredwin <edwin@FreeBSD.org>2003-08-31 08:27:08 +0800
commit430989cfc208542df4f35a57e25b57882b7b2f37 (patch)
tree575a2d55ff3b5ade478e0810608de018adc59a9f /devel/doc++
parent33d3cab1c37e40ef70a220d67474d137568f6b01 (diff)
downloadfreebsd-ports-gnome-430989cfc208542df4f35a57e25b57882b7b2f37.tar.gz
freebsd-ports-gnome-430989cfc208542df4f35a57e25b57882b7b2f37.tar.zst
freebsd-ports-gnome-430989cfc208542df4f35a57e25b57882b7b2f37.zip
[PATCH] devel/doc++: 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/54924 Submitted by: Jens Rehsack <rehsack@liwing.de>
Diffstat (limited to 'devel/doc++')
-rw-r--r--devel/doc++/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/doc++/Makefile b/devel/doc++/Makefile
index 3efea0213995..b773b680aabc 100644
--- a/devel/doc++/Makefile
+++ b/devel/doc++/Makefile
@@ -14,8 +14,14 @@ MASTER_SITE_SUBDIR= docpp
MAINTAINER= Ruslan@Shevchenko.Kiev.UA
COMMENT= Javadoc style C++ documentatation system
+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?= print/ghostscript-afpl
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+
RUN_DEPENDS= tex:${PORTSDIR}/print/teTeX \
- gs:${PORTSDIR}/print/ghostscript-gnu \
+ gs:${PORTSDIR}/${GSPORT} \
anytopnm:${PORTSDIR}/graphics/netpbm
GNU_CONFIGURE= yes