diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-31 19:51:35 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-31 19:51:35 +0800 |
commit | 9548089dead18a4a867fa69925b1fb9036adccfa (patch) | |
tree | 5256dcebcb669dcee677d0fa4e27ffc09d74eb6f /devel | |
parent | 580e6e73fc867b335068fd56ba2b89665d1e42dc (diff) | |
download | freebsd-ports-gnome-9548089dead18a4a867fa69925b1fb9036adccfa.tar.gz freebsd-ports-gnome-9548089dead18a4a867fa69925b1fb9036adccfa.tar.zst freebsd-ports-gnome-9548089dead18a4a867fa69925b1fb9036adccfa.zip |
Trim header
Convert to optionsng
remove useless LICENSE_FILE
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cgit/Makefile | 11 | ||||
-rw-r--r-- | devel/cgit/pkg-descr | 2 |
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/ |