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 | |
parent | 76875b7d9c5b1896449707c4025896f690af1362 (diff) | |
download | pkgsrc-9836430b32bc851d99da7086f930680ce8770ecc.tar.gz |
user-destdir support
Diffstat (limited to 'www')
-rw-r--r-- | www/urlget/Makefile | 8 | ||||
-rw-r--r-- | www/viewvc/Makefile | 13 |
2 files changed, 14 insertions, 7 deletions
diff --git a/www/urlget/Makefile b/www/urlget/Makefile index fecdf713382..8908dbb0105 100644 --- a/www/urlget/Makefile +++ b/www/urlget/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2005/04/11 21:48:02 tv Exp $ +# $NetBSD: Makefile,v 1.11 2009/07/07 18:46:17 joerg Exp $ # DISTNAME= urlget-1.4 @@ -8,6 +8,7 @@ MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/ MAINTAINER= kim@tac.nyc.ny.us COMMENT= Simple command-line tool to retrieve an HTTP URL +PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" @@ -16,6 +17,9 @@ BUILD_TARGET= svr4 .else BUILD_TARGET= bsd .endif -INSTALL_TARGET= inst-all DEST=${PREFIX} +INSTALL_TARGET= inst-all +INSTALL_MAKE_FLAGS+= DEST=${DESTDIR}${PREFIX} + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" 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" |