head	1.12;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.11
	RELEASE_8_2_0:1.11
	RELEASE_6_EOL:1.11
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_3_0:1.9
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.05.54.58;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2008.08.09.14.00.45;	author chinsan;	state Exp;
branches;
next	1.10;

1.10
date	2008.08.08.14.17.31;	author chinsan;	state Exp;
branches;
next	1.9;

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

1.8
date	2007.01.29.15.55.09;	author rafan;	state Exp;
branches;
next	1.7;

1.7
date	2006.10.03.15.34.32;	author chinsan;	state Exp;
branches;
next	1.6;

1.6
date	2006.06.14.06.22.06;	author clsung;	state Exp;
branches;
next	1.5;

1.5
date	2006.05.03.23.38.32;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2006.04.13.17.03.09;	author vanilla;	state Exp;
branches;
next	1.3;

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

1.2
date	2005.12.09.19.24.25;	author ale;	state Exp;
branches;
next	1.1;

1.1
date	2005.11.14.16.07.15;	author garga;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switch exporter over
@
text
@# New ports collection makefile for:	phpBB-tw
# Date created:		2005/11/14
# Whom:	      		chinsan <chinsan.tw@@gmail.com>
#
# $FreeBSD: head/chinese/phpbb-tw/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	phpbb
PORTVERSION=	2.0.23
CATEGORIES=	chinese www
MASTER_SITES=	LOCAL/chinsan/php/ \
		http://freebsd.ee.ccu.edu.tw/
PKGNAMESUFFIX=	-tw
DISTNAME=	phpBB-tw-${PORTVERSION}

MAINTAINER=	appleboy.tw@@gmail.com
COMMENT=	The Traditional Chinese version of phpBB

RUN_DEPENDS=	${LOCALBASE}/share/pear/System.php:${PORTSDIR}/devel/pear

CONFLICTS=	phpbb-[0-9]*
USE_DOS2UNIX=	yes

# Get HOSTNAME
.if exists(/sbin/sysctl)
HOSTNAME!=	/sbin/sysctl -n kern.hostname
.else
HOSTNAME!=	/usr/sbin/sysctl -n kern.hostname
.endif

# The phpBB2 port supports a number of variables that may be tweaked at build
# time.  Perform a "make options" to see more information on these variables.
#
WWWDOCROOT?=	www
PHPBB_URL?=	phpBB2
#
# End of user-configurable variables.

# Set/override/append to variables from bsd.port.mk:
#
WRKSRC=		${WRKDIR}/phpBB2
NO_BUILD=	yes
SUB_FILES=	pkg-message
SUB_LIST=	PHPBB_URL="${PHPBB_URL}" \
		PHPBBDIR="${PHPBBDIR}" \
		DELETEFILES="${EXCEPTFILES}"
