diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-31 01:00:11 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-31 01:00:11 +0000 |
commit | 0a95deb114721eb6291526a3dfefd5b8a79c2d81 (patch) | |
tree | 97f929330166420420684739cd16365b3d699024 /misc/instant-workstation | |
parent | b18c58201bd6ed87c4be6e599ecce48f47abb0f4 (diff) | |
download | FreeBSD-ports-0a95deb114721eb6291526a3dfefd5b8a79c2d81.zip FreeBSD-ports-0a95deb114721eb6291526a3dfefd5b8a79c2d81.tar.gz |
[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>
Diffstat (limited to 'misc/instant-workstation')
-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> |