Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 01:47:41 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361154 - head/deskutils/surrealtodo
Message-ID:  <201407080147.s681lfAg036761@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Jul  8 01:47:41 2014
New Revision: 361154
URL: http://svnweb.freebsd.org/changeset/ports/361154
QAT: https://qat.redports.org/buildarchive/r361154/

Log:
  Stagify.

Modified:
  head/deskutils/surrealtodo/Makefile
  head/deskutils/surrealtodo/pkg-plist

Modified: head/deskutils/surrealtodo/Makefile
==============================================================================
--- head/deskutils/surrealtodo/Makefile	Tue Jul  8 01:42:17 2014	(r361153)
+++ head/deskutils/surrealtodo/Makefile	Tue Jul  8 01:47:41 2014	(r361154)
@@ -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/l
 .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>

Modified: head/deskutils/surrealtodo/pkg-plist
==============================================================================
--- head/deskutils/surrealtodo/pkg-plist	Tue Jul  8 01:42:17 2014	(r361153)
+++ head/deskutils/surrealtodo/pkg-plist	Tue Jul  8 01:47:41 2014	(r361154)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407080147.s681lfAg036761>