mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Add dokuwiki, it's a simple and easy to use wiki.
Submitted by: chinsan <chinsan@mail2000.com.tw>
This commit is contained in:
parent
a1605b6bcd
commit
3c43dbd99d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132901
@ -86,6 +86,7 @@
|
||||
SUBDIR += demoroniser
|
||||
SUBDIR += dhttpd
|
||||
SUBDIR += dillo
|
||||
SUBDIR += dokuwiki
|
||||
SUBDIR += dpsearch
|
||||
SUBDIR += drupal
|
||||
SUBDIR += dtse
|
||||
|
51
www/dokuwiki-devel/Makefile
Normal file
51
www/dokuwiki-devel/Makefile
Normal file
@ -0,0 +1,51 @@
|
||||
# New ports collection makefile for: dokuwiki
|
||||
# Date created: 2005-04-10
|
||||
# Whom: chinsan <chinsan@mail2000.com.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dokuwiki
|
||||
PORTVERSION= 20050218
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.splitbrain.org/Programming/PHP/DokuWiki/
|
||||
DISTNAME= dokuwiki-2005-02-18
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A simple and easy to use wiki, no database required
|
||||
|
||||
USE_PHP= pcre session
|
||||
PHP4_PORT?= www/mod_php4
|
||||
NO_BUILD= YES
|
||||
WANT_PHP_WEB= YES
|
||||
DOKUWIKIDIR?= www/data-dist/dokuwiki
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC} && ${FIND} -s . -type f | \
|
||||
${SED} -e 's|^./||;s|^|${DOKUWIKIDIR}/|' > ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm ${DOKUWIKIDIR}/|' >> ${PLIST} \
|
||||
&& ${ECHO_CMD} ${DOKUWIKIDIR}/changes.log >> ${PLIST} \
|
||||
&& ${ECHO_CMD} @dirrm ${DOKUWIKIDIR} >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
# Data files
|
||||
-${MKDIR} ${PREFIX}/${DOKUWIKIDIR}
|
||||
@${CHOWN} www:www ${PREFIX}/${DOKUWIKIDIR}
|
||||
@${CHMOD} 755 ${PREFIX}/${DOKUWIKIDIR}
|
||||
@${CP} -R ${WRKSRC}/ ${PREFIX}/${DOKUWIKIDIR}
|
||||
# Setup the correct permissions
|
||||
@${TOUCH} ${PREFIX}/${DOKUWIKIDIR}/changes.log
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/changes.log
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/data
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/media
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/attic
|
||||
|
||||
post-install:
|
||||
@${SED} -e 's|%%DOKUWIKIDIR%%|${PREFIX}/${DOKUWIKIDIR}|' ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
www/dokuwiki-devel/distinfo
Normal file
2
www/dokuwiki-devel/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (dokuwiki-2005-02-18.tgz) = a4cb8233de0926e5ee6922a517c7dfdb
|
||||
SIZE (dokuwiki-2005-02-18.tgz) = 337051
|
8
www/dokuwiki-devel/pkg-descr
Normal file
8
www/dokuwiki-devel/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at
|
||||
creating documentation of any kind. It is targeted at developer teams,
|
||||
workgroups and small companies. It has a simple but powerful syntax which
|
||||
makes sure the datafiles remain readable outside the Wiki and eases the
|
||||
creation of structured texts.
|
||||
All data is stored in plain text files ¡V no database is required.
|
||||
|
||||
WWW: http://wiki.splitbrain.org/wiki:dokuwiki
|
9
www/dokuwiki-devel/pkg-message
Normal file
9
www/dokuwiki-devel/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
=================================================================
|
||||
**** NOTE ****
|
||||
edit PREFIX/www/data-dist/dokuwiki/conf/dokuwiki.php
|
||||
if you want to change anything within it or (better) create
|
||||
dokuwiki/conf/local.php containing those lines from dokuwiki.php,
|
||||
which you want to change. This way your changes are preserved
|
||||
when overwriting the dokuwiki.php with a new release.
|
||||
|
||||
=================================================================
|
1
www/dokuwiki-devel/pkg-plist
Normal file
1
www/dokuwiki-devel/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
@comment real PLIST will be generated in pre-install phase
|
51
www/dokuwiki/Makefile
Normal file
51
www/dokuwiki/Makefile
Normal file
@ -0,0 +1,51 @@
|
||||
# New ports collection makefile for: dokuwiki
|
||||
# Date created: 2005-04-10
|
||||
# Whom: chinsan <chinsan@mail2000.com.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dokuwiki
|
||||
PORTVERSION= 20050218
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.splitbrain.org/Programming/PHP/DokuWiki/
|
||||
DISTNAME= dokuwiki-2005-02-18
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A simple and easy to use wiki, no database required
|
||||
|
||||
USE_PHP= pcre session
|
||||
PHP4_PORT?= www/mod_php4
|
||||
NO_BUILD= YES
|
||||
WANT_PHP_WEB= YES
|
||||
DOKUWIKIDIR?= www/data-dist/dokuwiki
|
||||
PLIST= ${WRKDIR}/pkg-plist
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-install:
|
||||
cd ${WRKSRC} && ${FIND} -s . -type f | \
|
||||
${SED} -e 's|^./||;s|^|${DOKUWIKIDIR}/|' > ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm ${DOKUWIKIDIR}/|' >> ${PLIST} \
|
||||
&& ${ECHO_CMD} ${DOKUWIKIDIR}/changes.log >> ${PLIST} \
|
||||
&& ${ECHO_CMD} @dirrm ${DOKUWIKIDIR} >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
# Data files
|
||||
-${MKDIR} ${PREFIX}/${DOKUWIKIDIR}
|
||||
@${CHOWN} www:www ${PREFIX}/${DOKUWIKIDIR}
|
||||
@${CHMOD} 755 ${PREFIX}/${DOKUWIKIDIR}
|
||||
@${CP} -R ${WRKSRC}/ ${PREFIX}/${DOKUWIKIDIR}
|
||||
# Setup the correct permissions
|
||||
@${TOUCH} ${PREFIX}/${DOKUWIKIDIR}/changes.log
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/changes.log
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/data
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/media
|
||||
@${CHOWN} -R www:www ${PREFIX}/${DOKUWIKIDIR}/attic
|
||||
|
||||
post-install:
|
||||
@${SED} -e 's|%%DOKUWIKIDIR%%|${PREFIX}/${DOKUWIKIDIR}|' ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
www/dokuwiki/distinfo
Normal file
2
www/dokuwiki/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (dokuwiki-2005-02-18.tgz) = a4cb8233de0926e5ee6922a517c7dfdb
|
||||
SIZE (dokuwiki-2005-02-18.tgz) = 337051
|
8
www/dokuwiki/pkg-descr
Normal file
8
www/dokuwiki/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at
|
||||
creating documentation of any kind. It is targeted at developer teams,
|
||||
workgroups and small companies. It has a simple but powerful syntax which
|
||||
makes sure the datafiles remain readable outside the Wiki and eases the
|
||||
creation of structured texts.
|
||||
All data is stored in plain text files ¡V no database is required.
|
||||
|
||||
WWW: http://wiki.splitbrain.org/wiki:dokuwiki
|
9
www/dokuwiki/pkg-message
Normal file
9
www/dokuwiki/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
=================================================================
|
||||
**** NOTE ****
|
||||
edit PREFIX/www/data-dist/dokuwiki/conf/dokuwiki.php
|
||||
if you want to change anything within it or (better) create
|
||||
dokuwiki/conf/local.php containing those lines from dokuwiki.php,
|
||||
which you want to change. This way your changes are preserved
|
||||
when overwriting the dokuwiki.php with a new release.
|
||||
|
||||
=================================================================
|
1
www/dokuwiki/pkg-plist
Normal file
1
www/dokuwiki/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
@comment real PLIST will be generated in pre-install phase
|
Loading…
Reference in New Issue
Block a user