diff options
-rw-r--r-- | www/gitweb/Makefile | 8 | ||||
-rw-r--r-- | www/gitweb/PLIST | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/www/gitweb/Makefile b/www/gitweb/Makefile index 06c40048636..2403f95690e 100644 --- a/www/gitweb/Makefile +++ b/www/gitweb/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.30 2015/07/31 12:57:23 adam Exp $ +# $NetBSD: Makefile,v 1.31 2015/08/30 06:56:19 ryoon Exp $ .include "../../devel/git/Makefile.common" PKGNAME= ${DISTNAME:S/git/gitweb/} +PKGREVISION= 1 CATEGORIES= www COMMENT= Web interface for GIT repositories @@ -15,13 +16,14 @@ DEPENDS+= p5-CGI-[0-9]*:../../www/p5-CGI USE_TOOLS+= perl:run BUILD_DIRS= gitweb -BUILD_TARGET= gitweb.cgi +BUILD_TARGET= gitweb.cgi static/gitweb.js MAKE_FLAGS= prefix=${PREFIX} MAKE_FLAGS+= GITWEB_FAVICON=/gitweb/git-favicon.png MAKE_FLAGS+= GITWEB_CONFIG=${GITWEB_CONFIG} MAKE_FLAGS+= GITWEB_CSS=/gitweb/gitweb.css MAKE_FLAGS+= GITWEB_HOMETEXT=${GITWEB_HTDOCS}/indextext.html MAKE_FLAGS+= GITWEB_LOGO=/gitweb/git-logo.png +MAKE_FLAGS+= GITWEB_JS=/gitweb/gitweb.js MAKE_FLAGS+= PERL_PATH=${PERL5:Q} GITWEB_CONFIG= ${PKG_SYSCONFDIR}/gitweb.conf @@ -38,7 +40,7 @@ INSTALLATION_DIRS= libexec/cgi-bin share/doc/gitweb \ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/gitweb/gitweb.cgi ${DESTDIR}${GITWEB_CGIBIN} -.for f in git-favicon.png git-logo.png gitweb.css +.for f in git-favicon.png git-logo.png gitweb.css gitweb.js ${INSTALL_DATA} ${WRKSRC}/gitweb/static/${f} ${DESTDIR}${GITWEB_HTDOCS} .endfor ${INSTALL_DATA} ${WRKSRC}/gitweb/README \ diff --git a/www/gitweb/PLIST b/www/gitweb/PLIST index ca5583ca93d..5a9c8a9a362 100644 --- a/www/gitweb/PLIST +++ b/www/gitweb/PLIST @@ -1,7 +1,8 @@ -@comment $NetBSD: PLIST,v 1.3 2010/03/05 16:12:07 gdt Exp $ +@comment $NetBSD: PLIST,v 1.4 2015/08/30 06:56:19 ryoon Exp $ libexec/cgi-bin/gitweb.cgi share/doc/gitweb/README share/examples/gitweb/gitweb.conf share/examples/gitweb/htdocs/git-favicon.png share/examples/gitweb/htdocs/git-logo.png share/examples/gitweb/htdocs/gitweb.css +share/examples/gitweb/htdocs/gitweb.js |