diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:00:11 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:00:11 +0000 |
commit | 93c6388edb3a0dd4824f0fe233d8876c46c39bae (patch) | |
tree | aa414874fa3cf04de9437990eec7fd4f10d65e30 | |
parent | 656a9479b91ae8dc1a5be278722b438ccda22d57 (diff) | |
download | ports-93c6388edb3a0dd4824f0fe233d8876c46c39bae.tar.gz ports-93c6388edb3a0dd4824f0fe233d8876c46c39bae.zip |
[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
-rw-r--r-- | misc/instant-workstation/Makefile | 16 |
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> |