summaryrefslogtreecommitdiff
path: root/misc/instant-workstation
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 01:00:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 01:00:11 +0000
commit93c6388edb3a0dd4824f0fe233d8876c46c39bae (patch)
treeaa414874fa3cf04de9437990eec7fd4f10d65e30 /misc/instant-workstation
parent[PATCH] mbone/wb: enable choose of ghostscript interpreter (diff)
[PATCH] misc/instant-workstation: 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/54939 Submitted by: Jens Rehsack <rehsack@liwing.de>
Notes
Notes: svn path=/head/; revision=88136
Diffstat (limited to 'misc/instant-workstation')
-rw-r--r--misc/instant-workstation/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/misc/instant-workstation/Makefile b/misc/instant-workstation/Makefile
index a7a0459f14cf..04f1ae5f89a3 100644
--- a/misc/instant-workstation/Makefile
+++ b/misc/instant-workstation/Makefile
@@ -14,13 +14,19 @@ MASTER_SITES= ftp://ftp.lemis.com/pub/
MAINTAINER= grog@lemis.com
COMMENT= Instant workstation installs a typical set of ports for a workstation
+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?= print/ghostscript-afpl
+.else
+GSPORT?= print/ghostscript-gnu
+.endif
+
RUN_DEPENDS= acroread:${PORTSDIR}/print/acroread5 \
bash:${PORTSDIR}/shells/bash2 \
cdrecord:${PORTSDIR}/sysutils/cdrtools \
dos2unix:${PORTSDIR}/converters/unix2dos \
emacs:${PORTSDIR}/editors/emacs20 \
fetchmail:${PORTSDIR}/mail/fetchmail \
- gs:${PORTSDIR}/print/ghostscript-gnu \
+ gs:${PORTSDIR}/${GSPORT} \
grip:${PORTSDIR}/audio/grip \
gimp:${PORTSDIR}/graphics/gimp1 \
gv:${PORTSDIR}/print/gv \
@@ -39,4 +45,12 @@ RUN_DEPENDS= acroread:${PORTSDIR}/print/acroread5 \
NO_WRKSUBDIR= YES
NO_BUILD= YES
+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>