head	1.31;
access;
symbols
	RELEASE_8_3_0:1.30
	RELEASE_9_0_0:1.30
	RELEASE_7_4_0:1.29
	RELEASE_8_2_0:1.29
	RELEASE_6_EOL:1.29
	RELEASE_8_1_0:1.29
	RELEASE_7_3_0:1.29
	RELEASE_8_0_0:1.29
	RELEASE_7_2_0:1.28
	RELEASE_7_1_0:1.28
	RELEASE_6_4_0:1.28
	RELEASE_5_EOL:1.27
	RELEASE_7_0_0:1.24
	RELEASE_6_3_0:1.24
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.19
	RELEASE_6_2_0:1.19
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	old_RELEASE_6_0_0:1.8
	old_RELEASE_5_4_0:1.4
	old_RELEASE_4_11_0:1.4;
locks; strict;
comment	@# @;


1.31
date	2012.11.17.06.02.38;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2011.02.14.03.49.37;	author clsung;	state Exp;
branches;
next	1.29;

1.29
date	2009.08.22.00.38.11;	author amdmi3;	state Exp;
branches;
next	1.28;

1.28
date	2008.06.13.09.14.32;	author clsung;	state Exp;
branches;
next	1.27;

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

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

1.25
date	2008.01.07.08.10.29;	author clsung;	state Exp;
branches;
next	1.24;

1.24
date	2007.08.04.11.41.26;	author gabor;	state Exp;
branches;
next	1.23;

1.23
date	2007.07.26.04.06.20;	author clsung;	state Exp;
branches;
next	1.22;

1.22
date	2007.07.11.06.12.18;	author clsung;	state Exp;
branches;
next	1.21;

1.21
date	2007.05.19.20.25.08;	author flz;	state Exp;
branches;
next	1.20;

1.20
date	2007.04.25.02.26.20;	author clsung;	state Exp;
branches;
next	1.19;

1.19
date	2006.09.11.01.24.55;	author clsung;	state Exp;
branches;
next	1.18;

1.18
date	2006.08.14.08.05.35;	author clsung;	state Exp;
branches;
next	1.17;

1.17
date	2006.07.17.01.46.19;	author clsung;	state Exp;
branches;
next	1.16;

1.16
date	2006.07.07.07.39.16;	author clsung;	state Exp;
branches;
next	1.15;

1.15
date	2006.06.07.01.58.55;	author clsung;	state Exp;
branches;
next	1.14;

1.14
date	2006.05.21.21.56.04;	author pav;	state Exp;
branches;
next	1.13;

1.13
date	2006.05.09.02.33.44;	author clsung;	state Exp;
branches;
next	1.12;

1.12
date	2006.05.06.14.31.27;	author ale;	state Exp;
branches;
next	1.11;

1.11
date	2006.04.27.04.09.26;	author clsung;	state Exp;
branches;
next	1.10;

1.10
date	2006.02.07.08.13.07;	author clsung;	state Exp;
branches;
next	1.9;

1.9
date	2006.01.11.02.32.19;	author clsung;	state Exp;
branches;
next	1.8;

1.8
date	2005.05.27.06.53.16;	author clsung;	state Exp;
branches;
next	1.7;

1.7
date	2005.05.05.07.18.48;	author clsung;	state Exp;
branches;
next	1.6;

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

1.5
date	2005.04.20.07.33.48;	author clsung;	state Exp;
branches;
next	1.4;

1.4
date	2004.12.30.05.05.45;	author clsung;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.29.01.30.07;	author clsung;	state Exp;
branches;
next	1.2;

1.2
date	2004.12.08.10.29.37;	author krion;	state Exp;
branches;
next	1.1;

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


desc
@@


1.31
log
@Switch exporter over
@
text
@# New ports collection makefile for:	lifetype
# Date created:		Wed Jan 11 09:37:54 CST 2006
# Whom:			clsung
#
# $FreeBSD: head/www/lifetype/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	lifetype
PORTVERSION=	1.2.11
CATEGORIES=	www
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${CONTRIBE_VERSION}__all_plugins${EXTRACT_SUFX} \
		${CONTRIBE_VERSION}__all_templates${EXTRACT_SUFX}

MAINTAINER=	clsung@@FreeBSD.org
COMMENT=	A PHP and MySQL based blogging platform

IGNOREFILES=	${CONTRIBE_VERSION}__all_plugins${EXTRACT_SUFX} \
		${CONTRIBE_VERSION}__all_templates${EXTRACT_SUFX}

CONTRIBE_VERSION=1.2
NO_BUILD=	YES
PKGMESSAGE=	${WRKDIR}/pkg-message
PLIST=		${WRKDIR}/pkg-plist
PLOGDIR?=	${WWWDOCROOT}/${PLOGURL}
PLOGURL?=	lifetype
USE_PHP=	ctype mysql pcre session xml tokenizer
USE_ZIP=	YES
WANT_PHP_WEB=	YES
WWWDOCROOT?=	www

