mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
This commit is contained in:
parent
63e7c4d170
commit
514d8984e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361154
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user