From f7a31a0cbc0ecfc696537d41c2c5bf92b2bac14c Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 17 Jun 2005 03:50:19 +0000 Subject: Create directories before installing files into them. --- math/abs/Makefile | 4 +++- math/admesh/Makefile | 3 ++- math/aribas/Makefile | 4 +++- math/calc/Makefile | 4 +++- math/ess/Makefile | 3 ++- math/gap/Makefile | 4 +++- math/mapm/Makefile | 4 +++- math/mcsim/Makefile | 4 +++- math/metis/Makefile | 3 ++- math/newmat/Makefile | 4 +++- math/otter/Makefile | 4 +++- math/pari-galdata/Makefile | 3 ++- math/statist/Makefile | 4 +++- math/superlu/Makefile | 3 ++- math/tochnog/Makefile | 4 +++- math/xgap/Makefile | 4 +++- math/xldlas/Makefile | 3 ++- 17 files changed, 45 insertions(+), 17 deletions(-) (limited to 'math') diff --git a/math/abs/Makefile b/math/abs/Makefile index fe293f1b6b2..23fe8c32090 100644 --- a/math/abs/Makefile +++ b/math/abs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2005/04/11 21:46:28 tv Exp $ +# $NetBSD: Makefile,v 1.13 2005/06/17 03:50:19 jlam Exp $ # DISTNAME= abs-src-0.8 @@ -13,6 +13,8 @@ COMMENT= Free spreadsheet with graphical user interface USE_X11BASE= YES MAKEFILE= Makefile.netBSD +INSTALLATION_DIRS= bin + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin diff --git a/math/admesh/Makefile b/math/admesh/Makefile index 018e7976d40..771ea5f6570 100644 --- a/math/admesh/Makefile +++ b/math/admesh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/07/17 21:47:18 grant Exp $ +# $NetBSD: Makefile,v 1.7 2005/06/17 03:50:19 jlam Exp $ DISTNAME= admesh-0.95 CATEGORIES= math @@ -9,6 +9,7 @@ HOMEPAGE= http://www.varlog.com/products/admesh/ COMMENT= Program for processing triangulated solid meshes GNU_CONFIGURE= yes +INSTALLATION_DIRS= bin do-install: ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${PREFIX}/bin diff --git a/math/aribas/Makefile b/math/aribas/Makefile index 6e3e3db45b6..c8be9e8e90a 100644 --- a/math/aribas/Makefile +++ b/math/aribas/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2005/01/21 09:50:20 adam Exp $ +# $NetBSD: Makefile,v 1.13 2005/06/17 03:50:19 jlam Exp $ DISTNAME= aribas-1.53 CATEGORIES= math @@ -12,6 +12,8 @@ CPPFLAGS+= -DUNiX -DPROTO BUILD_DIRS= ${WRKDIR}/${DISTNAME}/src +INSTALLATION_DIRS= bin man/man1 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/aribas ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/aribas.1 ${PREFIX}/man/man1 diff --git a/math/calc/Makefile b/math/calc/Makefile index dad5dd534a0..946c7c582bd 100644 --- a/math/calc/Makefile +++ b/math/calc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2003/08/09 11:11:28 seb Exp $ +# $NetBSD: Makefile,v 1.13 2005/06/17 03:50:19 jlam Exp $ DISTNAME= calc-2.02f PKGREVISION= 1 @@ -16,6 +16,8 @@ MAKE_ENV+= EMACS=${EMACS_FLAVOR} USE_MAKEINFO= YES INFO_FILES= calc.info +INSTALLATION_DIRS= info + do-install: ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/calc ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \ diff --git a/math/ess/Makefile b/math/ess/Makefile index 256c750ff23..36663d48715 100644 --- a/math/ess/Makefile +++ b/math/ess/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2003/08/09 11:11:39 seb Exp $ +# $NetBSD: Makefile,v 1.7 2005/06/17 03:50:20 jlam Exp $ DISTNAME= ess-5.1.24 CATEGORIES= math @@ -20,6 +20,7 @@ LISPDIR= ${EMACS_LISPPREFIX} INFODIR= info INFO_FILES= ess.info .endif +INSTALLATION_DIRS= ${INFODIR} MAKE_ENV+= LISPDIR=${EMACS_LISPPREFIX}/ess PLIST_SUBST+= INFODIR=${INFODIR} diff --git a/math/gap/Makefile b/math/gap/Makefile index 45b2d9af77c..bd7c518bc5d 100644 --- a/math/gap/Makefile +++ b/math/gap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2005/05/16 01:15:32 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2005/06/17 03:50:20 jlam Exp $ # DISTNAME= gap4r3 @@ -31,6 +31,8 @@ GAP_PLATFORM= ${MACHINE_GNU_PLATFORM}-${CC} PLIST_SUBST= GAP_PLATFORM=${GAP_PLATFORM} +INSTALLATION_DIRS= bin + post-extract: ( cd ${WRKSRC} && ${GTAR} zxf ${DISTDIR}/fix4r3n5.tar.gz ) diff --git a/math/mapm/Makefile b/math/mapm/Makefile index e7315da9ec7..23271478668 100644 --- a/math/mapm/Makefile +++ b/math/mapm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/04/11 21:46:29 tv Exp $ +# $NetBSD: Makefile,v 1.3 2005/06/17 03:50:20 jlam Exp $ # DISTNAME= mapm-4.9.2 @@ -13,6 +13,8 @@ WRKSRC= ${WRKDIR}/mapm_4.9.2 DOCS= README algorithms.used function.ref +INSTALLATION_DIRS= bin include lib + do-install: ${INSTALL_DATA} ${WRKSRC}/m_apm.h ${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/libmapm.a ${PREFIX}/lib diff --git a/math/mcsim/Makefile b/math/mcsim/Makefile index 55431f2b737..3f1aefb9438 100644 --- a/math/mcsim/Makefile +++ b/math/mcsim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2004/01/20 12:20:05 agc Exp $ +# $NetBSD: Makefile,v 1.14 2005/06/17 03:50:20 jlam Exp $ DISTNAME= mcsim-4.2.0 CATEGORIES= math @@ -11,6 +11,8 @@ USE_MAKEINFO= YES INFO_FILES= mcsim WRKSRC= ${WRKDIR}/mcsim +INSTALLATION_DIRS= bin info + post-build: cd ${WRKSRC}/doc && ${MAKEINFO} mcsim.texinfo diff --git a/math/metis/Makefile b/math/metis/Makefile index 51f87d4b072..da61954f716 100644 --- a/math/metis/Makefile +++ b/math/metis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/12/03 15:15:03 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2005/06/17 03:50:20 jlam Exp $ DISTNAME= metis-4.0 CATEGORIES= math @@ -9,6 +9,7 @@ HOMEPAGE= http://www-users.cs.umn.edu/~karypis/metis/ COMMENT= Unstructured graph partitioning and sparse matrix ordering system BUILD_TARGET= default +INSTALLATION_DIRS= bin lib do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} graphchk kmetis mesh2dual \ diff --git a/math/newmat/Makefile b/math/newmat/Makefile index 34ad9a0951e..6fbc67096cf 100644 --- a/math/newmat/Makefile +++ b/math/newmat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2005/04/16 02:12:48 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2005/06/17 03:50:20 jlam Exp $ # DISTNAME= newmat10 # actually newmat10B, but no such distfile @@ -21,6 +21,8 @@ HEADERS= boolean.h controlw.h include.h myexcept.h newmat.h \ DOCDIR= ${PREFIX}/share/doc/html/newmat +INSTALLATION_DIRS= lib + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/include/newmat .for header in ${HEADERS} diff --git a/math/otter/Makefile b/math/otter/Makefile index b6f2596fe43..5527f6008f1 100644 --- a/math/otter/Makefile +++ b/math/otter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/12/03 15:15:03 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2005/06/17 03:50:20 jlam Exp $ DISTNAME= otter-3.0.6 CATEGORIES= math @@ -11,6 +11,8 @@ COMMENT= Automated Deduction System BUILD_TARGET= otter WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/source +INSTALLATION_DIRS= bin + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/otter ${PREFIX}/bin ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/otter diff --git a/math/pari-galdata/Makefile b/math/pari-galdata/Makefile index 218b3240339..0f999cba22d 100644 --- a/math/pari-galdata/Makefile +++ b/math/pari-galdata/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2004/03/26 02:27:45 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2005/06/17 03:50:20 jlam Exp $ DISTNAME= galdata PKGNAME= pari-galdata-2.1 @@ -17,6 +17,7 @@ WRKSRC= ${WRKDIR} DIST_SUBDIR= pari-2.1 NO_BUILD= yes +INSTALLATION_DIRS= share/pari/galdata do-install: ${INSTALL_DATA} ${WRKSRC}/[CR]* ${PREFIX}/share/pari/galdata diff --git a/math/statist/Makefile b/math/statist/Makefile index d977dff8c5f..54a576ec154 100644 --- a/math/statist/Makefile +++ b/math/statist/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2005/04/11 21:46:31 tv Exp $ +# $NetBSD: Makefile,v 1.9 2005/06/17 03:50:20 jlam Exp $ # DISTNAME= statist-1.0.1 @@ -15,6 +15,8 @@ DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_LIBTOOL= YES +INSTALLATION_DIRS= bin lib + do-install: cd ${WRKSRC} && \ ${LIBTOOL} --mode=install \ diff --git a/math/superlu/Makefile b/math/superlu/Makefile index dfefc00fc44..18c02690c64 100644 --- a/math/superlu/Makefile +++ b/math/superlu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2004/12/03 15:15:03 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2005/06/17 03:50:20 jlam Exp $ DISTNAME= superlu_3.0 PKGNAME= superlu-3.0.1 @@ -19,6 +19,7 @@ WRKSRC= ${WRKDIR}/SuperLU_3.0 BUILD_TARGET= superlulib TEST_DIRS= ${WRKSRC}/TESTING/MATGEN ${WRKSRC}/TESTING TEST_TARGET= all +INSTALLATION_DIRS= lib do-install: ${INSTALL_DATA} ${WRKSRC}/libsuperlu.a ${PREFIX}/lib diff --git a/math/tochnog/Makefile b/math/tochnog/Makefile index b3de40569cf..5eedf534a24 100644 --- a/math/tochnog/Makefile +++ b/math/tochnog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2004/12/03 15:15:03 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2005/06/17 03:50:20 jlam Exp $ DISTNAME= tochnog-20010429 CATEGORIES= math @@ -17,6 +17,8 @@ BUILD_TARGET= netbsd MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} +INSTALLATION_DIRS= bin + post-patch: @${RM} -f ${WRKDIR}/tochnog/test/*.orig ${WRKDIR}/tochnog/tools/*.bat diff --git a/math/xgap/Makefile b/math/xgap/Makefile index ce74309e376..08f40732367 100644 --- a/math/xgap/Makefile +++ b/math/xgap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2005/06/01 18:03:04 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2005/06/17 03:50:20 jlam Exp $ # DISTNAME= xgap4r16 @@ -20,6 +20,8 @@ CONFIGURE_ENV+= GAP_DIRECTORY=${GAP_DIRECTORY} GAP_PKG_NAME= xgap +INSTALLATION_DIRS= bin + pre-configure: (cd ${WRKDIR} && ${LN} -s ${GAP_DIRECTORY}/cnf cnf) diff --git a/math/xldlas/Makefile b/math/xldlas/Makefile index b13c198ffd4..0db4eb371a2 100644 --- a/math/xldlas/Makefile +++ b/math/xldlas/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2005/04/11 21:46:31 tv Exp $ +# $NetBSD: Makefile,v 1.25 2005/06/17 03:50:20 jlam Exp $ DISTNAME= xldlas-0.85 PKGREVISION= 4 @@ -17,6 +17,7 @@ ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm NetBSD-*-arm32 \ WRKSRC= ${WRKDIR}/xldlas USE_X11BASE= yes +INSTALLATION_DIRS= bin man/man1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xldlas ${PREFIX}/bin -- cgit v1.2.3