PHPBB_VER=	${PORTVERSION:S/.//g:S/.//g}
PLIST_SUB+=	PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
PLIST_SUB+=	PHPBB_VER=${PHPBB_VER}

# Set custom variables:
#
PHPBBDIR=	${WWWDOCROOT}/${PHPBB_URL}
PKGOPTS=	${FILESDIR}/pkg-opts
EXCEPTFILES=	${PREFIX}/${PHPBBDIR}/install/install.php \
		${PREFIX}/${PHPBBDIR}/install/upgrade.php \
		${PREFIX}/${PHPBBDIR}/install/update_to_latest.php

options:
	@@ ${ECHO_MSG} "===>  Build options for ${PKGNAME}:"
	@@ ${CAT} ${PKGOPTS}

pre-everything::
.if !defined(BATCH)
	@@ ${TEST} -r ${PKGOPTS} && \
	  (${ECHO_MSG} '-------------------------------------------------------------------------'; \
	   ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
	   ${ECHO_MSG} '-------------------------------------------------------------------------')
.endif

post-patch:
	@@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBB_URL}/templates#" \
	  ${WRKSRC}/docs/*.html
	@@${RM} -f `${FIND} ${WRKSRC} -name '*.orig'`

do-install:
	@@ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR}
	@@ cd ${WRKSRC} && ${FIND} * \( -name config.php \
	  ${EXCEPTFILES:S/^/-o -name /} \
	  -o -name docs -a -prune -o -name contrib -a -prune \) -o -print \
	  | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} -
	@@ ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php
	@@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
	@@ ${MKDIR} ${DATADIR}/contrib
	@@ cd ${WRKSRC} && ${INSTALL_DATA} ${EXCEPTFILES} ${DATADIR}
	@@ cd ${WRKSRC}/contrib && ${INSTALL_DATA} * ${DATADIR}/contrib

post-install:
#	@@ cd ${DATADIR} && ${INSTALL} -c -o ${WWWOWN} -g ${WWWGRP} \
#	  ${EXCEPTFILES} ${PREFIX}/${PHPBBDIR}
.if !defined(NOPORTDOCS)
	@@ ${MKDIR} ${DOCSDIR}
	@@ cd ${WRKSRC}/docs && ${FIND} * -type f -maxdepth 0 \! -name \*.bak \
	  \! -name COPYING -exec ${INSTALL_DATA} {} ${DOCSDIR} \;
.if !defined(BATCH)
	@@${SED} -e 's|%%HOSTNAME%%|${HOSTNAME}|; s|%%PHPBB_URL%%|${PHPBB_URL}|' \
		${PKGMESSAGE}
.endif
.endif

.include <bsd.port.mk>
@


1.11
log
@- Pass maintainership to last pr submmitter as his request via private mail.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.10
log
@- Update to 2.0.23
- Use standard $WWWDIR

PR:		ports/125950
Submitted by:	appleboy <appleboy.tw at gmail.com>
Approved by:	maintainer (me)
@
text
@d16 1
a16 1
MAINTAINER=	chinsan@@FreeBSD.org
@


1.9
log
@- WWWOWN and WWWGRP are defined in bsd.port.mk
@
text
@d9 1
a9 1
PORTVERSION=	2.0.21
d11 2
a12 1
MASTER_SITES=	LOCAL/chinsan
d34 1
a34 1
WWWDOCROOT?=	www/data
@


1.8
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
@a34 2
WWWOWN?=	www
WWWGRP?=	www
@


1.7
log
@Change the following ports to my FreeBSD.org email.
Approved by:	delphij (mentor)

archivers/pecl-bz2/Makefile
archivers/pecl-lzf/Makefile
archivers/pecl-rar/Makefile
audio/fapg/Makefile
audio/pecl-id3/Makefile
chinese/CJKUnifonts/Makefile
chinese/auto-tw-l10n/Makefile
chinese/dfsongsd/Makefile
chinese/fortunetw/Makefile
chinese/gcin/Makefile
chinese/joe/Makefile
chinese/joe2/Makefile
chinese/pcmanx/Makefile
chinese/phpbb-tw/Makefile
chinese/tatter-tools/Makefile
chinese/ve/Makefile
chinese/zhcon/Makefile
devel/pear-Console_Getopt/Makefile
devel/pear-Console_Table/Makefile
devel/pear-PEAR_Info/Makefile
devel/pecl-expect/Makefile
games/p5-Baseball-Sabermetrics/Makefile
graphics/epdfview/Makefile
graphics/p5-Chart-Clicker/Makefile
graphics/p5-GD-Thumbnail/Makefile
graphics/p5-Visio/Makefile
mail/pecl-esmtp/Makefile
math/pecl-stats/Makefile
misc/pear-Services_Weather/Makefile
net/ldapdiff/Makefile
net/p5-RRD-Simple/Makefile
net/pear-Net_CDDB/Makefile
net/pear-Net_SMS/Makefile
net/pecl-cvsclient/Makefile
security/gwee/Makefile
security/p5-GSSAPI/Makefile
security/pam-pgsql/Makefile
security/pecl-ssh2/Makefile
security/pecl-tcpwrap/Makefile
sysutils/p5-BSD-Sysctl/Makefile
sysutils/p5-File-Next/Makefile
textproc/csvdiff/Makefile
textproc/p5-CSS/Makefile
textproc/p5-Pod-XML/Makefile
textproc/p5-SGML-DTDParse/Makefile
textproc/p5-Text-Emoticon-GoogleTalk/Makefile
textproc/p5-XML-Handler-Dtd2DocBook/Makefile
textproc/p5-XML-Handler-Dtd2Html/Makefile
textproc/p5-XML-SAXDriver-CSV/Makefile
textproc/p5-XML-SAXDriver-Excel/Makefile
textproc/p5-ack/Makefile
textproc/pear-XML_DTD/Makefile
textproc/pecl-stem/Makefile
textproc/scim-input-pad/Makefile
textproc/sdcv/Makefile
www/b2evolution/Makefile
www/dokuwiki/Makefile
www/dokuwiki-devel/Makefile
www/lilurl/Makefile
www/p5-HTML-TableParser/Makefile
www/p5-HTML-WikiConverter/Makefile
www/p5-HTML-WikiConverter-DokuWiki/Makefile
www/p5-HTML-WikiConverter-Kwiki/Makefile
www/p5-HTML-WikiConverter-Markdown/Makefile
www/p5-HTML-WikiConverter-MediaWiki/Makefile
www/p5-HTML-WikiConverter-MoinMoin/Makefile
www/p5-HTML-WikiConverter-Oddmuse/Makefile
www/p5-HTML-WikiConverter-PbWiki/Makefile
www/p5-HTML-WikiConverter-PhpWiki/Makefile
www/p5-HTML-WikiConverter-PmWiki/Makefile
www/p5-HTML-WikiConverter-SnipSnap/Makefile
www/p5-HTML-WikiConverter-Socialtext/Makefile
www/p5-HTML-WikiConverter-TikiWiki/Makefile
www/p5-HTML-WikiConverter-UseMod/Makefile
www/p5-HTML-WikiConverter-WakkaWiki/Makefile
www/p5-HTML-WikiConverter-WikkaWiki/Makefile
www/p5-WWW-Baseball-NPB/Makefile
www/p5-WWW-Comic/Makefile
www/p5-WWW-VenusEnvy/Makefile
www/pear-Services_Delicious/Makefile
www/pear-UDDI/Makefile
www/xpi-cssviewer/Makefile
www/xpi-gmail-manager/Makefile
www/xpi-google-notebook/Makefile
www/xpi-mrtech-local-install/Makefile
www/xpi-no-referrer/Makefile
www/xpi-server_switcher/Makefile
www/xpi-unplug/Makefile
www/xpi-videodownloader/Makefile
www/xpi-web_developer/Makefile
x11/xdialog/Makefile
x11-fm/pcmanfm/Makefile
@
text
@d11 1
a11 2
MASTER_SITES=	http://chinsan2.twbbs.org/distfiles/ \
		ftp://chinsan2.twbbs.org/distfiles/
@


1.6
log
@- Update to 2.0.21

PR:		ports/98777
Submitted by:	maintainer (chinsan)
@
text
@d16 1
a16 1
MAINTAINER=	chinsan.tw@@gmail.com
@


1.5
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d9 1
a9 1
PORTVERSION=	2.0.20
d14 1
a14 1
DISTNAME=	phpBB-${PORTVERSION}
d22 1
@


1.4
log
@Upgrade to 2.0.20.

PR:		ports/95702
Submitted by:	maintainer
@
text
@a43 1
USE_REINPLACE=	yes
@


1.3
log
@- Update to 2.0.19

PR:		ports/92734
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.0.19
@


1.2
log
@Remove pear ports obsolated by devel/pear and switch
dependencies of all the other pear ports.

Discussed with:	thierry, antonio@@php.net
@
text
@d9 1
a9 1
PORTVERSION=	2.0.18
d11 2
a12 4
MASTER_SITES=	ftp://bbs.ilc.edu.tw/chinsan/distfiles/ \
		http://bbs.ilc.edu.tw/~chinsan/ports/phpbb/ \
		ftp://news.giga.net.tw/chinsan/distfiles/ \
		http://phpbb-tw.net/phpbb/download/
d23 6
a28 1
USE_ZIP=	yes
d34 1
a34 1
PHPBBURL?=	phpBB2
d46 1
a46 1
SUB_LIST=	PHPBBURL="${PHPBBURL}" \
d55 1
a55 1
PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
d74 1
a74 1
	@@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBBURL}/templates#" \
d98 2
a99 1
	@@ ${CAT} ${PKGMESSAGE}
@


1.1
log
@  phpBB is a high powered, fully scalable, and highly customisable
  open-source bulletin board package.  phpBB has a user-friendly interface,
  simple and straightforward administration panel, and helpful FAQ.  Based
  on the powerful PHP server language and your choice of MySQL, MS-SQL,
  PostgreSQL or Access/ODBC database servers, phpBB is the ideal free
  community solution for all web sites.

  The Traditional Chinese version of offical phpBB is located at
  http://www.phpbb-tw.net/

WWW: http://www.phpbb.com/

PR:		ports/88981
Submitted by:	chinsan <chinsan.tw@@gmail.com>
@
text
@d21 1
a21 1
RUN_DEPENDS=	${LOCALBASE}/share/pear/System.php:${PORTSDIR}/devel/pear-PEAR
@

