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 /shells/bash2-doc | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'shells/bash2-doc')
-rw-r--r-- | shells/bash2-doc/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/shells/bash2-doc/Makefile b/shells/bash2-doc/Makefile index 7778068c509..4e3e966e479 100644 --- a/shells/bash2-doc/Makefile +++ b/shells/bash2-doc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/06/15 13:24:50 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:35 joerg Exp $ DISTNAME= bash-doc-2.05b PKGNAME= bash-doc-2.05.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnu.org/software/bash/bash.html COMMENT= Documentation for the GNU Bourne Again Shell +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= bash<=2.05nb1 WRKSRC= ${WRKDIR}/doc @@ -21,18 +23,18 @@ USE_TOOLS+= gzip DOCDIR= ${PREFIX}/share/doc/bash HTMLDIR= ${PREFIX}/share/doc/html/bash +INSTALLATION_DIRS= ${DOCDIR} ${HTMLDIR} + do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_MAN} \ ${WRKSRC}/article.ps \ ${WRKSRC}/bashref.ps \ ${WRKSRC}/article.txt \ - ${PREFIX}/share/doc/bash - ${INSTALL_DATA_DIR} ${HTMLDIR} + ${DESTDIR}${PREFIX}/share/doc/bash ${INSTALL_MAN} \ ${WRKSRC}/bash.html \ ${WRKSRC}/bashref.html \ - ${HTMLDIR} - ${GZIP_CMD} ${DOCDIR}/*.ps + ${DESTDIR}${HTMLDIR} + ${GZIP_CMD} ${DESTDIR}${DOCDIR}/*.ps .include "../../mk/bsd.pkg.mk" |