Lines 1-12
Link Here
|
1 |
# New ports collection makefile for: wordpress |
1 |
# Created by: Takefu |
2 |
# Date created: 2011-09-20 |
|
|
3 |
# Whom: Takefu |
4 |
# |
5 |
# $FreeBSD: ports/japanese/wordpress/Makefile,v 1.6 2012/06/29 02:59:42 sunpoet Exp $ |
2 |
# $FreeBSD: ports/japanese/wordpress/Makefile,v 1.6 2012/06/29 02:59:42 sunpoet Exp $ |
6 |
# |
|
|
7 |
PORTNAME= wordpress |
3 |
PORTNAME= wordpress |
8 |
PORTVERSION= 3.4.1 |
4 |
PORTVERSION= 3.4.2 |
9 |
CATEGORIES= japanese www |
5 |
CATEGORIES= japanese www |
10 |
MASTER_SITES= http://ja.wordpress.org/ |
6 |
MASTER_SITES= http://ja.wordpress.org/ |
11 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-ja |
7 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-ja |
Lines 17-23
Link Here
|
17 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
18 |
LICENSE_FILE= ${WRKSRC}/license.txt |
14 |
LICENSE_FILE= ${WRKSRC}/license.txt |
19 |
CONFLICTS_INSTALL= wordpress-3.* de-wordpress-3.* ru-wordpress-ru-3.* |
15 |
CONFLICTS_INSTALL= wordpress-3.* de-wordpress-3.* ru-wordpress-3.* |
20 |
NO_BUILD= yes |
16 |
NO_BUILD= yes |
21 |
USE_PHP= curl gd mysql pcre tokenizer xml zip |
17 |
USE_PHP= curl gd mysql pcre tokenizer xml zip |
Lines 42-51
Link Here
|
42 |
if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \ |
38 |
if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \ |
43 |
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi |
39 |
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi |
|
|
40 |
.include <bsd.port.options.mk> |
41 |
|
44 |
do-install: |
42 |
do-install: |
45 |
${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/ |
43 |
${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/ |
46 |
${CP} -R ${WRKSRC}/ ${WWWDIR}/ |
44 |
${CP} -R ${WRKSRC}/ ${WWWDIR}/ |
47 |
.if !defined(NOPORTDOCS) |
45 |
.if ${PORT_OPTIONS:MDOCS} |
48 |
${MKDIR} ${DOCSDIR}/ |
46 |
${MKDIR} ${DOCSDIR}/ |
49 |
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ |
47 |
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ |
50 |
.endif |
48 |
.endif |