aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/surrealtodo
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-08 09:47:41 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-08 09:47:41 +0800
commit91bc864709c4bf2198ebb37ea921358b8d601ca8 (patch)
treea74b894c12abef09d7a01ec8c6daa9d25d1b8c24 /deskutils/surrealtodo
parent397f32e6f2fc6a47e728e4c2d3c318c2dcf92570 (diff)
downloadfreebsd-ports-gnome-91bc864709c4bf2198ebb37ea921358b8d601ca8.tar.gz
freebsd-ports-gnome-91bc864709c4bf2198ebb37ea921358b8d601ca8.tar.zst
freebsd-ports-gnome-91bc864709c4bf2198ebb37ea921358b8d601ca8.zip
Stagify.
Diffstat (limited to 'deskutils/surrealtodo')
-rw-r--r--deskutils/surrealtodo/Makefile10
-rw-r--r--deskutils/surrealtodo/pkg-plist4
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 <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>
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