summaryrefslogtreecommitdiff
path: root/shells/posh
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /shells/posh
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'shells/posh')
-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"