1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support [1]

- Pet portlint
- Reset maintainer to ports@

PR:		190010 [1]
Submitted by:	Joseph Benden <joe@thrallingpenguin.com> [1]
This commit is contained in:
Wen Heping 2014-05-20 15:53:45 +00:00
parent 2fed7a482e
commit 4069d6aaa7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354651
2 changed files with 8 additions and 9 deletions

View File

@ -7,8 +7,8 @@ CATEGORIES= www
MASTER_SITES= SF/evocms/${PORTNAME}/b2evo%20${PORTVERSION}-stable
DISTNAME= ${PORTNAME}-${PORTVERSION}-${B2EVO_DATE}
MAINTAINER= wen@FreeBSD.org
COMMENT= A multilingual, multiuser, multi-blog engine
MAINTAINER= ports@FreeBSD.org
COMMENT= Multilingual, multiuser, multi-blog engine
PATCH_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
@ -29,7 +29,6 @@ WARNING= ${PKGDIR}/pkg-warning
OPTIONS_DEFINE= MYSQL
OPTIONS_DEFAULT= MYSQL
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@ -47,11 +46,11 @@ pre-install:
&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/${B2EVO_DIR}
@${CHMOD} 755 ${PREFIX}/${B2EVO_DIR}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${B2EVO_DIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${B2EVO_DIR}
@${CHMOD} 665 ${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
${MKDIR} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
@${CHMOD} 665 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
post-install:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \

View File

@ -2,4 +2,4 @@ b2evolution is probably the most comprehensive blog engine you can find!
It includes almost any feature you could expect from a blog tool, and more !
Check out the features, not to mention third party plug-ins!
WWW: http://b2evolution.net/
WWW: http://b2evolution.net/