summaryrefslogtreecommitdiff
path: root/www/gitweb
diff options
context:
space:
mode:
authorapb <apb@pkgsrc.org>2012-02-29 21:19:02 +0000
committerapb <apb@pkgsrc.org>2012-02-29 21:19:02 +0000
commit246f48979962a2c2c180f77d155bca6eb3619eb3 (patch)
treecbeaf95f9704b6470dbb7b5995705f0ac48a42f8 /www/gitweb
parent366c0f3c2479442803e93f757451564eeb2d1bf1 (diff)
downloadpkgsrc-246f48979962a2c2c180f77d155bca6eb3619eb3.tar.gz
Update gitweb to version 1.3.8.4, and use .include to
keep the version number in sync with that of scmgit.
Diffstat (limited to 'www/gitweb')
-rw-r--r--www/gitweb/Makefile16
-rw-r--r--www/gitweb/distinfo8
2 files changed, 13 insertions, 11 deletions
diff --git a/www/gitweb/Makefile b/www/gitweb/Makefile
index 49d85d41dad..4569521cc00 100644
--- a/www/gitweb/Makefile
+++ b/www/gitweb/Makefile
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.9 2010/12/17 01:19:17 gdt Exp $
+# $NetBSD: Makefile,v 1.10 2012/02/29 21:19:02 apb Exp $
#
-DISTNAME= git-${VERSION}
-VERSION= 1.7.3.4
+.include "../../devel/scmgit/Makefile.version"
+
+DISTNAME= git-${GIT_VERSION}
PKGNAME= ${DISTNAME:S/git/gitweb/}
CATEGORIES= www
MASTER_SITES= http://www.kernel.org/pub/software/scm/git/
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.gz
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://git.or.cz/
@@ -15,12 +16,13 @@ COMMENT= Web interface for GIT repositories
PKG_DESTDIR_SUPPORT= user-destdir
#DEPENDS+= apache{,2,22}-[0-9]*:../../www/apache22
-DEPENDS+= scmgit-base>=${VERSION}:../../devel/scmgit-base
+DEPENDS+= scmgit-base>=${GIT_VERSION}:../../devel/scmgit-base
#EXTRACT_USING= gtar
USE_TOOLS+= gmake perl:run
-BUILD_TARGET= gitweb/gitweb.cgi
+BUILD_DIRS= gitweb
+BUILD_TARGET= gitweb.cgi
MAKE_FLAGS= prefix=${PREFIX}
MAKE_FLAGS+= GITWEB_FAVICON=/gitweb/git-favicon.png
MAKE_FLAGS+= GITWEB_CONFIG=${GITWEB_CONFIG}
@@ -38,7 +40,7 @@ GITWEB_EGDIR= ${PREFIX}/share/examples/gitweb
CONF_FILES= ${GITWEB_EGDIR}/gitweb.conf ${PKG_SYSCONFDIR}/gitweb.conf
MESSAGE_SUBST+= CONFFILE=${PKG_SYSCONFDIR}/gitweb.conf
-INSTALLATION_DIRS= libexec/cgi-bin share/httpd/htdocs \
+INSTALLATION_DIRS= libexec/cgi-bin \
share/doc/gitweb \
${GITWEB_EGDIR} ${GITWEB_HTDOCS}
diff --git a/www/gitweb/distinfo b/www/gitweb/distinfo
index 6d6f97eda52..bc931f4bc80 100644
--- a/www/gitweb/distinfo
+++ b/www/gitweb/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2010/12/17 01:19:17 gdt Exp $
+$NetBSD: distinfo,v 1.5 2012/02/29 21:19:02 apb Exp $
-SHA1 (git-1.7.3.4.tar.bz2) = 8bda6668531fc41a72a680978798deb9ee048846
-RMD160 (git-1.7.3.4.tar.bz2) = 37cdb8b50c802655643a243ef26fe3d50145d29c
-Size (git-1.7.3.4.tar.bz2) = 2635522 bytes
+SHA1 (git-1.7.8.4.tar.gz) = add7b05f26216181d1b148dde298432132552b0f
+RMD160 (git-1.7.8.4.tar.gz) = ee203b3d6252c2df150ef7904c6b95672dea4aff
+Size (git-1.7.8.4.tar.gz) = 3544195 bytes