summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 4b7ed2ac1220..9c2925df6960 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -30,15 +30,15 @@ MAN1= xfig.1
INSTALL_TARGET= install install.all
.endif
-post-extract:
- @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
-
-pre-fetch:
+pre-everything:
.if !defined(WITHOUT_GHOSTSCRIPT)
@${ECHO_MSG} "To build this port without Ghostscript support,"
- @${ECHO_MSG} "define \"NO_GSBIT\"."
+ @${ECHO_MSG} "define \"WITHOUT_GHOSTSCRIPT\"."
.endif
+post-extract:
+ @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
+
post-patch:
.if defined(WITHOUT_GHOSTSCRIPT)
@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile