mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Add pmwiki 2.0b25, a WikiWikiWeb clone using PHP.
PR: ports/78099 Submitted by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
This commit is contained in:
parent
9bba2ebdae
commit
411fc753fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130439
@ -606,6 +606,7 @@
|
||||
SUBDIR += plone
|
||||
SUBDIR += plugger
|
||||
SUBDIR += plugger-plugins-hubbe
|
||||
SUBDIR += pmwiki
|
||||
SUBDIR += pnews
|
||||
SUBDIR += polipo
|
||||
SUBDIR += postnuke
|
||||
|
59
www/pmwiki/Makefile
Normal file
59
www/pmwiki/Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
# 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.0b25
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/\.beta/}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= tjs@cdpa.nsysu.edu.tw
|
||||
COMMENT= A WikiWikiWeb clone using PHP
|
||||
|
||||
USE_PHP= mbstring
|
||||
PHP4_PORT?= www/mod_php4
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
NO_BUILD= yes
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
PLIST_SUB+= PMWIKIDIR=${PMWIKIDIR}
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
||||
pre-fetch:
|
||||
.if !defined(PMWIKIDIR)
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Define PMWIKIDIR to override default of 'www/data/pmwiki'."
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
PMWIKIDIR?= www/data/pmwiki
|
||||
WWWUSER?= www
|
||||
WWWGROUP?= www
|
||||
|
||||
post-configure:
|
||||
@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%PMWIKIDIR%%#${PMWIKIDIR}#g' pkg-message > ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} -m 755 ${PREFIX}/${PMWIKIDIR}
|
||||
@${CP} -R ${WRKSRC}/ ${PREFIX}/${PMWIKIDIR}
|
||||
@${CHOWN} ${WWWUSER}:${WWWGROUP} ${PREFIX}/${PMWIKIDIR}
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC} && ${FIND} -s * -type f | ${SED} -e 's|^|${PMWIKIDIR}/|' > ${PLIST} \
|
||||
&& ${FIND} -d * -type d | ${SED} -e 's|^|@dirrm ${PMWIKIDIR}/|' >> ${PLIST} \
|
||||
&& ${ECHO_MSG} "@unexec rmdir ${PMWIKIDIR} 2>/dev/null || true" >> ${PLIST}
|
||||
|
||||
post-install:
|
||||
@${MKDIR} -m 775 ${PREFIX}/${PMWIKIDIR}/wiki.d
|
||||
@${CHOWN} ${WWWUSER}:${WWWGROUP} ${PREFIX}/${PMWIKIDIR}/wiki.d
|
||||
${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/pmwiki/distinfo
Normal file
2
www/pmwiki/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (pmwiki-2.0.beta25.tgz) = 21bb6f0cb9261ec9851dcbfbd66d2986
|
||||
SIZE (pmwiki-2.0.beta25.tgz) = 165903
|
5
www/pmwiki/pkg-descr
Normal file
5
www/pmwiki/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
PmWiki is a WikiWikiWeb system developed by Patrick Michaud in the PHP
|
||||
scripting language. PmWiki has been primarily designed as a tool to
|
||||
support easy, collaborative authoring and maintenance of web sites.
|
||||
|
||||
WWW: http://www.pmwiki.org/
|
10
www/pmwiki/pkg-message
Normal file
10
www/pmwiki/pkg-message
Normal file
@ -0,0 +1,10 @@
|
||||
**********************************************************************
|
||||
|
||||
Before the first use of PmWiki, copy sample-config.php to config.php
|
||||
|
||||
in %%PREFIX%%/%%PMWIKIDIR%%
|
||||
|
||||
Please visit 'http://{host.domain}/pmwiki/pmwiki.php' in a
|
||||
web-browser and follow the configuration instructions.
|
||||
|
||||
**********************************************************************
|
Loading…
Reference in New Issue
Block a user