Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2013 23:14:41 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321081 - head/devel/cgit
Message-ID:  <201306162314.r5GNEfHT020858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Jun 16 23:14:41 2013
New Revision: 321081
URL: http://svnweb.freebsd.org/changeset/ports/321081

Log:
  - Fix build WITHOUT_NLS, NO_GETTEXT must be passed to make
  - Fix plist with pkg_install
  - Pass maintainership to reporter
  
  PR:		ports/179599
  Reported by:	Kevin Zheng

Modified:
  head/devel/cgit/Makefile
  head/devel/cgit/pkg-plist

Modified: head/devel/cgit/Makefile
==============================================================================
--- head/devel/cgit/Makefile	Sun Jun 16 22:42:53 2013	(r321080)
+++ head/devel/cgit/Makefile	Sun Jun 16 23:14:41 2013	(r321081)
@@ -3,15 +3,15 @@
 
 PORTNAME=	cgit
 PORTVERSION=	0.9.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel www
 MASTER_SITES=	http://git.zx2c4.com/cgit/snapshot/:cgit \
 		GOOGLE_CODE:git
 DISTFILES=	cgit-${PORTVERSION}${EXTRACT_SUFX}:cgit \
 		git-${GIT_VERSION}.tar.gz:git
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Fast webinterface for git
+MAINTAINER=	kevinz5000@gmail.com
+COMMENT=	Fast web frontend for Git repositories
 
 LICENSE=	GPLv2
 
@@ -23,15 +23,15 @@ USES=		iconv shebangfix
 SHEBANG_FILES=	filters/html-converters/resources/markdown.pl
 USE_GMAKE=	yes
 USE_OPENSSL=	yes
-CFLAGS+=	-I${LOCALBASE}/include -DNO_GETTEXT=1
+CFLAGS+=	-I${LOCALBASE}/include
 MAKE_ARGS+=	CGIT_SCRIPT_PATH=${WWWDIR} \
-		CGIT_CONFIG=${PREFIX}/etc/cgitrc
+		CGIT_CONFIG=${PREFIX}/etc/cgitrc NO_GETTEXT=1
 LDFLAGS+=	-L${LOCALBASE}/lib
 MAKE_JOBS_SAFE=	yes
 
 SUB_FILES=	pkg-message
 SUB_LIST+=	PORTNAME=${PORTNAME}
-PLIST_SUB+=	PORTNAME=${PORTNAME}
+PLIST_SUB+=	PORTNAME=${PORTNAME} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
 
 .include <bsd.port.options.mk>
 

Modified: head/devel/cgit/pkg-plist
==============================================================================
--- head/devel/cgit/pkg-plist	Sun Jun 16 22:42:53 2013	(r321080)
+++ head/devel/cgit/pkg-plist	Sun Jun 16 23:14:41 2013	(r321081)
@@ -13,12 +13,11 @@ lib/cgit/filters/html-converters/rst2htm
 lib/cgit/filters/html-converters/txt2html
 lib/cgit/filters/syntax-highlighting.py
 lib/cgit/filters/syntax-highlighting.sh
-lib/cgit/filters/about-formatting.sh
-@dirrm lib/cgit/filters/html-converters/resources/
-@dirrm lib/cgit/filters/html-converters/
+@dirrm lib/cgit/filters/html-converters/resources
+@dirrm lib/cgit/filters/html-converters
 @dirrm lib/cgit/filters
 @dirrm lib/cgit
 @dirrm %%WWWDIR%%
 @exec mkdir -p /var/cache/%%PORTNAME%%
-@dirrmtry /var/cache/%%PORTNAME%%
-@dirrmtry /var/cache
+@exec chown %%WWWOWN%%:%%WWWGRP%% /var/cache/%%PORTNAME%%
+@unexec rmdir /var/cache/%%PORTNAME%% 2>/dev/null || true



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