aboutsummaryrefslogtreecommitdiff
path: root/devel/doc++
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:27:08 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 00:27:08 +0000
commite66bdf069c9b0e8b6ad8f02d6a66c89f76b8658d (patch)
tree68c3b8e8630bbe042cb3513f86a01d9076fa3a22 /devel/doc++
parent90e27a32eeb5a90be20bb79d66a32fdde425a878 (diff)
[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>
Notes
Notes: svn path=/head/; revision=88124
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