diff options
author | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 01:50:26 +0000 |
commit | 02dbeceea629a34bb7b2c5f0842539bed5e4e882 (patch) | |
tree | 594c159848c0679d80316a52bfc121f8d7c1bf18 /cad/simian | |
parent | d41792ee5188c43750d96a79f59b13facf21daab (diff) | |
download | pkgsrc-02dbeceea629a34bb7b2c5f0842539bed5e4e882.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" |