head	1.43;
access;
symbols
	RELEASE_8_1_0:1.42
	RELEASE_7_3_0:1.42
	RELEASE_8_0_0:1.39
	RELEASE_7_2_0:1.36
	RELEASE_7_1_0:1.36
	RELEASE_6_4_0:1.36
	RELEASE_5_EOL:1.35
	RELEASE_7_0_0:1.35
	RELEASE_6_3_0:1.35
	PRE_XORG_7:1.32
	RELEASE_4_EOL:1.31
	RELEASE_6_2_0:1.30
	old_RELEASE_6_1_0:1.14
	old_RELEASE_5_5_0:1.14
	old_RELEASE_6_0_0:1.7;
locks; strict;
comment	@# @;


1.43
date	2010.08.30.19.49.20;	author garga;	state dead;
branches;
next	1.42;

1.42
date	2009.12.15.19.48.26;	author linimon;	state Exp;
branches;
next	1.41;

1.41
date	2009.12.04.02.38.52;	author linimon;	state Exp;
branches;
next	1.40;

1.40
date	2009.11.26.00.36.49;	author linimon;	state Exp;
branches;
next	1.39;

1.39
date	2009.09.23.22.46.03;	author wxs;	state Exp;
branches;
next	1.38;

1.38
date	2009.09.19.04.19.56;	author wxs;	state Exp;
branches;
next	1.37;

1.37
date	2009.08.28.17.37.17;	author linimon;	state Exp;
branches;
next	1.36;

1.36
date	2008.06.16.08.00.25;	author chinsan;	state Exp;
branches;
next	1.35;

1.35
date	2007.07.24.06.34.12;	author chinsan;	state Exp;
branches;
next	1.34;

1.34
date	2007.05.30.17.30.17;	author rafan;	state Exp;
branches;
next	1.33;

1.33
date	2007.05.19.20.24.36;	author flz;	state Exp;
branches;
next	1.32;

1.32
date	2007.01.29.15.55.08;	author rafan;	state Exp;
branches;
next	1.31;

1.31
date	2006.12.02.17.19.12;	author chinsan;	state Exp;
branches;
next	1.30;

1.30
date	2006.10.22.11.37.59;	author chinsan;	state Exp;
branches;
next	1.29;

1.29
date	2006.10.09.19.07.54;	author miwi;	state Exp;
branches;
next	1.28;

1.28
date	2006.10.08.19.28.00;	author miwi;	state Exp;
branches;
next	1.27;

1.27
date	2006.10.03.08.54.13;	author clsung;	state Exp;
branches;
next	1.26;

1.26
date	2006.09.30.05.06.59;	author clsung;	state Exp;
branches;
next	1.25;

1.25
date	2006.07.03.16.26.27;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2006.06.23.21.09.31;	author miwi;	state Exp;
branches;
next	1.23;

1.23
date	2006.06.14.03.27.15;	author aaron;	state Exp;
branches;
next	1.22;

1.22
date	2006.06.09.19.57.54;	author aaron;	state Exp;
branches;
next	1.21;

1.21
date	2006.06.05.20.04.48;	author simon;	state Exp;
branches;
next	1.20;

1.20
date	2006.06.05.18.15.04;	author aaron;	state Exp;
branches;
next	1.19;

1.19
date	2006.06.05.17.51.23;	author simon;	state Exp;
branches;
next	1.18;

1.18
date	2006.05.21.21.56.03;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2006.05.06.14.31.29;	author ale;	state Exp;
branches;
next	1.16;

1.16
date	2006.04.08.12.55.12;	author pav;	state Exp;
branches;
next	1.15;

1.15
date	2006.03.20.21.55.38;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2006.01.05.03.57.33;	author edwin;	state Exp;
branches;
next	1.13;

1.13
date	2005.11.09.17.10.48;	author garga;	state Exp;
branches;
next	1.12;

1.12
date	2005.11.06.22.44.44;	author mnag;	state Exp;
branches;
next	1.11;

1.11
date	2005.10.28.22.58.52;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2005.10.11.08.28.44;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2005.09.20.21.00.46;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2005.09.06.17.32.09;	author leeym;	state Exp;
branches;
next	1.7;

