summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-17 22:11:35 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-17 22:11:35 +0000
commitdbede5c88790f72d14b56fe12a16c5d514474674 (patch)
tree55da26cb330af377106e37e144fc1edee1932ab1 /shells
parent3f0b6d342a19c789e7a18c20d9fa6148b0d05028 (diff)
downloadpkgsrc-dbede5c88790f72d14b56fe12a16c5d514474674.tar.gz
Add DESTDIR support.
Diffstat (limited to 'shells')
-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"