Index: head/devel/cgit/Makefile =================================================================== --- head/devel/cgit/Makefile (revision 282384) +++ head/devel/cgit/Makefile (revision 282385) @@ -1,55 +1,58 @@ # New ports collection makefile for: cgit # Date created: Oct 16 2008 # Whom: Florent Thoumie # # $FreeBSD$ # PORTNAME= cgit PORTVERSION= 0.9.0.2 +PORTREVISION= 1 CATEGORIES= devel www MASTER_SITES= http://hjemli.net/git/cgit/snapshot/:cgit \ ${MASTER_SITE_KERNEL_ORG:S/$/:git/g} MASTER_SITE_SUBDIR= software/scm/git/:git DISTFILES= cgit-${PORTVERSION}${EXTRACT_SUFX}:cgit \ git-${GIT_VERSION}.tar.bz2:git -GIT_VERSION= 1.7.4 MAINTAINER= bapt@FreeBSD.org COMMENT= A fast webinterface for git LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING +GIT_VERSION= 1.7.4 USE_BZIP2= yes USE_GMAKE= yes USE_ICONV= yes USE_GMAKE= yes USE_OPENSSL= yes CFLAGS+= -I${LOCALBASE}/include MAKE_ENV+= CGIT_SCRIPT_PATH=${WWWDIR} \ CGIT_CONFIG=${PREFIX}/etc/cgitrc \ NEEDS_LIBICONV=yes LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message SUB_LIST+= PORTNAME=${PORTNAME} +PLIST_SUB+= PORTNAME=${PORTNAME} post-extract: @${RMDIR} ${WRKSRC}/git @${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git post-patch: @${REINPLACE_CMD} -e '/^CC =/d' ${WRKSRC}/git/Makefile @${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' \ -e 's,/usr,${PREFIX},g' ${WRKSRC}/Makefile post-install: @${MKDIR} /var/cache/${PORTNAME} @${CHOWN} ${WWWOWN}:${WWWGRP} /var/cache/${PORTNAME} + @${CAT} ${PKGMESSAGE} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}rc.5.txt ${DOCSDIR}/ .endif .include Property changes on: head/devel/cgit/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.23 \ No newline at end of property +1.24 \ No newline at end of property Index: head/devel/cgit/files/pkg-message.in =================================================================== --- head/devel/cgit/files/pkg-message.in (revision 282384) +++ head/devel/cgit/files/pkg-message.in (revision 282385) @@ -1,16 +1,16 @@ --------------------------------------------------- %%PORTNAME%% has been successfully installed. Now you need to change your webserver configuration as follows: - + AllowOverride None Options ExecCGI Order allow,deny Allow from all Documentation and sample configuration can be found in %%DOCSDIR%%/cgitrc.5.txt. --------------------------------------------------- Property changes on: head/devel/cgit/files/pkg-message.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/devel/cgit/pkg-plist =================================================================== --- head/devel/cgit/pkg-plist (revision 282384) +++ head/devel/cgit/pkg-plist (revision 282385) @@ -1,12 +1,13 @@ %%WWWDIR%%/cgit.cgi %%WWWDIR%%/cgit.css %%WWWDIR%%/cgit.png %%PORTDOCS%%%%DOCSDIR%%/cgitrc.5.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% lib/cgit/filters/commit-links.sh lib/cgit/filters/syntax-highlighting.sh @dirrm lib/cgit/filters @dirrm lib/cgit @dirrm %%WWWDIR%% @exec mkdir -p /var/cache/%%PORTNAME%% @unexec rmdir /var/cache/%%PORTNAME%% 2>/dev/null || true +@unexec rmdir /var/cache 2>/dev/null || true Property changes on: head/devel/cgit/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property