OPTIONS=	BIG5		"With Big5 chinese template fix" off \
		GD		"With GD Support" on \
		IMAGICK		"With ImageMagick Support" off

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_GD)
RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
.endif

.if defined(WITH_IMAGICK)
RUN_DEPENDS+=	${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
.endif

.if defined(WITHOUT_GD) && !defined(WITH_IMAGICK)
pre-patch:
	@@${ECHO_CMD} "Without GD or ImageMagick support. No thumbnails will be generated at all."
.endif

post-extract:
.for x in plugins templates
	cd ${WRKSRC}/${x} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${CONTRIBE_VERSION}__all_${x}${EXTRACT_SUFX}
.endfor

.if defined(WITH_BIG5)

post-patch:
	${FIND} ${WRKSRC}/templates -name "*.template" | \
		${XARGS} ${REINPLACE_CMD} -e 's/|capitalize//g' -e 's/%b/%B/g'
	${FIND} ${WRKSRC}/templates -name "*.template.bak" -delete
.endif
pre-install:
	@@${RM} -f ${PLIST}
	@@cd ${WRKSRC} && ${FIND} -s . -type f | \
		${SED} -e 's|^./||;s|^|${PLOGDIR}/|' > ${PLIST} \
		&& ${ECHO_CMD} "@@unexec ${RM} -fr %D/${PLOGDIR}/tmp/* 2>/dev/null || ${TRUE}" >> ${PLIST} \
		&& ${FIND} -d * -type d | \
		${SED} -e 's|^|@@dirrm ${PLOGDIR}/|' >> ${PLIST} \
		&& ${ECHO_CMD} @@dirrm ${PLOGDIR} >> ${PLIST}

do-install:
	@@${MKDIR} ${PREFIX}/${PLOGDIR}
	@@${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR}

post-install:
	@@${SED} -e 's|%%PLOGURL%%|${PLOGURL}|' pkg-message > ${PKGMESSAGE}
	@@${CAT} ${PKGMESSAGE}

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


1.30
log
@- Update to 1.2.11
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.29
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d9 1
a9 1
PORTVERSION=	1.2.8
@


1.28
log
@- Update to 1.2.8
@
text
@d11 1
a11 1
MASTER_SITES=	SF
@


1.27
log
@- Update to 1.2.7
@
text
@d9 1
a9 1
PORTVERSION=	1.2.7
@


1.26
log
@- Update to 1.2.6

Changes:
@
text
@d9 1
a9 1
PORTVERSION=	1.2.6
@


1.25
log
@- Update to 1.2.5

Changes:
@
text
@d9 1
a9 1
PORTVERSION=	1.2.5
@


1.24
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.4
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	lifetype
d28 1
a28 1
USE_PHP=	ctype mysql pcre session xml
@


1.23
log
@- Update to 1.2.4
@
text
@d75 3
a77 3
	@@${MKDIR} ${TARGETDIR}/${PLOGDIR}
	@@${CP} -R ${WRKSRC}/ ${TARGETDIR}/${PLOGDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${PLOGDIR}
@


1.22
log
@- Update to 1.2.3
@
text
@d9 1
a9 1
PORTVERSION=	1.2.3
@


1.21
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	1.2.1
PORTREVISION=	1
@


1.20
log
@- Update to 1.2.1

PR:		ports/112072
Submitted by:	chinsan
@
text
@d10 1
@


1.19
log
@- Update to 1.1
@
text
@d9 1
a9 1
PORTVERSION=	1.1
d14 2
a15 2
		${PORTVERSION}__all_plugins${EXTRACT_SUFX} \
		${PORTVERSION}__all_templates${EXTRACT_SUFX}
d20 2
a21 2
IGNOREFILES=	${PORTVERSION}__all_plugins${EXTRACT_SUFX} \
		${PORTVERSION}__all_templates${EXTRACT_SUFX}
d23 1
d55 1
a55 1
	cd ${WRKSRC}/${x} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${PORTVERSION}__all_${x}${EXTRACT_SUFX}
@


1.18
log
@- Respect DESTDIR
- Remove WWWOWN & WWWGRP (already in bsd.port.mk)

PR:		ports/101875
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.6
d14 2
a15 2
		${PORTVERSION:R}__all_plugins${EXTRACT_SUFX} \
		${PORTVERSION:R}__all_templates${EXTRACT_SUFX}
d20 2
a21 2
IGNOREFILES=	${PORTVERSION:R}__all_plugins${EXTRACT_SUFX} \
		${PORTVERSION:R}__all_templates${EXTRACT_SUFX}
d54 1
a54 1
	cd ${WRKSRC}/${x} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${PORTVERSION:R}__all_${x}${EXTRACT_SUFX}
@


1.17
log
@- update to 1.0.6
@
text
@d23 6
a29 3

USE_PHP=	ctype mysql pcre session xml
NO_BUILD=	YES
a31 6
PLOGURL?=	lifetype
WWWOWN?=	www
WWWGRP?=	www
PLOGDIR?=	${WWWDOCROOT}/${PLOGURL}
PLIST=		${WRKDIR}/pkg-plist
PKGMESSAGE=	${WRKDIR}/pkg-message
d74 3
a76 3
	@@${MKDIR} ${PREFIX}/${PLOGDIR}
	@@${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR}
@


1.16
log
@- All web applications should be now installed into ${PREFIX}/www/appname.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.5
@


1.15
log
@- update to 1.0.5
@
text
@d28 1
a28 1
WWWDOCROOT?=	www/data
d74 1
a74 2
		&& ${ECHO_CMD} @@dirrm ${PLOGDIR} >> ${PLIST} \
		&& ${ECHO_CMD} @@dirrmtry ${WWWDOCROOT} >> ${PLIST}
@


1.14
log
@- Fix plist after recent php changes
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
@


1.13
log
@- update for versioned plugins and templates

PR:		ports/96753
Submitted by:	leeym
@
text
@d74 2
a75 1
		&& ${ECHO_CMD} @@dirrm ${PLOGDIR} >> ${PLIST}
@


1.12
log
@Fix or remove obsolate or broken ways to depend on php.
@
text
@d14 2
a15 2
		_all_plugins${EXTRACT_SUFX} \
		_all_templates${EXTRACT_SUFX}
d20 2
a21 1
IGNOREFILES=	_all_plugins${EXTRACT_SUFX} _all_templates${EXTRACT_SUFX}
d57 1
a57 1
	cd ${WRKSRC}/${x} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/_all_${x}${EXTRACT_SUFX}
@


1.11
log
@- update to 1.0.4
  - upgraders just simply replace the orignial files
@
text
@a24 1
PHP4_PORT?=	www/mod_php4
@


1.10
log
@- update to 1.0.3
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3
@


1.9
log
@- project rename from plog to lifetype

PR:		91264
Submitted by:	clsung
Repocopy by:	marcus
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
d13 1
a13 1
DISTFILES=	plog-${PORTVERSION}${EXTRACT_SUFX} \
a15 1
EXTRACT_ONLY=	plog-${PORTVERSION}${EXTRACT_SUFX}
a31 1
WRKSRC=		${WRKDIR}/plog-${PORTVERSION}
a60 1
USE_REINPLACE=yes
@


1.8
log
@- update to 1.0.1
- bug fix, see
  http://www.plogworld.net/blog.php/plog_development_journal/
  2005/05/24/plog_101_released
@
text
@d1 2
a2 2
# New ports collection makefile for:	plog
# Date created:		2004-10-27
d8 1
a8 1
PORTNAME=	plog
d12 2
a13 2
MASTER_SITE_SUBDIR=	plog
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
d16 1
a16 1
EXTRACT_ONLY=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
d30 1
a30 1
PLOGURL?=	plog
d33 1
@


1.7
log
@- _all_*_zip always changing, mark IGNOREFILES
@
text
@d9 1
a9 1
PORTVERSION=	1.0
@


1.6
log
@- _*.zip changed
- add WITH_BIG5 option
@
text
@d21 2
@


1.5
log
@- Update to 1.0
- add _all_plugins and _all_templates

PR:		80021
@
text
@d35 2
a36 1
OPTIONS=	GD		"With GD Support" on \
d59 8
@


1.4
log
@- Again, it requires session function when execute admin.php

Observed by: sbaby dot bbs AT bbs dot badcow dot com dot tw
@
text
@d9 1
a9 1
PORTVERSION=	0.3.2
d13 4
d21 1
a21 1
USE_BZIP2=	YES
d23 1
a23 1
USE_PHP=	mysql pcre session
d27 5
a31 1
PLOGDIR?=	www/data-dist/plog
d33 1
d53 5
d59 2
a60 2
	@@${RM} ${WRKSRC}/.cvsignore
	cd ${WRKSRC} && ${FIND} -s . -type f | \
d62 1
d68 1
a68 3
	-${MKDIR} ${PREFIX}/${PLOGDIR}
	@@${CHOWN} www:www ${PREFIX}/${PLOGDIR}
	@@${CHMOD} 755 ${PREFIX}/${PLOGDIR}
d70 1
a70 1
	@@${CHOWN} www:www ${PREFIX}/${PLOGDIR}/tmp
d73 2
a74 1
	@@${SED} -e 's|%%PLOGDIR%%|${PREFIX}/${PLOGDIR}|' ${PKGMESSAGE}
@


1.3
log
@- plog use preg_* stuff, so add pcre to USE_PHP

Noticed by:	leeym
@
text
@d19 1
a19 1
USE_PHP=	mysql pcre
@


1.2
log
@Handle OPTIONS more properly for oncoming bsd.port.mk changes.
@
text
@d19 1
a19 1
USE_PHP=	mysql
@


1.1
log
@- A PHP and MySQL based blogging platform
- Run in Apache

PR:		ports/73190
Submitted by:	clsung
Approved by:	co-mentor (vanilla)
@
text
@d31 1
a31 1
.if defined(WITH_GD)
d39 1
a39 1
.if !defined(WITH_GD) && !defined(WITH_IMAGICK)
@

