diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /devel/bzr | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'devel/bzr')
-rw-r--r-- | devel/bzr/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/bzr/Makefile b/devel/bzr/Makefile index 9139c3122de..6cec94c108d 100644 --- a/devel/bzr/Makefile +++ b/devel/bzr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/05/05 11:17:51 xtraeme Exp $ +# $NetBSD: Makefile,v 1.25 2008/06/20 01:09:12 joerg Exp $ # DISTNAME= bzr-1.4 @@ -33,12 +33,13 @@ SUBST_STAGE.python= post-extract SUBST_FILES.python+= Makefile SUBST_SED.python+= -e 's,=python,=${PYTHONBIN},' +INSTALLATION_DIRS= share/doc/bzr + post-build: cd ${WRKSRC} && ${PYTHONBIN} generate_docs.py man post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bzr - ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/bzr + ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/bzr .include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" |