summaryrefslogtreecommitdiff
path: root/shells/zsh
diff options
context:
space:
mode:
authorjoerg <joerg>2006-10-09 12:52:34 +0000
committerjoerg <joerg>2006-10-09 12:52:34 +0000
commitb1ec6efee6277c88c10f4d514f1b9ce28d77ef67 (patch)
tree394404a5282788a08d7e1183cc0f35c1b517e24d /shells/zsh
parentf0da24841ebace4418bbe664263b9415e23a1837 (diff)
downloadpkgsrc-b1ec6efee6277c88c10f4d514f1b9ce28d77ef67.tar.gz
Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile.common14
1 files changed, 8 insertions, 6 deletions
diff --git a/shells/zsh/Makefile.common b/shells/zsh/Makefile.common
index 92bf4b5b32b..02a01b24a13 100644
--- a/shells/zsh/Makefile.common
+++ b/shells/zsh/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.35 2006/10/04 21:58:52 wiz Exp $
+# $NetBSD: Makefile.common,v 1.36 2006/10/09 12:52:36 joerg Exp $
DISTNAME= zsh-${ZSH_VERSION}
CATEGORIES= shells
@@ -13,6 +13,8 @@ MAINTAINER= ${ZSH_MAINTAINER}
HOMEPAGE= http://zsh.dotsrc.org/
COMMENT= The Z shell
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-etcdir=${PKG_SYSCONFDIR:Q}
@@ -83,11 +85,11 @@ pre-install:
@cd ${WRKSRC}/Completion; ${FIND} . -name \*.orig -exec ${RM} \{\} \;
post-install:
- @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/zsh
- @cd ${WRKSRC}/Etc; ${INSTALL_DATA} BUGS FAQ \
- ${PREFIX}/share/doc/zsh
- @cd ${WRKSRC}; ${INSTALL_DATA} FEATURES NEWS \
- ${PREFIX}/share/doc/zsh
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/zsh
+ cd ${WRKSRC}/Etc && ${INSTALL_DATA} BUGS FAQ \
+ ${DESTDIR}${PREFIX}/share/doc/zsh
+ cd ${WRKSRC} && ${INSTALL_DATA} FEATURES NEWS \
+ ${DESTDIR}${PREFIX}/share/doc/zsh
# Utilize Zsh's test framework.
# Testing of dynamic shell only works after install has been done