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