svn commit: r309721 - head/devel/cgit
Baptiste Daroussin
bapt at FreeBSD.org
Mon Dec 31 11:51:36 UTC 2012
Author: bapt
Date: Mon Dec 31 11:51:35 2012
New Revision: 309721
URL: http://svnweb.freebsd.org/changeset/ports/309721
Log:
Trim header
Convert to optionsng
remove useless LICENSE_FILE
Modified:
head/devel/cgit/Makefile
head/devel/cgit/pkg-descr
Modified: head/devel/cgit/Makefile
==============================================================================
--- head/devel/cgit/Makefile Mon Dec 31 11:49:36 2012 (r309720)
+++ head/devel/cgit/Makefile Mon Dec 31 11:51:35 2012 (r309721)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cgit
-# Date created: Oct 16 2008
-# Whom: Florent Thoumie <flz at FreeBSD.org>
-#
+# Created by: Florent Thoumie <flz at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= cgit
PORTVERSION= 0.9.0.3
@@ -18,7 +14,6 @@ MAINTAINER= bapt at 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
Modified: head/devel/cgit/pkg-descr
==============================================================================
--- head/devel/cgit/pkg-descr Mon Dec 31 11:49:36 2012 (r309720)
+++ head/devel/cgit/pkg-descr Mon Dec 31 11:51:35 2012 (r309721)
@@ -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/
More information about the svn-ports-all
mailing list