diff options
author | joerg <joerg> | 2009-07-07 16:38:39 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-07-07 16:38:39 +0000 |
commit | e523bb3255587eb94ea2a9e1daf1b03292f7f83e (patch) | |
tree | e8fe77ae3a053c5df51741db90deae710c32cede /www | |
parent | 39ed067e38fdbcb754ff5fe230de04d667d5cfaf (diff) | |
download | pkgsrc-e523bb3255587eb94ea2a9e1daf1b03292f7f83e.tar.gz |
user-destdir support
Diffstat (limited to 'www')
-rw-r--r-- | www/cvsweb/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/www/cvsweb/Makefile b/www/cvsweb/Makefile index f55ce119dea..fb59b7ff863 100644 --- a/www/cvsweb/Makefile +++ b/www/cvsweb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2007/01/24 17:43:58 reed Exp $ +# $NetBSD: Makefile,v 1.35 2009/07/07 16:43:50 joerg Exp $ # DISTNAME= cvsweb-3.0.6 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.freebsd.org/projects/cvsweb.html COMMENT= Web interface for browsing a CVS repository +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= p5-File-Temp>=0.12:../../devel/p5-File-Temp DEPENDS+= p5-IPC-Run>=0.74:../../devel/p5-IPC-Run DEPENDS+= p5-MIME-Types>=1.12:../../mail/p5-MIME-Types @@ -44,24 +46,21 @@ CVSWEB_DOCS= ChangeLog INSTALL NEWS README TODO CONF_FILES= ${EGDIR}/cvsweb.conf ${PKG_SYSCONFDIR}/cvsweb.conf +INSTALLATION_DIRS= libexec/cgi-bin ${EGDIR}/icons ${EGDIR}/css ${DOCDIR} + do-install: - ${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/cgi-bin - ${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${PREFIX}/libexec/cgi-bin - ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/cvsweb.cgi ${DESTDIR}${PREFIX}/libexec/cgi-bin .for f in ${CVSWEB_CONF_FILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR}/${f} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EGDIR}/${f} .endfor - ${INSTALL_DATA_DIR} ${EGDIR}/icons .for f in ${CVSWEB_ICONS} - ${INSTALL_DATA} ${WRKSRC}/icons/${f} ${EGDIR}/icons/${f} + ${INSTALL_DATA} ${WRKSRC}/icons/${f} ${DESTDIR}${EGDIR}/icons/${f} .endfor - ${INSTALL_DATA_DIR} ${EGDIR}/css .for f in ${CVSWEB_CSS} - ${INSTALL_DATA} ${WRKSRC}/css/${f} ${EGDIR}/css/${f} + ${INSTALL_DATA} ${WRKSRC}/css/${f} ${DESTDIR}${EGDIR}/css/${f} .endfor - ${INSTALL_DATA_DIR} ${DOCDIR} .for f in ${CVSWEB_DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}/${f} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f} .endfor SUBST_CLASSES+= prefix |