blob: 77e48017518af031fe6fa547034a95f9458ee475 (
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
44
45
46
47
48
49
|
# 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
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= farrokhi@FreeBSD.org
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 (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>
|