From 514d8984e23a8f42c033d62418f5d48c6b151ced Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Tue, 8 Jul 2014 01:47:41 +0000 Subject: [PATCH] Stagify. --- deskutils/surrealtodo/Makefile | 10 +++------- deskutils/surrealtodo/pkg-plist | 4 ++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/deskutils/surrealtodo/Makefile b/deskutils/surrealtodo/Makefile index 98123db0f3ab..d1f02852b768 100644 --- a/deskutils/surrealtodo/Makefile +++ b/deskutils/surrealtodo/Makefile @@ -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 .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 diff --git a/deskutils/surrealtodo/pkg-plist b/deskutils/surrealtodo/pkg-plist index c584bf33b944..896196335478 100644 --- a/deskutils/surrealtodo/pkg-plist +++ b/deskutils/surrealtodo/pkg-plist @@ -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