1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/pmwiki/Makefile
Renato Botelho 3dc15e1ca4 - Update to 2.1.11
PR:		ports/98940
Submitted by:	maintainer
2006-06-14 15:19:16 +00:00

51 lines
1.1 KiB
Makefile

# Ports collection makefile for: PmWiki
# Date created: Sat Feb 26 06:16:50 CST 2005
# Whom: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= pmwiki
PORTVERSION= 2.1.11
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= babak@farrokhi.net
COMMENT= A WikiWikiWeb clone using PHP
USE_PHP= mbstring
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
NO_BUILD= yes
PLIST_SUB+= PMWIKIDIR=${PMWIKIDIR}
SUB_LIST+= PMWIKIDIR=${PMWIKIDIR}
SUB_FILES= pkg-message
pre-fetch:
.if !defined(PMWIKIDIR)
@${ECHO_MSG} ""
@${ECHO_MSG} "Define PMWIKIDIR to override default of ${PMWIKIDIR}."
@${ECHO_MSG} ""
.endif
PMWIKIDIR?= www/pmwiki
WWWUSER?= www
WWWGROUP?= www
do-install:
@${MKDIR} -m 755 ${PREFIX}/${PMWIKIDIR}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PMWIKIDIR}
@${CHOWN} ${WWWUSER}:${WWWGROUP} ${PREFIX}/${PMWIKIDIR}
post-install:
@${MKDIR} -m 775 ${PREFIX}/${PMWIKIDIR}/wiki.d
@${CHOWN} ${WWWUSER}:${WWWGROUP} ${PREFIX}/${PMWIKIDIR}/wiki.d
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>