diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/admesh | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/admesh')
-rw-r--r-- | math/admesh/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/math/admesh/Makefile b/math/admesh/Makefile index f4c32f18e31..dd943f742bc 100644 --- a/math/admesh/Makefile +++ b/math/admesh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:02 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 18:12:58 jlam Exp $ DISTNAME= admesh-0.95 CATEGORIES= math @@ -8,16 +8,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.varlog.com/products/admesh/ COMMENT= Program for processing triangulated solid meshes +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_HAS_MANDIR= no INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/admesh - 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 + ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/admesh + cd ${WRKSRC} && ${INSTALL_DATA} README ADMESH.DOC \ + ${DESTDIR}${PREFIX}/share/doc/admesh/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/admesh + ${INSTALL_DATA} ${WRKSRC}/block.stl \ + ${DESTDIR}${PREFIX}/share/examples/admesh .include "../../mk/bsd.pkg.mk" |