1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Ok, this time it's correct, I promise. Fix packing list.

Reported by:	QAT (I hate you in secret)
This commit is contained in:
Florent Thoumie 2008-10-16 15:14:45 +00:00
parent 72b28f4ddd
commit 73b540cfc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221648
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= cgit
PORTVERSION= 0.8.1
PORTREVISION= 1
CATEGORIES= devel www
MASTER_SITES= http://hjemli.net/git/cgit/snapshot/:cgit \
http://www.kernel.org/pub/software/scm/git/:git
@ -38,9 +39,10 @@ post-extract:
@${MV} ${WRKDIR}/git-${GIT_VERSION} ${WRKSRC}/git
post-install:
@${MKDIR} /var/cache/${PORTNAME} ${DOCSDIR}
@${MKDIR} /var/cache/${PORTNAME}
@${CHOWN} ${WWWOWN}:${WWWGRP} /var/cache/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}rc.5.txt ${DOCSDIR}/
.endif

View File

@ -3,5 +3,6 @@
%%WWWDIR%%/cgit.png
%%PORTDOCS%%%%DOCSDIR%%/cgitrc.5.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%WWWDIR%%
@exec mkdir -p /var/cache/%%PORTNAME%%
@unexec rmdir /var/cache/%%PORTNAME%% 2>/dev/null || true