diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 01:50:26 +0000 |
commit | 2e614fcea0b247bbc54200c2ed35e943cca37125 (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/simian | |
parent | f61cf6906a47ea29db5a98128c49cd6db98ee0e9 (diff) | |
download | pkgsrc-2e614fcea0b247bbc54200c2ed35e943cca37125.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'cad/simian')
-rw-r--r-- | cad/simian/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/cad/simian/Makefile b/cad/simian/Makefile index 0b93324adce..148968b100b 100644 --- a/cad/simian/Makefile +++ b/cad/simian/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2005/12/05 20:49:52 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 01:50:27 jlam Exp $ # DISTNAME= simian_12_98 @@ -17,6 +17,8 @@ NO_BIN_ON_CDROM= ${RESTRICTED} NO_SRC_ON_FTP= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ GCC_REQD+= 3.0 @@ -28,8 +30,9 @@ BUILD_TARGET= simian INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/simian ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/simian - ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/simian + ${INSTALL_PROGRAM} ${WRKSRC}/src/simian ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/simian + ${INSTALL_DATA} ${WRKSRC}/examples/* \ + ${DESTDIR}${PREFIX}/share/examples/simian .include "../../mk/bsd.pkg.mk" |