diff options
-rw-r--r-- | biology/chemtool/Makefile | 13 | ||||
-rw-r--r-- | devel/haskell-mode/Makefile | 10 | ||||
-rw-r--r-- | devel/libctl/Makefile | 13 | ||||
-rw-r--r-- | graphics/geomview/Makefile | 4 | ||||
-rw-r--r-- | graphics/pgraf/Makefile | 8 | ||||
-rw-r--r-- | graphics/plotmtv/Makefile | 4 | ||||
-rw-r--r-- | graphics/plplot/Makefile | 59 | ||||
-rw-r--r-- | graphics/yplot/Makefile | 14 | ||||
-rw-r--r-- | lang/sml-nj/Makefile | 6 | ||||
-rw-r--r-- | mail/etach/Makefile | 9 | ||||
-rw-r--r-- | math/admesh/Makefile | 8 | ||||
-rw-r--r-- | math/aribas/Makefile | 12 | ||||
-rw-r--r-- | math/mcsim/Makefile | 18 | ||||
-rw-r--r-- | math/meschach/Makefile | 38 | ||||
-rw-r--r-- | math/metis/Makefile | 22 | ||||
-rw-r--r-- | math/odepack/Makefile | 5 | ||||
-rw-r--r-- | math/quadpack/Makefile | 6 | ||||
-rw-r--r-- | math/rlab/Makefile | 16 | ||||
-rw-r--r-- | math/slatec/Makefile | 5 | ||||
-rw-r--r-- | math/tela/Makefile | 6 | ||||
-rw-r--r-- | math/tochnog/Makefile | 12 | ||||
-rw-r--r-- | math/udunits/Makefile | 4 | ||||
-rw-r--r-- | shells/esh/Makefile | 11 | ||||
-rw-r--r-- | www/w3/Makefile | 12 |
24 files changed, 123 insertions, 192 deletions
diff --git a/biology/chemtool/Makefile b/biology/chemtool/Makefile index b78e1d30599..a9fac5e2f86 100644 --- a/biology/chemtool/Makefile +++ b/biology/chemtool/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/04/14 21:43:59 jtb Exp $ +# $NetBSD: Makefile,v 1.8 2001/04/28 23:59:18 jtb Exp $ DISTNAME= chemtool-1.3 CATEGORIES= biology @@ -14,14 +14,9 @@ MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/chemtool - @for f in ${WRKSRC}/examples/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/chemtool/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/chemtool ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chemtool - @for f in README TODO; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/chemtool/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} README TODO \ + ${PREFIX}/share/doc/chemtool/ .include "../../mk/bsd.pkg.mk" diff --git a/devel/haskell-mode/Makefile b/devel/haskell-mode/Makefile index 3e41d50dbc7..1041937d475 100644 --- a/devel/haskell-mode/Makefile +++ b/devel/haskell-mode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:40 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/28 23:59:18 jtb Exp $ DISTNAME= haskell-mode-20001129 CATEGORIES= devel editors @@ -22,7 +22,7 @@ EMACS= emacs LISPDIR= share/emacs/site-lisp/haskell-mode .endif -PLIST_SUBST+= LISPDIR="${LISPDIR}" +PLIST_SUBST+= LISPDIR=${LISPDIR} SRCS= haskell-doc.el haskell-mode.el haskell-font-lock.el \ haskell-simple-indent.el haskell-hugs.el haskell-decl-scan.el \ @@ -35,9 +35,7 @@ do-build: do-install: ${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR} - @for f in ${SRCS} ${SRCS:.el=.elc} ; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/${LISPDIR}"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \ + ${PREFIX}/${LISPDIR} .include "../../mk/bsd.pkg.mk" diff --git a/devel/libctl/Makefile b/devel/libctl/Makefile index 490917495a8..9c76d5f1f49 100644 --- a/devel/libctl/Makefile +++ b/devel/libctl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/04/14 21:43:40 jtb Exp $ +# $NetBSD: Makefile,v 1.9 2001/04/28 23:59:18 jtb Exp $ DISTNAME= libctl-1.4 CATEGORIES= devel @@ -14,13 +14,8 @@ GNU_CONFIGURE= #defined post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libctl - @for f in ${WRKSRC}/doc/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/libctl/"; \ - ${ECHO} $$i; $$i; \ - done - @for f in COPYING COPYRIGHT ChangeLog NEWS README ; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/libctl/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/libctl/ + cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYRIGHT ChangeLog \ + NEWS README ${PREFIX}/share/doc/libctl/ .include "../../mk/bsd.pkg.mk" diff --git a/graphics/geomview/Makefile b/graphics/geomview/Makefile index 5b92ba9d0e2..958f6112059 100644 --- a/graphics/geomview/Makefile +++ b/graphics/geomview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:43 jtb Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/28 23:59:18 jtb Exp $ DISTNAME= geomview-1.8.1 CATEGORIES= graphics math @@ -19,7 +19,7 @@ EVAL_PREFIX+= MESA_PREFIX=Mesa CONFIGURE_ARGS+= --without-xforms CONFIGURE_ARGS+= --with-opengl=${MESA_PREFIX} CONFIGURE_ARGS+= --with-motif=${MOTIFBASE} -CONFIGURE_ENV+= "CPPFLAGS=-Dunix -Dalloca=__builtin_alloca" +CONFIGURE_ENV+= CPPFLAGS="-Dunix -Dalloca=__builtin_alloca" INFO_FILES= geomview diff --git a/graphics/pgraf/Makefile b/graphics/pgraf/Makefile index 904e21577fc..163bc8ddad7 100644 --- a/graphics/pgraf/Makefile +++ b/graphics/pgraf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:44 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/28 23:59:19 jtb Exp $ DISTNAME= pgraf-20010131 CATEGORIES= graphics @@ -20,9 +20,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/man/man3/pgraf.3 ${PREFIX}/man/man3 ${INSTALL_DATA} ${WRKSRC}/man/man5/pgraf.5 ${PREFIX}/man/man5 ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pgraf - @for f in ${WRKSRC}/metagens/*.r ${WRKSRC}/tests/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/pgraf/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/metagens/*.r ${WRKSRC}/tests/* \ + ${PREFIX}/share/examples/pgraf/ .include "../../mk/bsd.pkg.mk" diff --git a/graphics/plotmtv/Makefile b/graphics/plotmtv/Makefile index 031900dbfd0..287f398cbf6 100644 --- a/graphics/plotmtv/Makefile +++ b/graphics/plotmtv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:45 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/28 23:59:19 jtb Exp $ DISTNAME= Plotmtv1.4.1 PKGNAME= plotmtv-1.4.1 @@ -21,6 +21,6 @@ post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/plotmtv ${INSTALL_DATA} ${WRKSRC}/Tests/*.mtv ${PREFIX}/share/examples/plotmtv ${INSTALL_SCRIPT} ${WRKSRC}/Tests/run.sh ${WRKSRC}/Tests/run.csh \ - ${PREFIX}/share/examples/plotmtv + ${PREFIX}/share/examples/plotmtv .include "../../mk/bsd.pkg.mk" diff --git a/graphics/plplot/Makefile b/graphics/plplot/Makefile index 48d01f48f9b..cfb96c52168 100644 --- a/graphics/plplot/Makefile +++ b/graphics/plplot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2001/04/14 21:43:45 jtb Exp $ +# $NetBSD: Makefile,v 1.15 2001/04/28 23:59:19 jtb Exp $ DISTNAME= plplot-5.0.3 CATEGORIES= graphics @@ -21,38 +21,37 @@ USE_X11= #defined EVAL_PREFIX+= TK_PREFIX=tk TCL_PREFIX=tcl -CONFIGURE_ENV+= "BIN_DIR=${PREFIX}/bin" -CONFIGURE_ENV+= "LIB_DIR=${PREFIX}/lib" -CONFIGURE_ENV+= "INCLUDE_DIR=${PREFIX}/include/plplot" -CONFIGURE_ENV+= "DATA_DIR=${PREFIX}/libdata/plplot" -CONFIGURE_ENV+= "DOC_DIR=${PREFIX}/share/doc/plplot" -CONFIGURE_ENV+= "DEMOS_DIR=${PREFIX}/share/examples/plplot" -CONFIGURE_ENV+= "TCL_DIR=${PREFIX}/lib/tcl/plplot" -CONFIGURE_ENV+= "TKINCDIR=${TK_PREFIX}/include" -CONFIGURE_ENV+= "TKLIBDIR=${TK_PREFIX}/lib" -CONFIGURE_ENV+= "TCLINCDIR=${TCL_PREFIX}/include" -CONFIGURE_ENV+= "TCLLIBDIR=${TCL_PREFIX}/lib" -CONFIGURE_ENV+= "USER_FLAGS_C=${CFLAGS}" -CONFIGURE_ENV+= "USER_FLAGS_LC=${LDFLAGS}" -CONFIGURE_ENV+= "USER_FLAGS_CXX=${CXXFLAGS}" -CONFIGURE_ENV+= "USER_FLAGS_LCXX=${LDFLAGS}" -CONFIGURE_ENV+= "USER_FLAGS_F=${FFLAGS}" -CONFIGURE_ENV+= "USER_FLAGS_LF=${LDLAGS}" +CONFIGURE_ENV+= BIN_DIR="${PREFIX}/bin" +CONFIGURE_ENV+= LIB_DIR="${PREFIX}/lib" +CONFIGURE_ENV+= INCLUDE_DIR="${PREFIX}/include/plplot" +CONFIGURE_ENV+= DATA_DIR="${PREFIX}/libdata/plplot" +CONFIGURE_ENV+= DOC_DIR="${PREFIX}/share/doc/plplot" +CONFIGURE_ENV+= DEMOS_DIR="${PREFIX}/share/examples/plplot" +CONFIGURE_ENV+= TCL_DIR="${PREFIX}/lib/tcl/plplot" +CONFIGURE_ENV+= TKINCDIR="${TK_PREFIX}/include" +CONFIGURE_ENV+= TKLIBDIR="${TK_PREFIX}/lib" +CONFIGURE_ENV+= TCLINCDIR="${TCL_PREFIX}/include" +CONFIGURE_ENV+= TCLLIBDIR="${TCL_PREFIX}/lib" +CONFIGURE_ENV+= USER_FLAGS_C="${CFLAGS}" +CONFIGURE_ENV+= USER_FLAGS_LC="${LDFLAGS}" +CONFIGURE_ENV+= USER_FLAGS_CXX="${CXXFLAGS}" +CONFIGURE_ENV+= USER_FLAGS_LCXX="${LDFLAGS}" +CONFIGURE_ENV+= USER_FLAGS_F="${FFLAGS}" +CONFIGURE_ENV+= USER_FLAGS_LF="${LDLAGS}" -CONFIGURE_ARGS+="--with-double" -CONFIGURE_ARGS+="--enable-xwin" -CONFIGURE_ARGS+="--enable-tcl" -CONFIGURE_ARGS+="--enable-tk" -CONFIGURE_ARGS+="--without-shlib" -CONFIGURE_ARGS+="--disable-python" -CONFIGURE_ARGS+="--disable-itcl" -CONFIGURE_ARGS+="--disable-dp" +CONFIGURE_ARGS+=--with-double +CONFIGURE_ARGS+=--enable-xwin +CONFIGURE_ARGS+=--enable-tcl +CONFIGURE_ARGS+=--enable-tk +CONFIGURE_ARGS+=--without-shlib +CONFIGURE_ARGS+=--disable-python +CONFIGURE_ARGS+=--disable-itcl +CONFIGURE_ARGS+=--disable-dp post-patch: - for f in ${WRKSRC}/src/plctrl.c; do \ - ${SED} -e 's:@PREFIX@:'${PREFIX}':g' \ - $$f > $$f.tmp && ${MV} $$f.tmp $$f; \ - done + ${MV} -f ${WRKSRC}/src/plctrl.c ${WRKSRC}/src/plctrl.c.dist + ${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${WRKSRC}/src/plctrl.c.dist \ + > ${WRKSRC}/src/plctrl.c pre-configure: (cd ${WRKSRC}/cf && ${LOCALBASE}/bin/autoconf) diff --git a/graphics/yplot/Makefile b/graphics/yplot/Makefile index c9bebd69df2..32156c6e108 100644 --- a/graphics/yplot/Makefile +++ b/graphics/yplot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/04/14 21:43:46 jtb Exp $ +# $NetBSD: Makefile,v 1.6 2001/04/28 23:59:19 jtb Exp $ DISTNAME= yplot-1.0.3 CATEGORIES= graphics math @@ -24,19 +24,13 @@ pre-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/yplot ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/yplotl ${PREFIX}/bin - @for f in yplot.i yplotl.i yplot_body.i; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f \ - ${PREFIX}/share/yorick/1.4/startup/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} yplot.i yplotl.i yplot_body.i \ + ${PREFIX}/share/yorick/1.4/startup/ ${INSTALL_DATA} ${WRKSRC}/doc/yplot.doc \ ${PREFIX}/share/yorick/1.4/doc/ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yplot ${INSTALL_DATA} ${WRKSRC}/doc/ytut.ps ${PREFIX}/share/doc/yplot ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/yplot - @for f in ${WRKSRC}/doc/*.i; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/yplot/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/doc/*.i ${PREFIX}/share/examples/yplot/ .include "../../mk/bsd.pkg.mk" diff --git a/lang/sml-nj/Makefile b/lang/sml-nj/Makefile index 725c268f225..ca1192de396 100644 --- a/lang/sml-nj/Makefile +++ b/lang/sml-nj/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/03/20 09:43:21 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2001/04/28 23:59:17 jtb Exp $ # FreeBSD Id: ports/lang/sml-nj/Makefile,v 1.9 1999/08/25 06:35:27 obrien Exp DISTNAME= ${SML_VERSION}-bin.${BOX}-unix @@ -81,14 +81,14 @@ do-install: ${GTAR} -C ${WRKDIR} -cf - bin | ${GTAR} -C ${SML_BASE} -xf - ${RM} -f ${SML_BINDIR}/.run-sml ${SED} -e "s,^BIN_DIR=.*\$$,BIN_DIR=${SML_BINDIR}," \ - < ${WRKDIR}/bin/.run-sml > ${SML_BINDIR}/.run-sml + ${WRKDIR}/bin/.run-sml > ${SML_BINDIR}/.run-sml ${CHMOD} 755 ${SML_BINDIR}/.run-sml cd ${WRKDIR} && ${GTAR} -cf - `${FIND} . -name '*.stable' | \ ${GREP} CM` | ${GTAR} -C ${SML_BASE} -xf - cd ${WRKDIR} && ${GTAR} -cf - `${SCRIPTDIR}/get-cm ${WRKDIR}` | \ ${GTAR} -C ${SML_BASE} -xf - for file in ${WRKDIR}/lib/*; do\ - ${SED} -e "s,${WRKDIR},${SML_BASE}," < $$file > \ + ${SED} -e "s,${WRKDIR},${SML_BASE}," $$file > \ ${SML_LIBDIR}/`${BASENAME} $$file`; \ done .for file in ${SML_EXES} diff --git a/mail/etach/Makefile b/mail/etach/Makefile index f9ee44271aa..4792f3b2f14 100644 --- a/mail/etach/Makefile +++ b/mail/etach/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/04/14 21:43:48 jtb Exp $ +# $NetBSD: Makefile,v 1.4 2001/04/28 23:59:19 jtb Exp $ DISTNAME= etach-1.1.6 CATEGORIES= mail @@ -27,10 +27,7 @@ do-install: ${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR} ${INSTALL_DATA} ${WRKSRC}/etach.el ${PREFIX}/${LISPDIR} ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/etach - @for t in ${WRKSRC}/README.txt ${WRKSRC}/FAQ.txt \ - ${WRKSRC}/LICENSE.txt; do \ - c="${INSTALL_DATA} $$t ${PREFIX}/share/doc/etach/"; \ - ${ECHO} $$c; $$c; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} README.txt FAQ.txt LICENSE.txt \ + ${PREFIX}/share/doc/etach/ .include "../../mk/bsd.pkg.mk" diff --git a/math/admesh/Makefile b/math/admesh/Makefile index 3f97bb48578..66ac481981b 100644 --- a/math/admesh/Makefile +++ b/math/admesh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/04/14 21:43:50 jtb Exp $ +# $NetBSD: Makefile,v 1.4 2001/04/28 23:59:20 jtb Exp $ DISTNAME= admesh-0.95 CATEGORIES= math @@ -13,10 +13,8 @@ GNU_CONFIGURE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/admesh - @for f in README ADMESH.DOC; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/admesh/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} README ADMESH.DOC \ + ${PREFIX}/share/doc/admesh/ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/admesh ${INSTALL_DATA} ${WRKSRC}/block.stl ${PREFIX}/share/examples/admesh diff --git a/math/aribas/Makefile b/math/aribas/Makefile index e645b11a2b2..b0d5fb15644 100644 --- a/math/aribas/Makefile +++ b/math/aribas/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:50 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/28 23:59:20 jtb Exp $ DISTNAME= aribas-1.20 CATEGORIES= math @@ -15,15 +15,9 @@ MAKE_ENV+= CPPFLAGS="-DUNiX -DPROTO" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/aribas ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/aribas - @for f in ${WRKDIR}/aribas/doc/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/aribas/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKDIR}/aribas/doc/* ${PREFIX}/share/doc/aribas/ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/aribas - @for f in ${WRKDIR}/aribas/examples/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/examples/aribas/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKDIR}/aribas/examples/* ${PREFIX}/share/examples/aribas/ ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/EL/aribas.el ${PREFIX}/share/emacs/site-lisp diff --git a/math/mcsim/Makefile b/math/mcsim/Makefile index 45ee115459c..3bf39fbc802 100644 --- a/math/mcsim/Makefile +++ b/math/mcsim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:52 jtb Exp $ +# $NetBSD: Makefile,v 1.5 2001/04/28 23:59:20 jtb Exp $ DISTNAME= mcsim-4.2.0 CATEGORIES= math @@ -17,17 +17,11 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mod/mod ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/sim/mcsim ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mcsim - @for f in ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/MCSim* \ - ${WRKSRC}/doc/mcsim.dvi; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/mcsim/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${WRKSRC}/doc/MCSim* \ + ${WRKSRC}/doc/mcsim.dvi ${PREFIX}/share/doc/mcsim/ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/mcsim - ${INSTALL_DATA} ${WRKSRC}/doc/mcsim.html \ - ${PREFIX}/share/doc/html/mcsim - @for f in mcsim mcsim-1 mcsim-2 mcsim-3; do \ - i="${INSTALL_DATA} ${WRKSRC}/doc/$$f ${PREFIX}/info/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/doc/mcsim.html \ + ${PREFIX}/share/doc/html/mcsim + ${INSTALL_DATA} mcsim mcsim-1 mcsim-2 mcsim-3 ${PREFIX}/info/ .include "../../mk/bsd.pkg.mk" diff --git a/math/meschach/Makefile b/math/meschach/Makefile index 7fc74bf98e2..9f89cb05195 100644 --- a/math/meschach/Makefile +++ b/math/meschach/Makefile @@ -1,8 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:53 jtb Exp $ -# -# XXX The tests run during configuration should not be compiled -# with optimization as they determine machine parameters and -# may give incorrect results if optimized. +# $NetBSD: Makefile,v 1.7 2001/04/28 23:59:20 jtb Exp $ DISTNAME= mesch12b PKGNAME= meschach-1.2b @@ -22,32 +18,24 @@ pre-patch: ${CP} ${FILESDIR}/makefile.in ${WRKSRC} post-patch: - ${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${FILESDIR}/makefile.test \ - > ${WRKSRC}/Makefile + ${SED} -e 's:@PREFIX@:'${PREFIX}':g' ${FILESDIR}/makefile.test \ + > ${WRKSRC}/Makefile post-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/meschach - @for f in err.h machine.h matlab.h matrix.h meminfo.h sparse.h \ - zmatrix.h iter.h matrix2.h oldnames.h sparse2.h zmatrix2.h; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/include/meschach/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} err.h machine.h matlab.h \ + matrix.h meminfo.h sparse.h zmatrix.h iter.h matrix2.h \ + oldnames.h sparse2.h zmatrix2.h ${PREFIX}/include/meschach/ ${INSTALL_DATA_DIR} ${PREFIX}/share/meschach ${INSTALL_DATA_DIR} ${PREFIX}/share/meschach/tests - @for f in torture.c sptort.c ztorture.c memtort.c itertort.c \ - mfuntort.c iotort.c; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/meschach/tests/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} torture.c sptort.c ztorture.c \ + memtort.c itertort.c mfuntort.c iotort.c \ + ${PREFIX}/share/meschach/tests/ ${INSTALL_DATA} ${WRKSRC}/Makefile ${PREFIX}/share/meschach/tests - @for f in ${WRKSRC}/README ${WRKSRC}/DOC/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/meschach/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} README ./DOC/* \ + ${PREFIX}/share/meschach/ ${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/meschach - @for f in tutadv.c tutorial.c; do \ - i="${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/meschach/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} tutadv.c tutorial.c \ + ${PREFIX}/share/meschach/ .include "../../mk/bsd.pkg.mk" diff --git a/math/metis/Makefile b/math/metis/Makefile index 04a5a13694c..1dbd1d82758 100644 --- a/math/metis/Makefile +++ b/math/metis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/04/14 21:43:53 jtb Exp $ +# $NetBSD: Makefile,v 1.4 2001/04/28 23:59:20 jtb Exp $ DISTNAME= metis-4.0 CATEGORIES= math @@ -11,25 +11,17 @@ COMMENT= Unstructured graph partitioning and sparse matrix ordering system ALL_TARGET= default do-install: - @for f in graphchk kmetis mesh2dual mesh2nodal oemetis onmetis \ - partdmesh partnmesh pmetis; do \ - i="${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC} && ${INSTALL_PROGRAM} graphchk kmetis mesh2dual \ + mesh2nodal oemetis onmetis partdmesh partnmesh pmetis \ + ${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/libmetis.a ${PREFIX}/lib ${INSTALL_DATA_DIR} ${PREFIX}/include/metis - @for f in ${WRKSRC}/Lib/*.h; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/include/metis/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKSRC}/Lib/*.h ${PREFIX}/include/metis/ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/metis ${INSTALL_DATA} ${WRKSRC}/Doc/manual.ps ${PREFIX}/share/doc/metis ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/metis - @for f in 0README 4elt.graph metis.mesh test.mgraph; do \ - i="${INSTALL_DATA} ${WRKSRC}/Graphs/$$f \ - ${PREFIX}/share/examples/metis/"; \ - ${ECHO} $$i; $$i; \ - done + cd ${WRKSRC}/Graphs && ${INSTALL_DATA} 0README 4elt.graph \ + metis.mesh test.mgraph ${PREFIX}/share/examples/metis/ ${INSTALL_DATA} ${WRKSRC}/Test/mtest.c ${PREFIX}/share/examples/metis .include "../../mk/bsd.pkg.mk" diff --git a/math/odepack/Makefile b/math/odepack/Makefile index 88ecda9ceb4..f24f4ba4197 100644 --- a/math/odepack/Makefile +++ b/math/odepack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:54 jtb Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/28 23:59:21 jtb Exp $ DISTNAME= odepack-20001130 CATEGORIES= math @@ -16,7 +16,6 @@ pre-build: post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/odepack - ${INSTALL_DATA} ${WRKSRC}/doc ${PREFIX}/share/doc/odepack - ${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/doc/odepack + cd ${WRKSRC} && ${INSTALL_DATA} doc readme ${PREFIX}/share/doc/odepack .include "../../mk/bsd.pkg.mk" diff --git a/math/quadpack/Makefile b/math/quadpack/Makefile index 0a58fe1997d..bbc0835eec1 100644 --- a/math/quadpack/Makefile +++ b/math/quadpack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/04/14 21:43:56 jtb Exp $ +# $NetBSD: Makefile,v 1.6 2001/04/28 23:59:21 jtb Exp $ DISTNAME= quadpack-20001130 CATEGORIES= math @@ -16,8 +16,6 @@ pre-build: post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quadpack - for i in doc readme ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/quadpack; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} doc readme ${PREFIX}/share/doc/quadpack .include "../../mk/bsd.pkg.mk" diff --git a/math/rlab/Makefile b/math/rlab/Makefile index d998b697862..52b4808911b 100644 --- a/math/rlab/Makefile +++ b/math/rlab/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/04/14 21:43:56 jtb Exp $ +# $NetBSD: Makefile,v 1.9 2001/04/28 23:59:21 jtb Exp $ DISTNAME= rlab-2.1.05 CATEGORIES= math @@ -17,7 +17,7 @@ GNU_CONFIGURE= YES USE_FORTRAN= YES EVAL_PREFIX+= GC_PREFIX=boehm-gc -CONFIGURE_ARGS+= "--with-GC=${GC_PREFIX}" +CONFIGURE_ARGS+= --with-GC=${GC_PREFIX} PLIST_SRC= ${PKGDIR}/PLIST @@ -27,31 +27,31 @@ RLAB_PLOT_PKG?= gnuplot .if (${RLAB_PLOT_PKG} == "plplot") DEPENDS+= plplot>=5.0.1:../../graphics/plplot EVAL_PREFIX+= PLPLOT_PREFIX=plplot -CONFIGURE_ARGS+= "--with-plplot=${PLPLOT_PREFIX}" +CONFIGURE_ARGS+= --with-plplot=${PLPLOT_PREFIX} PLIST_SRC+= ${PKGDIR}/PLIST.plplot .elif (${RLAB_PLOT_PKG} == "plotmtv") DEPENDS+= plotmtv-[0-9]*:../../graphics/plotmtv -CONFIGURE_ARGS+= "--with-plotmtv=yes" +CONFIGURE_ARGS+= --with-plotmtv=yes PLIST_SRC+= ${PKGDIR}/PLIST.plotmtv .elif (${RLAB_PLOT_PKG} == "pgraf") DEPENDS+= pgraf-[0-9]*:../../graphics/pgraf EVAL_PREFIX+= PGRAF_PREFIX=pgraf -CONFIGURE_ARGS+= "--with-pgraf=yes" +CONFIGURE_ARGS+= --with-pgraf=yes PLIST_SRC+= ${PKGDIR}/PLIST.pgraf .else DEPENDS+= gnuplot>=3.5:../../graphics/gnuplot -CONFIGURE_ARGS+= "--with-gnuplot=yes" +CONFIGURE_ARGS+= --with-gnuplot=yes PLIST_SRC+= ${PKGDIR}/PLIST.gnuplot .endif RLAB_USE_SUPERLU?= YES .if (${RLAB_USE_SUPERLU} == YES) DEPENDS+= superlu-[0-9]*:../../math/superlu -CONFIGURE_ARGS+= "--enable-SUPERLU" +CONFIGURE_ARGS+= --enable-SUPERLU .endif .if defined(RLAB_PAGER) -CONFIGURE_ENV+= "PAGER=${RLAB_PAGER}" +CONFIGURE_ENV+= PAGER="${RLAB_PAGER}" .endif pre-configure: diff --git a/math/slatec/Makefile b/math/slatec/Makefile index 8bcde3e5eab..0fc9eafed24 100644 --- a/math/slatec/Makefile +++ b/math/slatec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:56 jtb Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/28 23:59:21 jtb Exp $ DISTNAME= slatec_src PKGNAME= slatec-4.1 @@ -17,7 +17,6 @@ WRKSRC= ${WRKDIR}/src USE_FORTRAN= YES post-extract: - ${CP} ${FILESDIR}/d1mach.f ${FILESDIR}/i1mach.f ${FILESDIR}/r1mach.f \ - ${FILESDIR}/Makefile ${WRKSRC} + cd ${FILESDIR} && ${CP} d1mach.f i1mach.f r1mach.f Makefile ${WRKSRC} .include "../../mk/bsd.pkg.mk" diff --git a/math/tela/Makefile b/math/tela/Makefile index db1010cd38e..1a4f74bfae4 100644 --- a/math/tela/Makefile +++ b/math/tela/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/04/24 23:43:02 jtb Exp $ +# $NetBSD: Makefile,v 1.8 2001/04/28 23:59:21 jtb Exp $ DISTNAME= tela-1.32 CATEGORIES= math @@ -25,8 +25,8 @@ USE_X11= #defined INSTALL_TARGET= install installdocs -CONFIGURE_ENV+= "INSTALLATION_PREFIX=${PREFIX}/share/tela" -CONFIGURE_ENV+= "ARCHDEP_INSTALLATION_PREFIX=${PREFIX}/lib/tela" +CONFIGURE_ENV+= INSTALLATION_PREFIX="${PREFIX}/share/tela" +CONFIGURE_ENV+= ARCHDEP_INSTALLATION_PREFIX="${PREFIX}/lib/tela" pre-configure: @for f in ${WRKSRC}/t/demo.t ${WRKSRC}/t/docview.t \ diff --git a/math/tochnog/Makefile b/math/tochnog/Makefile index 3a47964e926..17ca7ecb7d5 100644 --- a/math/tochnog/Makefile +++ b/math/tochnog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:57 jtb Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/28 23:59:22 jtb Exp $ DISTNAME= tochnog-20010210 CATEGORIES= math @@ -26,14 +26,8 @@ do-install: ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnp.ps.gz \ ${PREFIX}/share/doc/tochnog ${INSTALL_DATA_DIR} ${PREFIX}/share/tochnog/test - @for f in ${WRKDIR}/tochnog/test/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/tochnog/test/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKDIR}/tochnog/test/* ${PREFIX}/share/tochnog/test/ ${INSTALL_DATA_DIR} ${PREFIX}/share/tochnog/tools - @for f in ${WRKDIR}/tochnog/tools/*; do \ - i="${INSTALL_DATA} $$f ${PREFIX}/share/tochnog/tools/"; \ - ${ECHO} $$i; $$i; \ - done + ${INSTALL_DATA} ${WRKDIR}/tochnog/tools/* ${PREFIX}/share/tochnog/tools/ .include "../../mk/bsd.pkg.mk" diff --git a/math/udunits/Makefile b/math/udunits/Makefile index 8f4e0a485d0..c33ed69ed1e 100644 --- a/math/udunits/Makefile +++ b/math/udunits/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/04/14 21:43:57 jtb Exp $ +# $NetBSD: Makefile,v 1.4 2001/04/28 23:59:22 jtb Exp $ DISTNAME= udunits PKGNAME= udunits-1.11.7 @@ -14,7 +14,7 @@ WRKSRC= ${WRKDIR}/${PKGNAME}/src DIST_SUBDIR= ${PKGNAME} GNU_CONFIGURE= yes CPPFLAGS+= -Df2cFortran -Dunix -CONFIGURE_ENV+= "CPPFLAGS=${CPPFLAGS}" +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" USE_PERL5= yes PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/UDUNITS/.packlist diff --git a/shells/esh/Makefile b/shells/esh/Makefile index d6a7e9c0174..9a9850dc064 100644 --- a/shells/esh/Makefile +++ b/shells/esh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:59 jtb Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/28 23:59:22 jtb Exp $ # # XXX MASTER_SITES and HOMEPAGE are commented out as they now require # authorization for access. @@ -19,14 +19,13 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/esh ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/esh ${INSTALL_DATA} ${WRKSRC}/examples/*.esh \ - ${PREFIX}/share/examples/esh + ${PREFIX}/share/examples/esh ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/emacs/esh-mode.el \ - ${PREFIX}/share/emacs/site-lisp + ${PREFIX}/share/emacs/site-lisp ${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/info ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/esh - @for i in esh.html esh_toc.html ; do \ - ${INSTALL_DATA} ${WRKSRC}/doc/$$i ${PREFIX}/share/doc/esh/$$i; \ - done + cd ${WRKSRC} && ${INSTALL_DATA} esh.html esh_toc.html \ + ${PREFIX}/share/doc/esh/$$i .include "../../mk/bsd.pkg.mk" diff --git a/www/w3/Makefile b/www/w3/Makefile index 413fb7831fc..594816fe4e5 100644 --- a/www/w3/Makefile +++ b/www/w3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:59 jtb Exp $ +# $NetBSD: Makefile,v 1.7 2001/04/28 23:59:22 jtb Exp $ DISTNAME= w3-4.0pre.46 PKGNAME= w3-4.0b46 @@ -14,19 +14,19 @@ HOMEPAGE= http://www.cs.indiana.edu/elisp/w3/docs.html COMMENT= World Wide Web browser for Emacs HAS_CONFIGURE= #defined -CONFIGURE_ARGS+="--enable-site-install" +CONFIGURE_ARGS+=--enable-site-install .include "../../mk/bsd.prefs.mk" .if defined(USE_XEMACS) DEPENDS+= xemacs-[0-9]*:../../editors/xemacs -CONFIGURE_ARGS+="--with-xemacs" -CONFIGURE_ARGS+="--with-package-dir=${PREFIX}/lib/xemacs/xemacs-packages" +CONFIGURE_ARGS+=--with-xemacs +CONFIGURE_ARGS+=--with-package-dir=${PREFIX}/lib/xemacs/xemacs-packages PLIST_SRC= ${PKGDIR}/PLIST.xemacs .else DEPENDS+= emacs-[0-9]*:../../editors/emacs -CONFIGURE_ARGS+="--with-emacs" -CONFIGURE_ARGS+="--with-lispdir=${PREFIX}/share/emacs/site-lisp/w3" +CONFIGURE_ARGS+=--with-emacs +CONFIGURE_ARGS+=--with-lispdir=${PREFIX}/share/emacs/site-lisp/w3 INFO_FILES= w3.info w3-faq.info PLIST_SRC= ${PKGDIR}/PLIST.emacs .endif |