diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 18:46:17 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 18:46:17 +0000 |
commit | 9836430b32bc851d99da7086f930680ce8770ecc (patch) | |
tree | 668864aaf20ddd0346bc09080bd6cf26252724c3 /www/viewvc | |
parent | 76875b7d9c5b1896449707c4025896f690af1362 (diff) | |
download | pkgsrc-9836430b32bc851d99da7086f930680ce8770ecc.tar.gz |
user-destdir support
Diffstat (limited to 'www/viewvc')
-rw-r--r-- | www/viewvc/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/www/viewvc/Makefile b/www/viewvc/Makefile index c076b1fa1ce..c6b53634305 100644 --- a/www/viewvc/Makefile +++ b/www/viewvc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/02/09 22:56:28 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2009/07/07 18:46:37 joerg Exp $ # DISTNAME= viewvc-1.0.7 @@ -10,6 +10,8 @@ MAINTAINER= adrianp@NetBSD.org HOMEPAGE= http://www.viewvc.org/ COMMENT= Viewing the content of CVS/SVN repositories with a Webbrowser +PKG_DESTDIR_SUPPORT= user-destdir + PYTHON_PATCH_SCRIPTS= viewvc-install bin/* bin/cgi/*.cgi lib/*.py .if !exists(/usr/bin/rlog) @@ -47,16 +49,17 @@ SUBST_SED.conf+= -e "s|@RCS_PREFIX@|/usr|g" CHECK_PORTABILITY_SKIP= tools/make-release +INSTALLATION_DIRS= share/examples/viewvc + do-install: (cd ${WRKSRC} && \ ${PYTHONBIN} \ - viewvc-install --prefix=${PREFIX}/${VIEWVCDIR} --destdir="") + viewvc-install --prefix=${PREFIX}/${VIEWVCDIR} --destdir=${DESTDIR}) - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/viewvc ${INSTALL_DATA} ${WRKSRC}/viewvc.conf.dist \ - ${PREFIX}/share/examples/viewvc/viewvc.conf + ${DESTDIR}${PREFIX}/share/examples/viewvc/viewvc.conf ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf.dist \ - ${PREFIX}/share/examples/viewvc/cvsgraph.conf + ${DESTDIR}${PREFIX}/share/examples/viewvc/cvsgraph.conf .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |