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 | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/py-Scientific-doc | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/py-Scientific-doc')
-rw-r--r-- | math/py-Scientific-doc/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/math/py-Scientific-doc/Makefile b/math/py-Scientific-doc/Makefile index b62ca8d8ef0..1b8e36e4671 100644 --- a/math/py-Scientific-doc/Makefile +++ b/math/py-Scientific-doc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/03/04 21:30:08 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/04 18:12:59 jlam Exp $ DISTNAME= ScientificPython-2.4.5 PKGNAME= py-${DISTNAME:S/Python/-doc/} @@ -12,6 +12,8 @@ COMMENT= Python modules for scientific computing CONFLICTS+= py-Scientific-* +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes EGDIR= ${PREFIX}/share/examples/py-Scientific @@ -19,12 +21,12 @@ DOCDIR= ${PREFIX}/share/doc/py-Scientific HTMLDIR= ${PREFIX}/share/doc/html/py-Scientific do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} cd ${WRKSRC} && ${INSTALL_DATA} README LICENSE \ - Doc/PDF/manual.pdf ${DOCDIR} - ${INSTALL_DATA_DIR} ${HTMLDIR} - cd ${WRKSRC}/Doc/HTML && ${PAX} -rw -pp -pm . ${HTMLDIR} - ${INSTALL_DATA_DIR} ${EGDIR} - cd ${WRKSRC}/Examples && ${PAX} -rw -pp -pm . ${EGDIR} + Doc/PDF/manual.pdf ${DESTDIR}${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} + cd ${WRKSRC}/Doc/HTML && ${PAX} -rw -pp -pm . ${DESTDIR}${HTMLDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + cd ${WRKSRC}/Examples && ${PAX} -rw -pp -pm . ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" |