summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-01-27 08:24:42 +0000
committerjtb <jtb@pkgsrc.org>2001-01-27 08:24:42 +0000
commitc6c834c2fd04a402ced71334cc8f48a11b966ada (patch)
tree34560ef6b6876ce4fe8d18cdcbbccd713e2f3d27 /graphics
parent9dbfbcf7e16b782c842faa6f306107aeb61c0da2 (diff)
downloadpkgsrc-c6c834c2fd04a402ced71334cc8f48a11b966ada.tar.gz
Use .for instead of for.
Diffstat (limited to 'graphics')
-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