freebsd-ports/www/wordpress-mu/Makefile
Martin Wilke df34434de6 - Update to 1.3.3
Approved by:	asouza (maintainer via irc)
2008-02-08 10:18:19 +00:00

43 lines
975 B
Makefile

# 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= 1.3.3
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>