1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/pmwiki/Makefile
Martin Wilke 6c7febd447 - Add missing dependency
- Use SF macro

PR:		129075
Submitted by:	Jeremy Chadwick <jdc@parodius.com>
Approved by:	maintainer implicit
2008-11-23 10:16:55 +00:00

50 lines
1.0 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.27
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= farrokhi@FreeBSD.org
COMMENT= A WikiWikiWeb clone using PHP
USE_PHP= mbstring session
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 (now: ${PMWIKIDIR})"
@${ECHO_MSG} "to override default: www/pmwiki".
@${ECHO_MSG} ""
.endif
PMWIKIDIR?= www/pmwiki
do-install:
@${MKDIR} -m 755 ${PREFIX}/${PMWIKIDIR}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PMWIKIDIR}
@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PMWIKIDIR}
post-install:
@${MKDIR} -m 775 ${PREFIX}/${PMWIKIDIR}/wiki.d
@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${PMWIKIDIR}/wiki.d
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>