summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtb <jtb>2001-01-27 08:24:42 +0000
committerjtb <jtb>2001-01-27 08:24:42 +0000
commitac0626f8e73214142c6aa72b003dd1e949c5ba72 (patch)
tree34560ef6b6876ce4fe8d18cdcbbccd713e2f3d27
parentaf4b841b2c96ead336d2c4acf2ec7ed9ca620a3f (diff)
downloadpkgsrc-ac0626f8e73214142c6aa72b003dd1e949c5ba72.tar.gz
Use .for instead of for.
-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