summaryrefslogtreecommitdiff
path: root/graphics/GMT/Makefile
diff options
context:
space:
mode:
authorjtb <jtb>2001-01-27 08:24:42 +0000
committerjtb <jtb>2001-01-27 08:24:42 +0000
commitd3c0a1f9e9cb901aa314cbac3846a2c630eafad4 (patch)
tree34560ef6b6876ce4fe8d18cdcbbccd713e2f3d27 /graphics/GMT/Makefile
parente01d33b6ce1e3edde9e7f47514edf6eb441bb73d (diff)
downloadpkgsrc-d3c0a1f9e9cb901aa314cbac3846a2c630eafad4.tar.gz
Use .for instead of for.
Diffstat (limited to 'graphics/GMT/Makefile')
-rw-r--r--graphics/GMT/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/GMT/Makefile b/graphics/GMT/Makefile
index 9cb34b9e77d..4b1e805ee8a 100644
--- a/graphics/GMT/Makefile
+++ b/graphics/GMT/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/01/27 08:16:00 jtb Exp $
+# $NetBSD: Makefile,v 1.3 2001/01/27 08:24:42 jtb Exp $
DISTNAME= GMT3.3.6
PKGNAME= GMT-3.3.6
@@ -37,6 +37,9 @@ INSTALL_TARGET= install-all
post-extract:
${MV} -f ${WRKSRC}/www/gmt/doc/ps/ ${WRKSRC}
+
+pre-configure:
+ (cd ${WRKSRC} && autoreconf)
for e in ${WRKSRC}/examples/*.bat ${WRKSRC}/examples/*/*.bat; do\
${RM} -f $$e; \
done
@@ -46,14 +49,11 @@ post-extract:
${MV} -f $$h.tmp $$h; \
done
.if exists(${BASH_PREFIX}/bin/bash)
- for b in ${WKRSRC}/examples/*.bash ${WKRSRC}/examples/*/*.bash; do \
- ${SED} -e 's:\/bin:'${BASH_PREFIX}':g' < $$b > $$b.tmp && \
- ${MV} -f $$b.tmp $$b; \
- done
+.for b in ${WKRSRC}/examples/*.bash ${WKRSRC}/examples/*/*.bash
+${SED} -e 's:\/bin:'${BASH_PREFIX}':g' < $$b > $$b.tmp && ${MV} -f $$b.tmp $$b
+.endfor
.endif
-pre-configure:
- (cd ${WRKSRC} && autoreconf)
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gmt