svn commit: r356110 - head/security/phpdeadlock
Stefan Esser
se at FreeBSD.org
Sun Jun 1 12:40:00 UTC 2014
Author: se
Date: Sun Jun 1 12:39:59 2014
New Revision: 356110
URL: http://svnweb.freebsd.org/changeset/ports/356110
QAT: https://qat.redports.org/buildarchive/r356110/
Log:
Add stage support.
Approved by: antoine (mentor)
Modified:
head/security/phpdeadlock/Makefile
head/security/phpdeadlock/pkg-plist
Modified: head/security/phpdeadlock/Makefile
==============================================================================
--- head/security/phpdeadlock/Makefile Sun Jun 1 12:38:08 2014 (r356109)
+++ head/security/phpdeadlock/Makefile Sun Jun 1 12:39:59 2014 (r356110)
@@ -11,8 +11,10 @@ DISTNAME= Deadlock-${PORTVERSION}-Stable
MAINTAINER= ports at FreeBSD.org
COMMENT= Web-based user authentication/password protection system
-WRKSRC= ${WRKDIR}/Deadlock-1.01
-DLURL?= ${PORTNAME}
+LICENSE= GPLv2
+
+WRKSRC= ${WRKDIR}/Deadlock-1.01
+DLURL?= ${PORTNAME}
DLDIR= www/${DLURL}
PORTDOCS= CHANGES.txt COPYING.txt UPGRADE.txt
@@ -23,8 +25,8 @@ NO_BUILD= yes
SUB_FILES= pkg-message
SUB_LIST= DLURL=${DLURL} DLDIR=${DLDIR}
+PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
-NO_STAGE= yes
post-extract:
@cd ${WRKDIR} && ${MV} "Deadlock v1.01" Deadlock-1.01
@@ -32,19 +34,8 @@ post-patch:
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
do-install:
- @cd ${WRKSRC}/deadlock && ${COPYTREE_SHARE} . ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
- @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
- ${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
- @${CHMOD} 777 ${WWWDIR}/db_config.php
- @${ECHO_CMD} '@exec ${CHMOD} 777 \
- ${WWWDIR:S|^${PREFIX}/|%D/|}/db_config.php' >> ${TMPPLIST}
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${INSTALL} -d ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
- @${CAT} ${PKGMESSAGE}
+ @cd ${WRKSRC}/deadlock && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/security/phpdeadlock/pkg-plist
==============================================================================
--- head/security/phpdeadlock/pkg-plist Sun Jun 1 12:38:08 2014 (r356109)
+++ head/security/phpdeadlock/pkg-plist Sun Jun 1 12:39:59 2014 (r356110)
@@ -1,3 +1,5 @@
+ at owner %%WWWOWN%%
+ at group %%WWWGRP%%
%%WWWDIR%%/.htaccess
%%WWWDIR%%/admin/.htaccess
%%WWWDIR%%/admin/bulkemail.php
@@ -13,7 +15,9 @@
%%WWWDIR%%/admin/userlist.php
%%WWWDIR%%/admin/userrequests.php
%%WWWDIR%%/admin/validateuser.php
+ at mode 777
%%WWWDIR%%/db_config.php
+ at mode
%%WWWDIR%%/fckeditor/_documentation.html
%%WWWDIR%%/fckeditor/_whatsnew.html
%%WWWDIR%%/fckeditor/editor/css/behaviors/disablehandles.htc
More information about the svn-ports-all
mailing list