mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 3.3.2
- Add conflict list - Change file ownership to www wp-content directory PR: ports/167219 Submitted by: Takefu <takefu@airport.fm> (maintainer)
This commit is contained in:
parent
27e8ca19a9
commit
f9ba2f5354
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297537
3 changed files with 21 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= wordpress
|
||||
PORTVERSION= 3.3.1
|
||||
PORTVERSION= 3.3.2
|
||||
CATEGORIES= japanese www
|
||||
MASTER_SITES= http://ja.wordpress.org/
|
||||
PKGNAMESUFFIX= -ja
|
||||
|
@ -18,14 +18,17 @@ COMMENT= A state-of-the-art semantic personal publishing platform
|
|||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/license.txt
|
||||
|
||||
CONFLICTS_INSTALL= wordpress-3.* de-wordpress-de-3.* ru-wordpress-ru-3.*
|
||||
CONFLICTS_INSTALL= wordpress-3.* de-wordpress-de-3.* ru-wordpress-ru-3.*\
|
||||
zh-wordpress-zh_CN-3.* zh-wordpress-zh_TW-3.*
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PHP= curl gd mysql pcre tokenizer xml zip
|
||||
WANT_PHP_WEB= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_FILES= pkg-message pkg-install
|
||||
SUB_LIST= CHGRP="${CHGRP}" CHOWN="${CHOWN}" CHMOD="${CHMOD}"\
|
||||
FIND="${FIND}" WWWGRP="${WWWGRP}" WWWOWN="${WWWOWN}"
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
PORTDOCS= license.txt readme.html
|
||||
|
||||
|
@ -50,6 +53,7 @@ do-install:
|
|||
.endif
|
||||
|
||||
post-install:
|
||||
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (wordpress-3.3.1-ja.tar.gz) = 1a662f81609e5a3b3ecdfcab4ee01f838471e2c9389e19f949f3a7d4bdd32dd0
|
||||
SIZE (wordpress-3.3.1-ja.tar.gz) = 4317205
|
||||
SHA256 (wordpress-3.3.2-ja.tar.gz) = 27f11b63fcd4563d2dd207a20de7d5a275a19c0818db164f9588b53be16c0d1b
|
||||
SIZE (wordpress-3.3.2-ja.tar.gz) = 4321986
|
||||
|
|
12
japanese/wordpress/files/pkg-install.in
Normal file
12
japanese/wordpress/files/pkg-install.in
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
;;
|
||||
POST-INSTALL)
|
||||
%%CHOWN%% -R %%WWWOWN%% %%WWWDIR%%/wp-content
|
||||
%%FIND%% %%WWWDIR%% -type d -print | xargs %%CHGRP%% %%WWWGRP%%
|
||||
%%FIND%% %%WWWDIR%% -type d -print | xargs %%CHMOD%% g+w
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
Loading…
Add table
Reference in a new issue