1.7
date	2005.07.18.16.07.43;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2005.07.14.14.36.58;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2005.07.06.17.37.51;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2005.05.20.11.38.34;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2005.05.08.09.40.08;	author vanilla;	state Exp;
branches;
next	1.2;

1.2
date	2005.04.18.13.08.02;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.10.16.49.08;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.43
log
@- Remove www/dokuwiki-devel. It's older than www/dokuwiki and unmaintained
@
text
@# New ports collection makefile for:	dokuwiki-devel
# Date created:		2006-06-09
# Whom:			chinsan <chinsan.tw@@gmail.com>
#
# $FreeBSD: ports/www/dokuwiki-devel/Makefile,v 1.42 2009/12/15 19:48:26 linimon Exp $
#

PORTNAME=	dokuwiki
PORTVERSION=	${DIST_VER:S/${PORTNAME}//:S/-//g}
CATEGORIES=	www
MASTER_SITES=	http://dev.splitbrain.org/download/snapshots/
PKGNAMESUFFIX=	-devel
DISTNAME=	${DIST_VER}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	A simple and easy to use wiki, no database required

WRKSRC=	${WRKDIR}/${PORTNAME}

DIST_VER=	${PORTNAME}-2009-09-22
USE_PHP=	gd mbstring pcre session xml zlib
NO_BUILD=	YES
WANT_PHP_WEB=	YES
CONFLICTS=	dokuwiki-[0-9]*

DOKUWIKI_DIR?=	www/${PORTNAME}
PLIST_SUB=	DOKUWIKI_DIR=${DOKUWIKI_DIR}
TEMP_PLIST=	${WRKDIR}/temp-pkg-plist

REINPLACE_ARGS=	-i ''

.include <bsd.port.pre.mk>

# This target is only meant to be used by the port maintainer.
x-generate-plist:
	@@cd ${WRKSRC} && ${FIND} -s . -type f | \
		${SED} -e 's|^./||;s|^|%%DOKUWIKI_DIR%%/|' > ${TEMP_PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm %%DOKUWIKI_DIR%%/|' >> ${TEMP_PLIST} \
		&& ${ECHO_CMD} "@@dirrmtry %%DOKUWIKI_DIR%%" >> ${TEMP_PLIST}

post-patch:
	@@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/bin/*.php
	@@${FIND} ${WRKSRC}/bin -name '*.orig' -delete

do-install:
# Data files
	-${MKDIR} ${PREFIX}/${DOKUWIKI_DIR}
	@@${CP} -R ${WRKSRC}/ ${PREFIX}/${DOKUWIKI_DIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKI_DIR}

post-install:
	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%PORTNAME%%|${PORTNAME}|' \
		-e 's|%%DOKUWIKI_DIR%%|${DOKUWIKI_DIR}|' ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.42
log
@Reset maintainer at his request.

PR:		ports/141647
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.41
log
@Reinstate maintainer at his request.
@
text
@d16 1
a16 1
MAINTAINER=	chris@@officialunix.com
@


1.40
log
@Temporarily reassign ports maintained by chris@@officialunix.com back to
the pool for the duration of his upcoming move.

Requested by:	maintainer
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.39
log
@- Update to 20090922 snapshot.

PR:		ports/138981
Submitted by:	Chris Petrik <chris@@officialunix.com> (maintainer)
Feature safe:	yes
@
text
@d16 1
a16 1
MAINTAINER=	chris@@officialunix.com
@


1.38
log
@- Pass maintainer to submitter.

PR:		ports/138957
Submitted by:	Chris Petrik <chris@@officialunix.com>
Feature safe:	yes
@
text
@a9 1
PORTREVISION=	1
d11 1
a11 2
MASTER_SITES=	LOCAL/chinsan/${PORTNAME} \
		http://dev.splitbrain.org/browse/snapshots/
d19 3
a21 1
DIST_VER=	${PORTNAME}-2007-07-23
d25 1
@


1.37
log
@Reset chinsan@@FreeBSD.org due to numerous maintainer-timeouts and no
response to email.

Hat:		portmgr
@
text
@d18 1
a18 1
MAINTAINER=	ports@@FreeBSD.org
@


1.36
log
@- fix the path of PHP.
- Bump portrevision.

Noticed by:	Christian Marg <marg at rz.tu-clausthal.de>
@
text
@d18 1
a18 1
MAINTAINER=	chinsan@@FreeBSD.org
@


1.35
log
@- Update to 2007-07-23.
- Fix an XSS vulnerability.
  http://bugs.splitbrain.org/index.php?do=details&task_id=1195

Approved by:	rafan (mentor)
@
text
@d10 1
d30 2
d42 4
@


1.34
log
@- Update to 2007-05-24 release candicate

PR:		ports/113148
Submitted by:	chinsan (maintainer)
@
text
@a9 1
PORTREVISION=	1
d20 1
a20 1
DIST_VER=	${PORTNAME}-2007-05-24
a25 1
WRKSRC=		${WRKDIR}/${PORTNAME}-rc2007-05-24
@


1.33
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d12 1
a12 1
MASTER_SITES=	LOCAL/chinsan \
d21 1
a21 1
DIST_VER=	${PORTNAME}-2006-11-27
d27 1
a27 1
WRKSRC=		${WRKDIR}/${PORTNAME}
a32 3
post-patch:
	${FIND} ${WRKSRC}/ -name "*.orig" -delete

@


1.32
log
@- Remove chinsan2.twbbs.org, distfiles moved to LOCAL

PR:		108392, 108393, 108394, 108395, 108396, 108397, 108398, 108399, 108400, 108401
Submitted by:	chinsan (maintainer)
@
text
@d10 1
@


1.31
log
@- Update to 2006-11-27

Noticed by:	Gustavo Fukao <gustavofukao _at_ gmail.com>
Approved by:	delphij (mentor)
@
text
@d11 1
a11 3
MASTER_SITES=	http://chinsan2.twbbs.org/distfiles/ \
		ftp://chinsan2.twbbs.org/distfiles/ \
		LOCAL/chinsan \
@


1.30
log
@- Update to rc2006-10-19 (RC3)
  This releaes adds some bugfixes for the new changelog system, fixes
  minor issues in the installer and other parts of DokuWiki, and closes
  an XSS vulnerability.

PR:		ports/104644
Submitted by:	chinsan
Approved by:	portmgr (erwin)
		delphij (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	${DIST_VER:S/${PORTNAME}//:S/-//g:S/rc//g}
d13 2
a14 1
		http://www.splitbrain.org/_media/projects/dokuwiki/
d22 1
a22 1
DIST_VER=	${PORTNAME}-rc2006-10-19
d28 1
a28 1
WRKSRC=		${WRKDIR}/${DIST_VER}
d30 1
a30 1
TEMP_PLIST=		${WRKDIR}/temp-pkg-plist
d34 4
a38 2
	@@make makesum
	@@make patch
@


1.29
log
@- Remove deprecated patch

PR:		ports/104225
Submitted by:	chinsan@@        (maintainer)
@
text
@d21 1
a21 1
DIST_VER=	${PORTNAME}-rc2006-10-08
@


1.28
log
@- Update to 20061008

PR:		ports/104168
Submitted by:	chinsan@@
@
text
@a30 4
.if defined(BATCH)
WIKI_LANG?=	en
.endif

a32 52
pre-everything::
.if !defined(WIKI_LANG)
	@@${ECHO_MSG} '*******************************************************'
	@@${ECHO_MSG} '* You can customize the wiki language by typing	      *'
	@@${ECHO_MSG} '*                               Use make-flag:        *'
	@@${ECHO_MSG} '*  - Arabic			WIKI_LANG=ar	      *'
	@@${ECHO_MSG} '*  - Basque			WIKI_LANG=eu	      *'
	@@${ECHO_MSG} '*  - Brazilian Portuguese       WIKI_LANG=pt-br	      *'
	@@${ECHO_MSG} '*  - Catalan			WIKI_LANG=ca	      *'
	@@${ECHO_MSG} '*  - Chinese(Simplified)        WIKI_LANG=zh	      *'
	@@${ECHO_MSG} '*  - Chinese(Traditional)       WIKI_LANG=zh-tw	      *'
	@@${ECHO_MSG} '*  - Czech			WIKI_LANG=cs	      *'
	@@${ECHO_MSG} '*  - Danish			WIKI_LANG=da          *'
	@@${ECHO_MSG} '*  - Dutch			WIKI_LANG=nl	      *'
	@@${ECHO_MSG} '*  - English			WIKI_LANG=en	      *'
	@@${ECHO_MSG} '*  - Esperanto			WIKI_LANG=eo	      *'
	@@${ECHO_MSG} '*  - Estonian			WIKI_LANG=et	      *'
	@@${ECHO_MSG} '*  - Finnish			WIKI_LANG=fi          *'
	@@${ECHO_MSG} '*  - French			WIKI_LANG=fr	      *'
	@@${ECHO_MSG} '*  - German			WIKI_LANG=de	      *'
	@@${ECHO_MSG} '*  - Hebrew			WIKI_LANG=he	      *'
	@@${ECHO_MSG} '*  - Hungarian			WIKI_LANG=hu	      *'
	@@${ECHO_MSG} '*  - Indonesian			WIKI_LANG=id	      *'
	@@${ECHO_MSG} '*  - Italian			WIKI_LANG=it	      *'
	@@${ECHO_MSG} '*  - Japanese			WIKI_LANG=ja	      *'
	@@${ECHO_MSG} '*  - Korean			WIKI_LANG=ko	      *'
	@@${ECHO_MSG} '*  - Latvian			WIKI_LANG=lv	      *'
	@@${ECHO_MSG} '*  - Lithuanian			WIKI_LANG=lt	      *'
	@@${ECHO_MSG} '*  - Norwegian			WIKI_LANG=no	      *'
	@@${ECHO_MSG} '*  - Polish			WIKI_LANG=pl	      *'
	@@${ECHO_MSG} '*  - Portuguese			WIKI_LANG=pt	      *'
	@@${ECHO_MSG} '*  - Romanian			WIKI_LANG=ro	      *'
	@@${ECHO_MSG} '*  - Russian			WIKI_LANG=ru	      *'
	@@${ECHO_MSG} '*  - Serbian			WIKI_LANG=sr	      *'
	@@${ECHO_MSG} '*  - Slovak			WIKI_LANG=sk	      *'
	@@${ECHO_MSG} '*  - Slovenian			WIKI_LANG=sl	      *'
	@@${ECHO_MSG} '*  - Spanish			WIKI_LANG=es	      *'
	@@${ECHO_MSG} '*  - Swedish			WIKI_LANG=sv	      *'
	@@${ECHO_MSG} '*  - Turkish			WIKI_LANG=tr	      *'
	@@${ECHO_MSG} '*  - Vietnamese			WIKI_LANG=vi	      *'
	@@${ECHO_MSG} '*					              *'
	@@${ECHO_MSG} '* Example: "make WIKI_LANG=zh-tw install clean"	      *'
	@@${ECHO_MSG} '*******************************************************'
.endif

pre-patch:
.if defined(WIKI_LANG)
	@@${REINPLACE_CMD} -e 's|lang\(.*\)'en'|lang\1'${WIKI_LANG}'|g' \
		${WRKSRC}/conf/dokuwiki.php
	@@${FIND} ${WRKSRC}/conf -name "*.php.bak" -delete
.endif

@


1.27
log
@- Upgrade to 2006-09-28

PR:		ports/103926
Submitted by:	maintainer (chinsan)
@
text
@d9 1
a9 1
PORTVERSION=	${DIST_VER:S/${PORTNAME}//:S/-//g}
d13 1
a13 1
		http://dev.splitbrain.org/browse/snapshots/
d21 1
a21 1
DIST_VER=	${PORTNAME}-2006-09-28
d27 1
a27 1
WRKSRC=		${WRKDIR}/${DIST_VER:S/-/-rc/}
@


1.26
log
@- Fix security issue(Codeinjection in fetch.php)
- bump PORTREVISION
- Make portlint more happy.

PR:		ports/103797
Submitted by:	maintainer (chinsan)
Security:	http://bugs.splitbrain.org/?do=details&id=926
@
text
@a9 1
PORTREVISION=	1
d18 1
a18 1
MAINTAINER=	chinsan.tw@@gmail.com
d21 1
a21 1
DIST_VER=	${PORTNAME}-2006-06-09
d27 1
a27 1
WRKSRC=		${WRKDIR}/${DIST_VER}
a82 3
# Fix http://bugs.splitbrain.org/?do=details&id=926
	@@${REINPLACE_CMD} -e '25,26 s,=,= (int),' ${WRKSRC}/lib/exe/fetch.php
	@@${FIND} ${WRKSRC}/lib/exe -name "*.php.bak" -delete
d89 8
a96 2
post-patch:
	@@${TOUCH} ${WRKSRC}/data/changes.log
@


1.25
log
@- Dokuwiki-devel has been added (which is a development version).
- Recopied from www/dokuwiki

PR:		ports/98778
Submitted by:	chinsan <chinsan.tw@@gmail.com>
Approved by:	markus (co mentor)
@
text
@d10 1
d84 3
a95 10
# This target is only meant to be used by the port maintainer.
x-generate-plist:
	@@make makesum
	@@make patch
	@@cd ${WRKSRC} && ${FIND} -s . -type f | \
		${SED} -e 's|^./||;s|^|%%DOKUWIKI_DIR%%/|' > ${TEMP_PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm %%DOKUWIKI_DIR%%/|' >> ${TEMP_PLIST} \
		&& ${ECHO_CMD} "@@dirrmtry %%DOKUWIKI_DIR%%" >> ${TEMP_PLIST}

@


1.24
log
@Pkg-plist fix
Add new WWW layout

PR:		ports/99255
Submitted by:	chinsan <chinsan.tw@@gmail.com> (maintainer)
Approved by:	markus (co mentor)
@
text
@d1 3
a3 3
# New ports collection makefile for:	dokuwiki
# Date created:		2005-04-10
# Whom:			chinsan <chinsan@@mail2000.com.tw>
a9 1
PORTREVISION=	4
d11 2
a12 1
MASTER_SITES=	http://www.splitbrain.org/_media/projects/dokuwiki/ \
d14 1
d21 1
a21 1
DIST_VER=	${PORTNAME}-2006-03-09
d29 1
d89 1
a89 1
pre-install:
d92 10
@


1.23
log
@- Make pkg-plist static
- Bump PORTREVISION due to plist changes
- Remove user-modified files conf/acl.auth.php, conf/users.auth.php, and
data/changes.log from the plist.  This results in data/changes.log being
reported as erroneously left behind.

PR:		ports/98863
Submitted by:	aaron
Reviewed by:	maintainer
Approved by:	maintainer, tobez (implicit)
@
text
@d10 1
a10 1
PORTREVISION=	3
d21 1
a21 1
USE_PHP=	gd pcre session xml zlib
d25 1
a25 3
WWWDOCROOT?=	www/data
DOKUWIKI_URL?=	${PORTNAME}
DOKUWIKI_DIR?=	www/${DOKUWIKI_URL}
d30 1
a30 1
WIKI_LANG?=en
a79 8
pre-fetch:
.if ${DOKUWIKI_DIR} == ${WWWDOCROOT}/${DOKUWIKI_URL}
	 @@${ECHO_MSG} ""
	 @@${ECHO_MSG} "You can define DOKUWIKI_DIR to override default '${DOKUWIKI_DIR}'"
	 @@${ECHO_MSG} "installed under ${PREFIX}"
	 @@${ECHO_MSG} ""
.endif

d97 1
a97 1
	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
@


1.22
log
@- Bump PORTREVISION
- Update distinfo

Vendor's Announcement:
Hello again!

Just two days after the last security problem another flaw was discovered.
Luckily not as bad as the last one.

Andreas .kre Solberg discovered a security flaw which allows registered
users to view page content they usually have no access to. The problem is
in the way how a successful user profile change is handled.

This affects only installs which have Access Control Lists enabled (off by
default) and restricted the READ permission for certain pages even for
logged in users. Non-authenticated users can not exploit this bug.

The package available at http://www.splitbrain.org/go/dokuwiki was updated
again to reflect the change but fixing it manually is simple, too. Info on
how to do this is available at
http://bugs.splitbrain.org/?do=details&id=825

Andi

I request that the package be immediately rebuilt and distributed.

PR:		ports/98599
Submitted by:	aaron
Reviewed by:	maintainer
Approved by:	maintainer, tobez (implicit)
Security:	http://bugs.splitbrain.org/index.php?do=details&id=825
@
text
@d10 1
a10 1
PORTREVISION=	2
d29 1
a29 1
PLIST=		${WRKDIR}/pkg-plist
a98 8
	@@${CP} ${WRKSRC}/conf/acl.auth.php.dist ${WRKSRC}/conf/acl.auth.php
	@@${CP} ${WRKSRC}/conf/users.auth.php.dist ${WRKSRC}/conf/users.auth.php
	@@cd ${WRKSRC} && ${FIND} -s . -type f | \
		${SED} -e 's|^./||;s|^|${DOKUWIKI_DIR}/|' > ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm ${DOKUWIKI_DIR}/|' >> ${PLIST} \
		&& ${ECHO_CMD} "@@dirrmtry ${DOKUWIKI_DIR}">> ${PLIST} \
		&& ${ECHO_CMD} "@@dirrmtry ${WWWDOCROOT}" >> ${PLIST}
a103 2
	@@${CHMOD} 664 ${PREFIX}/${DOKUWIKI_DIR}/conf/acl.auth.php
	@@${CHMOD} 664 ${PREFIX}/${DOKUWIKI_DIR}/conf/users.auth.php
@


1.21
log
@Remove FORBIDDEN now that the port has been updated.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.20
log
@- Update distinfo
- Bump PORTREVISION
- Change default install location
- This is a major security fix and I would ask that portmgr@@ immediately
rebuild and redistribute the port's package!

PR:		ports/98514
Submitted by:	aaron
Approved by:	secteam (simon)
@
text
@a19 2
FORBIDDEN=	Remote code execution

@


1.19
log
@Mark FORBIDDEN due to remote code execution:

Security:	http://www.hardened-php.net/advisory_042006.119.html
@
text
@d10 1
d29 1
a29 1
DOKUWIKI_DIR?=	${WWWDOCROOT}/${DOKUWIKI_URL}
@


1.18
log
@- Fix plist after recent php changes
@
text
@d19 2
@


1.17
log
@Fix or remove obsolate or broken ways to depend on php.
@
text
@d104 2
a105 1
		&& ${ECHO_CMD} "@@unexec ${RMDIR} %D/${DOKUWIKI_DIR} 2>/dev/null || true">> ${PLIST}
@


1.16
log
@- Update to 20060309

PR:		ports/95054
Submitted by:	Piet Delport <pjd@@satori.za.net>
Approved by:	chinsan <chinsan.tw@@gmail.com> (maintainer)
@
text
@a20 1
PHP4_PORT?=	www/mod_php4
@


1.15
log
@- Update to 20060305

PR:		ports/94257
Submitted by:	chinsan <chinsan.tw@@gmail.com> (maintainer)
@
text
@d19 1
a19 1
DIST_VER=	${PORTNAME}-2006-03-05
@


1.14
log
@Chase libversion bumb to libMagick.so.9

PR:		ports/91270
@
text
@d9 1
a9 2
PORTVERSION=	20051109
PORTREVISION=	1
d11 3
a13 5
MASTER_SITES=	ftp://bbs.ilc.edu.tw/chinsan/distfiles/ \
		http://bbs.ilc.edu.tw/chinsan/ports/dokuwiki/ \
		http://dev.splitbrain.org/browse/snapshots/ \
		http://www.splitbrain.org/Programming/PHP/DokuWiki/
DISTNAME=	${PORTNAME}-2005-11-09
d19 1
a20 3
.if !defined(WITHOUT_X11)
USE_PHP+=	imagick
.endif
a23 1
USE_REINPLACE=	YES
d28 1
a28 1
WRKSRC=		${WRKDIR}/${PORTNAME}
d42 1
a44 2
	@@${ECHO_MSG} '*  - Simplified Chinese		WIKI_LANG=zh	      *'
	@@${ECHO_MSG} '*  - Traditional Chinese        WIKI_LANG=zh-tw	      *'
d46 2
d59 1
d70 3
a73 1
	@@${ECHO_MSG} '*  - Slovenian			WIKI_LANG=sl	      *'
d75 1
d99 2
a109 2
	@@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKI_DIR}
	@@${CHMOD} 755 ${PREFIX}/${DOKUWIKI_DIR}
d111 3
a113 2
# Setup the correct permissions
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKI_DIR}/data
@


1.13
log
@- Update to 20051109
- Add SHA256

PR:		ports/88726
Submitted by:	maintainer
@
text
@d10 1
@


1.12
log
@Update to 20051023
Change MASTER_SITES order

PR:		87869
Submitted by:	chinsan <chinsan.tw@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20051023
d11 2
a12 1
MASTER_SITES=	http://bbs.ilc.edu.tw/chinsan/ports/dokuwiki/ \
d15 1
a15 1
DISTNAME=	${PORTNAME}-2005-10-23
d21 4
a24 1
USE_PHP=	gd imagick pcre session xml zlib
@


1.11
log
@BROKEN: Unfetchable
@
text
@d9 1
a9 1
PORTVERSION=	20050922
d11 4
a14 2
MASTER_SITES=	http://www.splitbrain.org/Programming/PHP/DokuWiki/
DISTNAME=	${PORTNAME}-2005-09-22
a19 2
BROKEN=		Unfetchable

a25 7
pre-fetch:
.if !defined(DOKUWIKI_DIR)
	 @@${ECHO_MSG} ""
	 @@${ECHO_MSG} "Define DOKUWIKI_DIR to override default of '${DOKUWIKI_DIR}'."
	 @@${ECHO_MSG} ""
.endif

a27 2
WWWOWN?=	www
WWWGRP?=	www
d29 1
d78 8
d102 1
a102 1
	# Data files
d107 1
a107 1
	# Setup the correct permissions
@


1.10
log
@- Update to 20050922
- Take maintainership

PR:		ports/86559
Submitted by:	chinsan <chinsan.tw@@gmail.com>
@
text
@d18 2
@


1.9
log
@- Update to 2005-09-19

PR:		ports/86371
Submitted by:	chinsan <chinsan.tw@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	20050919
d12 1
a12 1
DISTNAME=	${PORTNAME}-2005-09-19
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.8
log
@- drop maintainership

PR:		85803
Submitted by:	chinsan <chinsan.tw@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	20050713
d12 1
a12 1
DISTNAME=	${PORTNAME}-2005-07-13
d18 1
a18 1
USE_PHP=	gd pcre session xml zlib
d53 1
d88 1
a88 1
	${FIND} ${WRKSRC}/conf -name "*.php.bak" -delete
a90 4
post-patch:
	@@${REINPLACE_CMD} -e 's|sfs|bbs|g' ${WRKSRC}/inc/lang/zh-tw/edit.txt
	${FIND} ${WRKSRC}/inc/lang/zh-tw -name "*.txt.bak" -delete

d92 1
a92 1
	${TOUCH} ${WRKSRC}/data/changes.log
@


1.7
log
@- Fix WITH_LANG knob

PR:		ports/83663
Submitted by:	chinsan <chinsan.tw@@gmail.com> (maintainer)
@
text
@d15 1
a15 2
# Maintainership available: drop me a line if interested :p
MAINTAINER=	chinsan.tw@@gmail.com
@


1.6
log
@- Update to 20050713

PR:		ports/83442
Submitted by:	chinsan <chinsan.tw@@gmail.com> (maintainer)
@
text
@d23 1
a23 1
USE_REINPLACE=yes
d86 2
a87 1
	@@${REINPLACE_CMD} -e 's|'en'|'${WIKI_LANG}'|g' ${WRKSRC}/conf/dokuwiki.php
@


1.5
log
@- Update to 20050701

PR:		ports/83050
Submitted by:	chinsan <chinsan.tw@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	20050701
d12 1
a12 1
DISTNAME=	${PORTNAME}-2005-07-01
d19 1
a19 1
USE_PHP=	pcre session xml zlib
d26 1
a26 1
.if !defined(DOKUWIKIDIR)
d28 1
a28 1
	 @@${ECHO_MSG} "Define DOKUWIKIDIR to override default of '${DOKUWIKIDIR}'."
d33 1
a33 1
DOKUWIKIURL?=	${PORTNAME}
d36 1
a36 1
DOKUWIKIDIR?=	${WWWDOCROOT}/${DOKUWIKIURL}
d49 1
a49 1
	@@${ECHO_MSG} '*                                 Use make-flag:      *'
d97 1
a97 1
		${SED} -e 's|^./||;s|^|${DOKUWIKIDIR}/|' > ${PLIST} \
d99 2
a100 2
		${SED} -e 's|^|@@dirrm ${DOKUWIKIDIR}/|' >> ${PLIST} \
		&& ${ECHO_CMD} "@@unexec rmdir %D/${DOKUWIKIDIR} 2>/dev/null || true">> ${PLIST}
d104 4
a107 4
	-${MKDIR} ${PREFIX}/${DOKUWIKIDIR}
	@@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKIDIR}
	@@${CHMOD} 755 ${PREFIX}/${DOKUWIKIDIR}
	@@${CP} -R ${WRKSRC}/ ${PREFIX}/${DOKUWIKIDIR}
d109 1
a109 1
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKIDIR}/data
d113 1
a113 2
		-e 's|%%WWWDOCROOT%%|${WWWDOCROOT}|' \
		-e 's|%%DOKUWIKIURL%%|${DOKUWIKIURL}|' ${PKGMESSAGE}
@


1.4
log
@- Take maintainership
- Add knobs WIKI_LANG and DOKUWIKIDIR

PR:		ports/81244
Submitted by:	chinsan <chinsan@@mail2000.com.tw>
@
text
@d9 1
a9 1
PORTVERSION=	20050507
d12 1
a12 1
DISTNAME=	${PORTNAME}-2005-05-07
d15 1
d32 1
a32 1
WWWDOCROOT?=	www/data-dist
d47 1
a47 1
	@@${ECHO_MSG} '*********************************************************'
d59 1
a59 1
#	@@${ECHO_MSG} '*  - Estonian			WIKI_LANG=et	      *'
d66 1
d68 2
d76 1
d91 2
a92 2
	@@${REINPLACE_CMD} -e 's|sfs|bbs|g' ${WRKSRC}/lang/zh-tw/edit.txt
	${FIND} ${WRKSRC}/lang/zh-tw -name "*.txt.bak" -delete
d95 2
a96 1
	cd ${WRKSRC} && ${FIND} -s . -type f | \
a99 1
		&& ${ECHO_CMD} ${DOKUWIKIDIR}/changes.log >> ${PLIST} \
a108 2
	@@${TOUCH} ${PREFIX}/${DOKUWIKIDIR}/changes.log
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKIDIR}/changes.log
a109 2
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKIDIR}/media
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DOKUWIKIDIR}/attic
@


1.3
log
@1: update to 20050507
2: make portlint happy.

PR:		ports/80746
Submitted by:	chinsan <chinsan@@mail2000.com.tw>
@
text
@a9 1
PORTREVISION=	0
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d22 8
d38 4
d44 45
@


1.2
log
@- fix insufficient check on conf['uploadtypes']
- fix pkg-message

Submitted by:	Stephane Lentz <stephane.lentz@@gmail.com> & chinsan <chinsan@@mail2000.com.tw>
@
text
@d9 2
a10 2
PORTVERSION=	20050218
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	dokuwiki-2005-02-18
d19 1
a19 1
USE_PHP=	pcre session
d25 1
a25 1
DOKUWIKIURL?=	dokuwiki
d39 1
a39 1
		&& ${ECHO_CMD} @@dirrm ${DOKUWIKIDIR} >> ${PLIST}
@


1.1
log
@Add dokuwiki, it's a simple and easy to use wiki.

Submitted by:	chinsan <chinsan@@mail2000.com.tw>
@
text
@d10 1
d23 6
a28 1
DOKUWIKIDIR?=	www/data-dist/dokuwiki
d44 1
a44 1
	@@${CHOWN} www:www ${PREFIX}/${DOKUWIKIDIR}
d49 4
a52 4
	@@${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
d55 3
a57 1
	@@${SED} -e 's|%%DOKUWIKIDIR%%|${PREFIX}/${DOKUWIKIDIR}|' ${PKGMESSAGE}
@

