- install filters in a better place and track them in plist

- bump port revision

Reported by:	pointy hat (pav)
This commit is contained in:
Baptiste Daroussin 2011-03-11 09:37:47 +00:00
parent e1b7efc339
commit 033cc3d3f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270662
2 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= cgit
PORTVERSION= 0.9
PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= http://hjemli.net/git/cgit/snapshot/:cgit \
${MASTER_SITE_KERNEL_ORG:S/$/:git/g}
@ -42,7 +43,8 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e '/^CC =/d' ${WRKSRC}/git/Makefile
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' \
-e 's,/usr,${PREFIX},g' ${WRKSRC}/Makefile
post-install:
@${MKDIR} /var/cache/${PORTNAME}

View file

@ -3,6 +3,10 @@
%%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