head	1.10;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.10
date	2012.11.17.06.02.35;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.10.21.00.41.00;	author tabthorpe;	state Exp;
branches;
next	1.8;

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

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

1.6
date	2009.06.07.19.09.56;	author beat;	state Exp;
branches;
next	1.5;

1.5
date	2009.05.13.16.05.36;	author beat;	state Exp;
branches;
next	1.4;

1.4
date	2008.11.10.22.35.16;	author amdmi3;	state Exp;
branches;
next	1.3;

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

1.2
date	2008.07.28.10.50.24;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2008.05.06.12.57.14;	author itetcu;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Switch exporter over
@
text
@# New ports collection makefile for:	habari
# Date created:				Mar 30 2008
# Whom:					Ayumi M <ayu@@commun.jp>
#
# $FreeBSD: head/www/habari/Makefile 306212 2012-10-21 00:41:00Z tabthorpe $
#

PORTNAME=	habari
PORTVERSION=	0.8
CATEGORIES=	www
MASTER_SITES=	http://habariproject.org/dist/ \
		http://launchpadlibrarian.net/60087200/

MAINTAINER=	ayu@@commun.jp
COMMENT=	Next-generation free software blogging platform

USE_ZIP=	yes
USE_PHP=	ctype filter hash json mbstring pcre pdo session simplexml tokenizer zlib
WANT_PHP_WEB=	yes
NO_BUILD=	yes

OPTIONS=	MYSQL "Use MySQL" on \
		PGSQL "Use PostgreSQL" off \
		SQLITE "Use SQLite" off

.include <bsd.port.pre.mk>

.if defined(WITH_MYSQL)
USE_PHP+=	pdo_mysql
.endif

.if defined(WITH_PGSQL)
USE_PHP+=	pdo_pgsql
.endif

.if defined(WITH_SQLITE)
USE_PHP+=	pdo_sqlite
.endif

.if defined(WITHOUT_MYSQL) && !defined(WITH_PGSQL) && !defined(WITH_SQLITE)
IGNORE=	please choose the type of database
.endif

post-patch:
.for f in doc/index.html system/classes/theme.php.orig user/cache/.gitignore
	${RM} ${WRKSRC}/${f}
.endfor

do-install:
	@@${MKDIR} ${WWWDIR}
	${INSTALL_DATA} ${WRKSRC}/index.php ${WWWDIR}
.for f in system user
	@@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${WWWDIR})
.endfor
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for f in LICENSE NOTICE README.md doc/MIT.txt
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
	@@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${DOCSDIR})
.endif

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


1.9
log
@SVN rev 306212 on 2012-10-21 00:41:00Z by tabthorpe

- Update to 0.8

PR:		ports/169195
Submitted by:	Neil Darlow <neil darlow.co.uk>
Approved by:	maintainer timeout
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@- Update to 0.6.6

PR:		154992
Submitted by:	Ayumi Mitsui <ayu@@commun.jp> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.6.6
d18 1
a18 1
USE_PHP=	pdo pcre simplexml session tokenizer iconv mbstring
d44 5
d52 1
a52 1
.for f in 3rdparty scripts system user
d57 1
a57 1
.for f in LICENCE NOTICE doc/MIT.txt doc/Tiddlywiki_License.txt
@


1.7
log
@- Update to 0.6.3

PR:		ports/141850
Submitted by:	Ayumi Mitsui <ayu@@commun.jp> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.6.3
d11 2
a12 2
MASTER_SITES=	http://dist.habariproject.org/ \
		http://habari.jp/dist/
a20 1
NO_WRKSUBDIR=	yes
@


1.6
log
@- Update to 0.6.2

PR:		ports/135318
Submitted by:	Ayumi M <ayu AT commun.jp> (maintainer)
Approved by:	miwi (mentor, implicit)
@
text
@d9 1
a9 1
PORTVERSION=	0.6.2
d11 1
a11 1
MASTER_SITES=	http://habariproject.org/dist/ \
d21 1
@


1.5
log
@- Update to 0.6.1

PR:		ports/134482
Submitted by:	Ayumi M <ayu AT commun.jp> (maintainer)
Approved by:	miwi (mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.6.1
@


1.4
log
@- Update to 0.5.2

PR:		128759
Submitted by:	Ayumi M <ayu at commun dot jp> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.5.2
d47 2
a48 2
.for file in 3rdparty scripts system user
	@@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${file} ${WWWDIR})
d52 2
a53 2
.for file in LICENSE NOTICE doc/MIT.txt doc/Tiddlywiki_License.txt
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
@


1.3
log
@- Update to 0.5.1

PR:		127503
Submitted by:	Ayumi M <ayu@@commun.jp> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.5.1
@


1.2
log
@- Update to 0.5
- Update maintainer email address

PR:		126000
Submitted by:	Ayumi M <ayunyan@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.5
d52 1
a52 1
.for file in LICENSE NOTICE doc/MIT.txt doc/Tiddlywiki_License.txt doc/manual/index.html
d55 1
@


1.1
log
@Habari represents a fresh start to the idea of blogging.
The system is fast, easy to use, and easy to modify.
New users should have no problem using and enjoying Habari.
Advanced users should have no problem tweaking Habari to do exactly
what they need it to do.

WWW:	http://habariproject.org/

PR:		ports/122457
Submitted by:	ayunyan <ayunyan at gmail.com>
@
text
@d3 1
a3 1
# Whom:					ayunyan <ayunyan@@gmail.com>
d9 1
a9 1
PORTVERSION=	0.4.1
d11 2
a12 1
MASTER_SITES=	http://habariproject.org/dist/
d14 1
a14 1
MAINTAINER=	ayunyan@@gmail.com
d18 2
a19 1
USE_PHP=	pdo pdo_mysql pcre simplexml
d21 22
a42 1
WANT_PHP_MOD=	yes
d46 10
a55 4
	@@${CHMOD} 755 ${WWWDIR}
	@@(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
	@@${TOUCH} ${WWWDIR}/.htaccess
	@@${CHOWN} ${WWWOWN} ${WWWDIR}/.htaccess
d57 1
a57 1
.include <bsd.port.mk>
@

