aboutsummaryrefslogtreecommitdiff
path: root/www/wordpress-mu/Makefile
blob: a4dc7802f6047f3dff0dfe32183101c8e74afde0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:   wordpress-mu
# Date created:                2004-12-19
# Whom:                        Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	wordpress-mu
PORTVERSION=	2.6
PORTEPOCH=	2
CATEGORIES=	www
MASTER_SITES=	http://mu.wordpress.org/
DISTNAME=	latest

MAINTAINER=	araujo@FreeBSD.org
COMMENT=	Multi-user version of the famous WordPress blogging application

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

#USE_PHP=	mysql pcre xml
NO_BUILD=	YES
#WANT_PHP_WEB=	YES
SUB_FILES=	pkg-message

pre-everything::
.ifdef WORDPRESSMU
	@${ECHO_CMD} "WORDPRESSMU is depreciated, use WWWDIR instead!"
	@${ECHO_CMD} "${PKGNAME} installs in WWWDIR=${WWWDIR}"
.endif

do-install:
	@${MKDIR} ${WWWDIR}
	@${CHMOD} 755 ${WWWDIR}
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>