From owner-svn-ports-head@FreeBSD.ORG Sun Jun 16 23:14:42 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1F5104D8; Sun, 16 Jun 2013 23:14:42 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EA90C1DD0; Sun, 16 Jun 2013 23:14:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5GNEfGm020860; Sun, 16 Jun 2013 23:14:41 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5GNEfHT020858; Sun, 16 Jun 2013 23:14:41 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201306162314.r5GNEfHT020858@svn.freebsd.org> From: Antoine Brodin Date: Sun, 16 Jun 2013 23:14:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321081 - head/devel/cgit X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2013 23:14:42 -0000 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 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