1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
This commit is contained in:
Vanilla I. Shu 2014-07-08 01:47:41 +00:00
parent 63e7c4d170
commit 514d8984e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361154
2 changed files with 7 additions and 7 deletions

View File

@ -20,12 +20,12 @@ WWWGRP= ${WWWOWN}
PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message
SUB_FILES= pkg-message
PLIST_DIRSTRY= %%WWWDIR%%
PLIST_SUB= OWNER="${WWWOWN}" GROUP="${WWWGRP}"
OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD
OPTIONS_DEFAULT= APACHE
LIGHTTPD_DESC= Use Lighttpd webserver
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPOSTGRE}
@ -39,11 +39,7 @@ RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif
do-install:
@${MKDIR} ${WWWDIR}
@${CP} -r ${WRKDIR}/${PORTNAME}_v${PORTVERSION}/* ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
post-install:
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -r ${WRKDIR}/${PORTNAME}_v${PORTVERSION}/* ${STAGEDIR}${WWWDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
@owner %%OWNER%%
@group %%GROUP%%
%%WWWDIR%%/README.txt
%%WWWDIR%%/ajax.php
%%WWWDIR%%/compile_translation.sh
@ -318,6 +320,8 @@
%%WWWDIR%%/theme/dusk_to_dawn/styles.css
%%WWWDIR%%/theme/theme_instructions.txt
%%WWWDIR%%/todo.class.php
@owner
@group
@dirrm %%WWWDIR%%/theme/dusk_to_dawn/jquery/images
@dirrm %%WWWDIR%%/theme/dusk_to_dawn/jquery
@dirrm %%WWWDIR%%/theme/dusk_to_dawn/images/trash