aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 11:51:35 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 11:51:35 +0000
commit7c53903383f1472446e120309821dfe0451a1c18 (patch)
tree5256dcebcb669dcee677d0fa4e27ffc09d74eb6f
parentc19848a8f3122f250f30459d1586f388abc9bf6d (diff)
downloadports-7c53903383f1472446e120309821dfe0451a1c18.tar.gz
ports-7c53903383f1472446e120309821dfe0451a1c18.zip
Notes
-rw-r--r--devel/cgit/Makefile11
-rw-r--r--devel/cgit/pkg-descr2
2 files changed, 5 insertions, 8 deletions
diff --git a/devel/cgit/Makefile b/devel/cgit/Makefile
index ed150f0c229b..b9d06572fa40 100644
--- a/devel/cgit/Makefile
+++ b/devel/cgit/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cgit
-# Date created: Oct 16 2008
-# Whom: Florent Thoumie <flz@FreeBSD.org>
-#
+# Created by: Florent Thoumie <flz@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= cgit
PORTVERSION= 0.9.0.3
@@ -18,7 +14,6 @@ MAINTAINER= bapt@FreeBSD.org
COMMENT= A fast webinterface for git
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
GIT_VERSION= 1.7.4
USE_BZIP2= yes
@@ -36,6 +31,8 @@ SUB_FILES= pkg-message
SUB_LIST+= PORTNAME=${PORTNAME}
PLIST_SUB+= PORTNAME=${PORTNAME}
+.include <bsd.port.options.mk>
+
post-extract:
@${RMDIR} ${WRKSRC}/git
@${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git
@@ -50,7 +47,7 @@ post-install:
@${MKDIR} /var/cache/${PORTNAME}
@${CHOWN} ${WWWOWN}:${WWWGRP} /var/cache/${PORTNAME}
@${CAT} ${PKGMESSAGE}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}rc.5.txt ${DOCSDIR}/
.endif
diff --git a/devel/cgit/pkg-descr b/devel/cgit/pkg-descr
index 36d503fb731a..6aae96ccbb6c 100644
--- a/devel/cgit/pkg-descr
+++ b/devel/cgit/pkg-descr
@@ -1,4 +1,4 @@
Cgit is an attempt to create a fast web interface for the git scm, using
a builtin cache to decrease server io-pressure.
-WWW: http://hjemli.net/git/
+WWW: http://hjemli.net/git/