diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2016-11-30 20:49:50 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2016-11-30 20:49:50 +0000 |
commit | 2c73985cb646dcf9164bf9956f9db97b71310edf (patch) | |
tree | b4e728c02e8f31476cfd890a8d9262918ce00773 /devel/cgit | |
parent | 2d9cf737544fd18e2aa2ef54a768959a3a6ab912 (diff) | |
download | ports-2c73985cb646dcf9164bf9956f9db97b71310edf.tar.gz ports-2c73985cb646dcf9164bf9956f9db97b71310edf.zip |
Notes
Diffstat (limited to 'devel/cgit')
-rw-r--r-- | devel/cgit/Makefile | 9 | ||||
-rw-r--r-- | devel/cgit/distinfo | 6 | ||||
-rw-r--r-- | devel/cgit/files/pkg-message.in | 5 |
3 files changed, 11 insertions, 9 deletions
diff --git a/devel/cgit/Makefile b/devel/cgit/Makefile index 0ff0c0836a34..147e084a250d 100644 --- a/devel/cgit/Makefile +++ b/devel/cgit/Makefile @@ -2,6 +2,7 @@ PORTNAME= cgit PORTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= devel www MASTER_SITES= http://git.zx2c4.com/cgit/snapshot/:cgit \ https://www.kernel.org/pub/software/scm/git/:git @@ -14,7 +15,7 @@ COMMENT= Fast, lightweight web frontend for Git repositories LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -GIT_VERSION= 2.10.2 +GIT_VERSION= 2.11.0 USES= cpe gmake iconv shebangfix ssl tar:xz CPE_VENDOR= lars_hjemli SHEBANG_FILES= filters/html-converters/rst2html @@ -22,7 +23,7 @@ SHEBANG_FILES= filters/html-converters/rst2html CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} MAKE_ARGS+= CGIT_SCRIPT_PATH=${WWWDIR} CGIT_CONFIG=${PREFIX}/etc/cgitrc \ - prefix=${PREFIX} NO_GETTEXT=1 NO_LUA=1 NO_R_TO_GCC_LINKER=1 + prefix=${PREFIX} NO_GETTEXT=1 NO_LUA=1 NO_R_TO_GCC_LINKER=1 V=1 SUB_FILES= pkg-message @@ -41,8 +42,10 @@ post-patch: ${WRKSRC}/git/Makefile post-install: + ${STRIP_CMD} ${STAGEDIR}${WWWDIR}/cgit.cgi + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - @${STRIP_CMD} ${STAGEDIR}${WWWDIR}/cgit.cgi .include <bsd.port.mk> diff --git a/devel/cgit/distinfo b/devel/cgit/distinfo index 4aef6f94debd..1a65214bbc91 100644 --- a/devel/cgit/distinfo +++ b/devel/cgit/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1479922408 +TIMESTAMP = 1480538696 SHA256 (cgit-1.1.tar.xz) = 0889af29be15fc981481caa09579f982b9740fe9fd2860ab87dff286f4635890 SIZE (cgit-1.1.tar.xz) = 86268 -SHA256 (git-2.10.2.tar.xz) = 94802903dd707d85ca3b9a2be35e936a54ce86375f52c6a789efe7ce7e238671 -SIZE (git-2.10.2.tar.xz) = 4106108 +SHA256 (git-2.11.0.tar.xz) = 7e7e8d69d494892373b87007674be5820a4bc1ef596a0117d03ea3169119fd0b +SIZE (git-2.11.0.tar.xz) = 4197984 diff --git a/devel/cgit/files/pkg-message.in b/devel/cgit/files/pkg-message.in index 9c3ab0761d21..4d50bfb98aff 100644 --- a/devel/cgit/files/pkg-message.in +++ b/devel/cgit/files/pkg-message.in @@ -1,13 +1,12 @@ --------------------------------------------------- cgit has been successfully installed. -You probably want to add a 'Directory' section for cgit, along the lines of: +To enable cgit in Apache, use something like the following: <Directory "%%WWWDIR%%/"> AllowOverride None Options +ExecCGI - Order allow,deny - Allow from all + Require all granted </Directory> Documentation and sample configuration can be found |