diff options
-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 a7a0459..04f1ae5 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> |