summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-20 18:36:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-20 18:36:18 +0000
commitf14eeadec8634d5298a4315b5aa6f9bed2c4d4e1 (patch)
treecb940d507b7c1a20fe285d828a3765a3eacaed98 /graphics/xfig
parentFix dependency. (diff)
- 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/Makefile10
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>