diff options
Diffstat (limited to 'graphics/xfig/Makefile')
-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> |