head	1.15;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_5_EOL:1.10
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.06.02.57;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2010.04.26.01.10.12;	author sylvio;	state Exp;
branches;
next	1.13;

1.13
date	2010.04.25.19.03.52;	author linimon;	state Exp;
branches;
next	1.12;

1.12
date	2009.08.22.00.38.19;	author amdmi3;	state Exp;
branches;
next	1.11;

1.11
date	2008.12.28.17.29.55;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2007.12.26.20.19.58;	author beech;	state Exp;
branches;
next	1.9;

1.9
date	2007.12.25.09.13.19;	author beech;	state Exp;
branches;
next	1.8;

1.8
date	2007.10.27.23.15.57;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2007.08.27.19.27.59;	author beech;	state Exp;
branches;
next	1.6;

1.6
date	2007.08.20.09.07.20;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2007.07.20.12.34.22;	author rafan;	state Exp;
branches;
next	1.4;

1.4
date	2007.07.19.10.16.29;	author rafan;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.16.08.06.21;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2007.07.05.08.31.32;	author delphij;	state Exp;
branches;
next	1.1;

1.1
date	2007.06.06.09.41.11;	author clsung;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# New ports collection makefile for:	phpbb-devel
# Date created:		1 Jun 2007
# Whom:	      		Zhen REN <bg1tpt@@gmail.com>
#
# $FreeBSD: head/www/phpbb-devel/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	phpbb
PORTVERSION=	3.0.0
PORTEPOCH=	1
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}/phpBB%203/phpBB%20${PORTVERSION}
PKGNAMESUFFIX=	-devel
DISTNAME=	phpBB-${PORTVERSION}

MAINTAINER=	sylvio@@FreeBSD.org
COMMENT=	A PHP-based bulletin board / discussion forum system

CONFLICTS=	phpbb-tw-[0-9]* phpbb-[0-9]* phpbb3-[0-9]

USE_BZIP2=	yes

IGNORE=		please use www/phpbb3 instead.

# 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
PHPBBURL?=	phpBB3
#
# End of user-configurable variables.

WRKSRC=		${WRKDIR}/phpBB3
NO_BUILD=	yes
SUB_FILES=	pkg-message
SUB_LIST=	PHPBBURL="${PHPBBURL}" \
		PHPBBDIR="${PHPBBDIR}"

PLIST_SUB+=	PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

# Set custom variables:
#
PHPBBDIR=	${WWWDOCROOT}/${PHPBBURL}
PKGOPTS=	${FILESDIR}/pkg-opts

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

do-install:
	@@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${PHPBBDIR} "! -name config.php"
	@@ [ -f ${PREFIX}/${PHPBBDIR}/config.php ] || ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php
	@@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
	@@ ${CHMOD} -R 0755 ${PREFIX}/${PHPBBDIR}
	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
		${PHPBBDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}

post-install:
.if !defined(NOPORTDOCS)
	@@ ${MKDIR} ${DOCSDIR}
	@@ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}

.if !defined(BATCH)
	@@ ${CAT} ${PKGMESSAGE}
.endif
.endif

.include <bsd.port.mk>
@


1.14
log
@- Take maintainership
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@Reset bg1tpt@@gmail.com due to maintainer-timeouts and no response to
email.

Hat:		portmgr
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.12
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d16 1
a16 1
MAINTAINER=	bg1tpt@@gmail.com
@


1.11
log
@- Mark IGNORE please use www/phpbb3

PR:		129844
Discussed with:	Zhen REN <bg1tpt@@gmail.com> (maintainer)
@
text
@d12 1
a12 1
MASTER_SITES=	SF
@


1.10
log
@- Force commit after repocopy from phbb-devel

PR:		ports/119005
Approved by:	linimon (mentor)
@
text
@d23 2
@


1.9
log
@- Update to 3.0.0 (final)
- Makefile tweaks

PR:		ports/118935
Submitted by:	Zhen REN <bg1tpt@@gmail.com> (maintainer)
Approved by:	linimon (mentor)
@
text
@@


1.8
log
@- Update to 3.0 RC7

PR:		117395
Submitted by:	Artem Naluzhnyy <tut@@nhamon.com.ua>
Approved by:	maintainer
@
text
@d9 2
a10 1
PORTVERSION=	3.0r7
d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	phpbb
d14 1
a14 1
DISTNAME=	phpBB-3.0.RC7
d19 1
a19 1
CONFLICTS=	phpbb-tw-[0-9]* phpbb-[0-9]*
d35 1
a35 1
		PHPBBDIR="${PHPBBDIR}" \
a56 1
	@@ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR}
d60 3
@


1.7
log
@- Update to 3.0r5

PR:		ports/115824
Submitted by:	Zhen REN <bg1tpt@@gmail.com> (maintainer)
Approved by:	sat (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	3.0r5
d14 1
a14 1
DISTNAME=	phpBB-3.0.RC5
@


1.6
log
@- Update to 3.0.0RC43

PR:		115256
Submitted by:	Dima Panov <fluffy@@ael.ru>
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.0r4
d14 1
a14 1
DISTNAME=	phpBB-3.0.RC4
@


1.5
log
@- Use COPYTREE_* macro instead of our own
- Use -s from test(1) to remove nested shell if
- Do not touch modification time of config.php as in Makefile

Suggested by:	sat
Submitted by:	Razor <bg1tpt at gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	3.0r3
d14 1
a14 1
DISTNAME=	phpBB-3.0.RC3
@


1.4
log
@- Do not remove modified config files on deinstall

PR:		ports/114624 (use maintainer's version)
Submitted by:	Dima Panov <fluffy at ael.ru>
Approved by:	Razor <bg1tpt at gmail.com> (maintainer)
@
text
@d58 2
a59 2
	@@ cd ${WRKSRC} && ${FIND} . ! -name config.php ! -name . -print | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} -
	@@ ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php
d65 1
a65 1
	@@ cd ${WRKSRC}/docs && ${FIND} . -print | ${TAR} cTf - - | ${TAR} xUCf ${DOCSDIR} -
@


1.3
log
@- Update to 3.0 RC3

PR:		114614
Submitted by:	Dima Panov <fluffy@@ael.ru>
Approved by:	maintainer
@
text
@d58 2
a59 1
	@@ cd ${WRKSRC} && ${FIND} . -print | ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} -
@


1.2
log
@Update to 3.0-RC2

Submitted by:	Dima Panov <fluffy ael ru>
		(with changes from maintainer)
PR:		ports/114112
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.0r2
d14 1
a14 1
DISTNAME=	phpBB-3.0.RC2
@


1.1
log
@Add phpbb-devel 3.0r1, a PHP-based bulletin board / discussion forum
system.

PR:		ports/113214
Submitted by:	Zhen REN <bg1tpt at gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	3.0r1
d14 1
a14 1
DISTNAME=	phpBB-3.0.RC1
@

