svn commit: r361154 - head/deskutils/surrealtodo

Vanilla I. Shu vanilla at FreeBSD.org
Tue Jul 8 01:47:42 UTC 2014


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 @@
+ at owner %%OWNER%%
+ at 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
+ at owner
+ at group
 @dirrm %%WWWDIR%%/theme/dusk_to_dawn/jquery/images
 @dirrm %%WWWDIR%%/theme/dusk_to_dawn/jquery
 @dirrm %%WWWDIR%%/theme/dusk_to_dawn/images/trash


More information about the svn-ports-all mailing list