diff options
author | antoine <antoine@FreeBSD.org> | 2013-06-17 07:14:41 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-06-17 07:14:41 +0800 |
commit | 2102b3b9cc6e545a713663bce3195d4798646bdd (patch) | |
tree | dd5eb230e9497082e4fc7b88a0137ef4a9fdaa31 /devel | |
parent | 0d65513fb140c8216095b3f18424cdfba1a350d9 (diff) | |
download | freebsd-ports-gnome-2102b3b9cc6e545a713663bce3195d4798646bdd.tar.gz freebsd-ports-gnome-2102b3b9cc6e545a713663bce3195d4798646bdd.tar.zst freebsd-ports-gnome-2102b3b9cc6e545a713663bce3195d4798646bdd.zip |
- 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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cgit/Makefile | 12 | ||||
-rw-r--r-- | devel/cgit/pkg-plist | 9 |
2 files changed, 10 insertions, 11 deletions
diff --git a/devel/cgit/Makefile b/devel/cgit/Makefile index 5448c561f7e1..984d98f528f4 100644 --- a/devel/cgit/Makefile +++ b/devel/cgit/Makefile @@ -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> diff --git a/devel/cgit/pkg-plist b/devel/cgit/pkg-plist index 7b6283cdc481..2dd56df57b14 100644 --- a/devel/cgit/pkg-plist +++ b/devel/cgit/pkg-plist @@ -13,12 +13,11 @@ lib/cgit/filters/html-converters/rst2html 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 |