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/spiceprm | |
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/spiceprm')
-rw-r--r-- | cad/spiceprm/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/cad/spiceprm/Makefile b/cad/spiceprm/Makefile index bcb5840f17a..bd674cd689b 100644 --- a/cad/spiceprm/Makefile +++ b/cad/spiceprm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:02 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 01:50:27 jlam Exp $ # DISTNAME= spiceprm-0.11 @@ -8,6 +8,8 @@ MASTER_SITES= http://metalab.unc.edu/pub/Linux/apps/circuits/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Spice preprocessor for parameterized subcircuits +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/spiceprm NO_BUILD= YES USE_TOOLS+= perl:run @@ -15,10 +17,10 @@ REPLACE_PERL= spiceprm INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/spiceprm ${PREFIX}/bin/spiceprm - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spiceprm - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/spiceprm - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spiceprm - ${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${PREFIX}/share/examples/spiceprm + ${INSTALL_SCRIPT} ${WRKSRC}/spiceprm ${DESTDIR}${PREFIX}/bin/spiceprm + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/spiceprm + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/spiceprm + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/spiceprm + ${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${DESTDIR}${PREFIX}/share/examples/spiceprm .include "../../mk/bsd.pkg.mk" |