diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 18:36:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 18:36:18 +0000 |
commit | f14eeadec8634d5298a4315b5aa6f9bed2c4d4e1 (patch) | |
tree | cb940d507b7c1a20fe285d828a3765a3eacaed98 /graphics/xfig | |
parent | f22db4a5edd97ebb1d14c55fc0994bbb05a35dfe (diff) | |
download | ports-f14eeadec8634d5298a4315b5aa6f9bed2c4d4e1.tar.gz ports-f14eeadec8634d5298a4315b5aa6f9bed2c4d4e1.zip |
- Convert to OPTIONS
PR: ports/70716
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Notes
Notes:
svn path=/head/; revision=116812
Diffstat (limited to 'graphics/xfig')
-rw-r--r-- | graphics/xfig/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index bc87a7b24129..bb470eced77a 100644 --- a/graphics/xfig/Makefile +++ b/graphics/xfig/Makefile @@ -33,11 +33,9 @@ MAN1= xfig.1 INSTALL_TARGET= install install.all .endif -pre-everything:: -.if !defined(WITHOUT_GHOSTSCRIPT) - @${ECHO_MSG} "To build this port without Ghostscript support," - @${ECHO_MSG} "define \"WITHOUT_GHOSTSCRIPT\"." -.endif +OPTIONS= GHOSTSCRIPT "Ghostscript support" on + +.include <bsd.port.pre.mk> post-extract: @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} @@ -47,4 +45,4 @@ post-patch: @${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |