Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 11:51:35 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309721 - head/devel/cgit
Message-ID:  <201212311151.qBVBpZ1Z023734@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311151.qBVBpZ1Z023734>