aboutsummaryrefslogtreecommitdiff
path: root/devel/doc++
diff options
context:
space:
mode:
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