aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-07-10 08:09:14 +0800
committerdwcjr <dwcjr@FreeBSD.org>2001-07-10 08:09:14 +0800
commita8db2971dc1bf72aeda25b150b5f9ebfc46131ec (patch)
treec3e349fdec2867bfcfb4f0185de1e9396ba66d2a /graphics
parent3b9d608d8f783eac7fb295ebf6399aa18c48e33d (diff)
downloadfreebsd-ports-gnome-a8db2971dc1bf72aeda25b150b5f9ebfc46131ec.tar.gz
freebsd-ports-gnome-a8db2971dc1bf72aeda25b150b5f9ebfc46131ec.tar.zst
freebsd-ports-gnome-a8db2971dc1bf72aeda25b150b5f9ebfc46131ec.zip
Use pre-everything and fix typo
PR: 28843 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xfig-devel/Makefile10
-rw-r--r--graphics/xfig/Makefile10
2 files changed, 10 insertions, 10 deletions
diff --git a/graphics/xfig-devel/Makefile b/graphics/xfig-devel/Makefile
index 4b7ed2ac1220..9c2925df6960 100644
--- a/graphics/xfig-devel/Makefile
+++ b/graphics/xfig-devel/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
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