summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-10-09 12:52:34 +0000
committerjoerg <joerg@pkgsrc.org>2006-10-09 12:52:34 +0000
commit9cd6e22331a6f233c5162012777ffeb82a685274 (patch)
tree394404a5282788a08d7e1183cc0f35c1b517e24d /shells
parent0ac48ab1020b11885d226658a380f69aa3367aa4 (diff)
downloadpkgsrc-9cd6e22331a6f233c5162012777ffeb82a685274.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')
-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