mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support [1]
- Pet portlint PR: 190042 [1] Submitted by: Joseph Benden <joe@thrallingpenguin.com> [1]
This commit is contained in:
parent
3be1f5925b
commit
66ba76aae4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354852
@ -8,14 +8,11 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20v${PORTVERSION}
|
|||||||
DISTNAME= ${PORTNAME}_${PORTVERSION}_full
|
DISTNAME= ${PORTNAME}_${PORTVERSION}_full
|
||||||
|
|
||||||
MAINTAINER= wen@FreeBSD.org
|
MAINTAINER= wen@FreeBSD.org
|
||||||
COMMENT= A content management system written in PHP
|
COMMENT= Content management system written in PHP
|
||||||
|
|
||||||
USE_PHP= mysql xml
|
USE_PHP= mysql xml
|
||||||
WRKSRC= ${WRKDIR}/e107
|
WRKSRC= ${WRKDIR}/e107
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
PLIST= ${WRKDIR}/plist
|
PLIST= ${WRKDIR}/plist
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
@ -35,16 +32,16 @@ pre-install:
|
|||||||
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#g" >> ${PLIST}
|
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#g" >> ${PLIST}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
||||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
||||||
@${CHMOD} -R 755 ${WWWDIR}
|
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
|
||||||
|
|
||||||
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
|
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' \
|
||||||
>> ${TMPPLIST}
|
>> ${TMPPLIST}
|
||||||
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
|
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}' \
|
||||||
>> ${TMPPLIST}
|
>> ${TMPPLIST}
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user