diff options
author | pav <pav@FreeBSD.org> | 2004-08-21 02:36:18 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-21 02:36:18 +0800 |
commit | d7efb59c0d8638a36211503649f9a6205dfa192d (patch) | |
tree | 89035270c1b0f102efde8409bb4c298ff7c75e10 /graphics/xfig-devel | |
parent | b1cb5d1cd760a86b900dbf2f7a85cc4cce26c2a9 (diff) | |
download | freebsd-ports-gnome-d7efb59c0d8638a36211503649f9a6205dfa192d.tar.gz freebsd-ports-gnome-d7efb59c0d8638a36211503649f9a6205dfa192d.tar.zst freebsd-ports-gnome-d7efb59c0d8638a36211503649f9a6205dfa192d.zip |
- Convert to OPTIONS
PR: ports/70716
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'graphics/xfig-devel')
-rw-r--r-- | graphics/xfig-devel/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/xfig-devel/Makefile b/graphics/xfig-devel/Makefile index bc87a7b24129..bb470eced77a 100644 --- a/graphics/xfig-devel/Makefile +++ b/graphics/xfig-devel/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> |