diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:01:14 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-31 01:01:14 +0000 |
commit | a5975c2b1e165d4a5bf1b9a353f4b33daf896f64 (patch) | |
tree | 2c12974d25b1921fd1e44deb5fb720353875c817 /print | |
parent | 93c6388edb3a0dd4824f0fe233d8876c46c39bae (diff) | |
download | ports-a5975c2b1e165d4a5bf1b9a353f4b33daf896f64.tar.gz ports-a5975c2b1e165d4a5bf1b9a353f4b33daf896f64.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/font2svg/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile index 97ed703d3d54..e2b492d1c38c 100644 --- a/print/font2svg/Makefile +++ b/print/font2svg/Makefile @@ -15,12 +15,26 @@ MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/ MAINTAINER= ports@FreeBSD.org COMMENT= All font to svg-font converter +.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes +GSPORT?= print/ghostscript-afpl +.else +GSPORT?= print/ghostscript-gnu +.endif + RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \ - gs:${PORTSDIR}/print/ghostscript-gnu + gs:${PORTSDIR}/${GSPORT} USE_REINPLACE= 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 + post-patch: @${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \ -e "s|/home/peinecke/cprog/font2svg|${DATADIR}|" \ |