summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /shells
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'shells')
-rw-r--r--shells/posh/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/shells/posh/Makefile b/shells/posh/Makefile
index 29629550d1d..68076596fd2 100644
--- a/shells/posh/Makefile
+++ b/shells/posh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/03/04 21:30:39 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= posh_0.3.14
@@ -12,13 +12,15 @@ HOMEPAGE= http://packages.debian.org/posh
COMMENT= Debian Policy-compliant Ordinary SHell
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
PKG_SHELL= bin/posh
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+INSTALLATION_DIRS= share/doc/posh
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/posh
- ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${PREFIX}/share/doc/posh
+ ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DESTDIR}${PREFIX}/share/doc/posh
.include "../../mk/bsd.pkg.mk"