diff options
author | Steve Price <steve@FreeBSD.org> | 2000-01-29 21:47:59 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-01-29 21:47:59 +0000 |
commit | 72bea3c3d10157fae158abf4de67f1e38250c4a0 (patch) | |
tree | 0f0f25f55d43ef680053fc10c745fd9f98068c0c /graphics/xfig/Makefile | |
parent | 89807e71a70da5e1fbedcd2bf99d09a33d620c8f (diff) | |
download | ports-72bea3c3d10157fae158abf4de67f1e38250c4a0.tar.gz ports-72bea3c3d10157fae158abf4de67f1e38250c4a0.zip |
Notes
Diffstat (limited to 'graphics/xfig/Makefile')
-rw-r--r-- | graphics/xfig/Makefile | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index 4801bce5905f..ba4a2bc21ea7 100644 --- a/graphics/xfig/Makefile +++ b/graphics/xfig/Makefile @@ -20,28 +20,18 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \ Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig -.if defined(WANT_GS_SUPPORT) -RUN_DEPENDS+= gs:${PORTSDIR}/print/ghostscript5 -.endif - USE_IMAKE= yes MAN1= xfig.1 pre-fetch: -.if !defined(WANT_GS_SUPPORT) - @${ECHO_MSG} "" - @${ECHO_MSG} "If you would like build xfig with Ghostscript support" - @${ECHO_MSG} "you must set the variable WANT_GS_SUPPORT" - @${ECHO_MSG} "" -.else - @${ECHO_MSG} "" - @${ECHO_MSG} "Building xfig with Ghostscript support" - @${ECHO_MSG} "" +.if !defined(NO_GSBIT) + @${ECHO_MSG} "To build this port without Ghostscript support," + @${ECHO_MSG} "define \"NO_GSBIT\"." .endif post-patch: @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile -.if !defined(WANT_GS_SUPPORT) +.if defined(NO_GSBIT) @${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile .endif |