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 | 411a468ce44836ba0dce72243b549d700f29037a (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/admesh | |
parent | a8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff) | |
download | pkgsrc-411a468ce44836ba0dce72243b549d700f29037a.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" |