diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-03 19:24:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-03 19:24:26 +0000 |
commit | 3c1a25c9f7ef0e525789a1c9d5fc99b4c9f4548b (patch) | |
tree | 5c05cdf8194143f3ff130e699343a24f92901df8 /devel/subversion-base/Makefile | |
parent | 5430595a63a9a5ea90cc5dc74531b2f2035ed44c (diff) | |
download | pkgsrc-3c1a25c9f7ef0e525789a1c9d5fc99b4c9f4548b.tar.gz |
DESTDIR support.
Diffstat (limited to 'devel/subversion-base/Makefile')
-rw-r--r-- | devel/subversion-base/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/devel/subversion-base/Makefile b/devel/subversion-base/Makefile index d74a848aba0..02585279827 100644 --- a/devel/subversion-base/Makefile +++ b/devel/subversion-base/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.38 2006/10/13 12:25:45 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.39 2006/11/03 19:34:11 joerg Exp $ PKGNAME= subversion-base-${SVNVER} COMMENT= Version control system, base programs and libraries PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir .include "../../devel/subversion/Makefile.common" @@ -37,19 +38,20 @@ SUBST_SED.paths= -e "s|/usr/local/bin/|${PREFIX}/bin|g" SUBST_MESSAGE.paths= Fixing hardcoded /usr/local/bin paths. post-install: - ${INSTALL_DATA_DIR} ${SVNDOC} - cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README ${SVNDOC} - cd ${WRKSRC}/doc/user && ${INSTALL_DATA} *.html *.txt ${SVNDOC} - ${INSTALL_DATA_DIR} ${SVNEXAMPLES}/backup - ${INSTALL_DATA_DIR} ${SVNEXAMPLES}/cgi - ${INSTALL_DATA_DIR} ${SVNEXAMPLES}/hook-scripts + ${INSTALL_DATA_DIR} ${DESTDIR}${SVNDOC} + cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README ${DESTDIR}${SVNDOC} + cd ${WRKSRC}/doc/user && ${INSTALL_DATA} *.html *.txt ${DESTDIR}${SVNDOC} + ${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/backup + ${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/cgi + ${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/hook-scripts ${INSTALL_DATA} ${WRKSRC}/tools/backup/hot-backup.py \ - ${SVNEXAMPLES}/backup - ${INSTALL_DATA} ${WRKSRC}/contrib/cgi/tweak-log.cgi ${SVNEXAMPLES}/cgi + ${DESTDIR}${SVNEXAMPLES}/backup + ${INSTALL_DATA} ${WRKSRC}/contrib/cgi/tweak-log.cgi \ + ${DESTDIR}${SVNEXAMPLES}/cgi ${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/commit-email.pl \ - ${SVNEXAMPLES}/hook-scripts + ${DESTDIR}${SVNEXAMPLES}/hook-scripts ${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/svnperms* \ - ${SVNEXAMPLES}/hook-scripts + ${DESTDIR}${SVNEXAMPLES}/hook-scripts .PHONY: svn-build-outputs-hack # Use this target to update the build-outputs.mk hack for sub-packages. |