summaryrefslogtreecommitdiff
path: root/shells/bash
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-17 22:11:35 +0000
committerjoerg <joerg>2007-08-17 22:11:35 +0000
commitaed23ea0e6a9b94395a9fd1a475cea43ace32129 (patch)
tree55da26cb330af377106e37e144fc1edee1932ab1 /shells/bash
parente856f565da609ebae560348a5abd2529d984358a (diff)
downloadpkgsrc-aed23ea0e6a9b94395a9fd1a475cea43ace32129.tar.gz
Add DESTDIR support.
Diffstat (limited to 'shells/bash')
-rw-r--r--shells/bash/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 22b58207fe9..c0cba44158e 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2007/02/18 12:21:59 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2007/08/17 22:11:35 joerg Exp $
DISTNAME= bash-3.2
PKGNAME= bash-3.2.9
@@ -24,6 +24,7 @@ COMMENT= The GNU Bourne Again Shell
CONFLICTS= static-bash-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= makeinfo yacc
USE_PKGLOCALEDIR= yes
@@ -87,8 +88,8 @@ BUILDLINK_API_DEPENDS.readline+= readline>=4.3
.endif
post-install:
- ${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"