summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-10 00:09:14 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-07-10 00:09:14 +0000
commit2c0c8003ec7a625d68bf54cb3ae9aa8ab8163c29 (patch)
tree69c7352cccd56bf8f09daee5e8638865fd497618 /graphics/xfig
parentUpdate to version 3.2.3d (diff)
Use pre-everything and fix typo
PR: 28843 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=44986
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