head	1.10;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1;
locks; strict;
comment	@# @;


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

1.9
date	2011.08.23.01.37.23;	author wen;	state Exp;
branches;
next	1.8;

1.8
date	2011.05.05.08.27.55;	author wen;	state Exp;
branches;
next	1.7;

1.7
date	2011.01.03.13.04.31;	author wen;	state Exp;
branches;
next	1.6;

1.6
date	2010.12.29.00.51.53;	author wen;	state Exp;
branches;
next	1.5;

1.5
date	2010.12.01.01.14.14;	author wen;	state Exp;
branches;
next	1.4;

1.4
date	2009.12.12.10.44.35;	author wen;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2008.08.11.22.17.06;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Switch exporter over
@
text
@# New ports collection makefile for:   pligg
# Date created:		10 August 2008
# Whom:			Wen heping <wenheping@@gmail.com>
#
# $FreeBSD: head/www/pligg/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	pligg
PORTVERSION=	1.1.5
PORTEPOCH=	1
CATEGORIES=	www
MASTER_SITES=	http://forums.pligg.com/attachments/current-version/
DISTNAME=	3076d1308851225-pligg-content-management-system-${PORTVERSION:S/./-/g}-pligg-cms-${PORTVERSION}

MAINTAINER=	wen@@FreeBSD.org
COMMENT=	An Open Source Web2.0 CMS

PORTSCOUT=	ignore:1

USE_ZIP=	yes
USE_PHP=	mysql
WRKSRC=		${WRKDIR}/pligg

NO_BUILD=	yes
SUB_FILES=	pkg-message

.include <bsd.port.pre.mk>
do-install:
	@@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
	@@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${CHMOD} -R 755 ${WWWDIR}

	@@${ECHO_CMD} '@@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
		>> ${TMPPLIST}
	@@${ECHO_CMD} '@@exec ${CHMOD} -R 755 ${WWWDIR}' \
		>> ${TMPPLIST}

	@@if [ ! -f ${WWWDIR}/settings.php ]; then \
	${CP} -p ${WWWDIR}/settings.php.default ${WWWDIR}/settings.php; fi

	@@if [ ! -f ${WWWDIR}/libs/dbconnect.php ]; then \
	${CP} -p ${WWWDIR}/libs/dbconnect.php.default \
		${WWWDIR}/libs/dbconnect.php; fi

	@@${CHMOD} 666 ${WWWDIR}/settings.php
	@@${ECHO_CMD} '@@exec ${CHMOD} 666 ${WWWDIR}/settings.php' \
		>> ${TMPPLIST}

	@@${CHMOD} 666 ${WWWDIR}/libs/dbconnect.php
	@@${ECHO_CMD} '@@exec ${CHMOD} 666 ${WWWDIR}/libs/dbconnect.php' \
		>> ${TMPPLIST}

	@@${CHMOD} 655 ${WWWDIR}/config.php
	@@${ECHO_CMD} '@@exec ${CHMOD} 655 ${WWWDIR}/config.php' \
		>> ${TMPPLIST}

.for d in admin/backup cache avatars/groups_uploaded avatars/user_uploaded languages
	@@${CHMOD} -R 777 ${WWWDIR}/${d}
	@@${ECHO_CMD} '@@exec ${CHMOD} 777 ${WWWDIR}/${d}' >> ${TMPPLIST}
.endfor

post-install:
	@@${CAT} ${PKGMESSAGE}

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


1.9
log
@- Update to 1.1.5
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@- Update to 1.1.4
@
text
@d9 1
a9 1
PORTVERSION=	1.1.4
d13 1
a13 1
DISTNAME=	2966d1300972240-pligg-content-management-system-${PORTVERSION:S/./-/g}-pligg-cms-${PORTVERSION}
d18 1
a18 1
PORTSCOUT=	limit:^1\.1\.
@


1.7
log
@- Update to 1.1.3
@
text
@d9 1
a9 1
PORTVERSION=	1.1.3
d13 1
a13 1
DISTNAME=	2911d1293126720-pligg-content-management-system-1-1-3-pligg-cms-1.1.3
@


1.6
log
@- Add PORTSCOUT limit
- Remove MD5
@
text
@d9 1
a9 1
PORTVERSION=	1.1.2
d13 1
a13 1
DISTNAME=	2867d1288196553-pligg-content-management-system-1-1-2-pligg-cms-1.1.2
@


1.5
log
@- Update to 1.1.2
@
text
@d18 2
@


1.4
log
@- Update to 1.0.3b
- Update my mail address to FreeBSD
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3b
d13 1
a13 1
DISTNAME=	2400d1259797181-pligg-content-management-system-1-0-1-pligg-cms-1.0.1
@


1.3
log
@- Update to 1.0.1

PR:		137845
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
d13 1
a13 1
DISTNAME=	2168d1250290502-pligg-content-management-system-1-0-1-pligg-cms-1.0.1
d15 1
a15 1
MAINTAINER=	wenheping@@gmail.com
d20 1
a20 1
WRKSRC=		${WRKDIR}/Pligg\ ${PORTVERSION}
@


1.2
log
@- Update to 1.0.0

PR:		136403
Submitted by:	Wen Heping <wenheping@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
d13 1
a13 1
DISTNAME=	2032d1245171709-pligg-content-management-system-1-0-0-pligg-cms-1.0.0
@


1.1
log
@Pligg is an Open Source Web 2.0 CMS. The main features that make
Pligg unique are collaborative bookmarking, social networking,
folksonomy and blogging. Each of the News links, unit of pligg
content, has a vote button, URL and optionally a short description
of news. Here Visitors are supplier, consumer and judge of the
content. Every visitor has right and freedom to vote and veto any
news item. At the end of the day, depending on count of vote news
are either promoted to main site,or move or remains in incoming
queue, or permanently removed from site. Being a collaborative CMS,
Pligg sites grow very fast in terms of traffic and popularity.

WWW: http://www.pligg.com/

PR:		ports/126415
Submitted by:	Wen heping <wenheping at gmail.com>
@
text
@d9 2
a10 1
PORTVERSION=	9.9.5
d13 1
a13 1
DISTNAME=	1509d1217929605-pligg-beta-9-9-5-pligg-beta-9.9.5
d20 1
a20 1
WRKSRC=		${WRKDIR}/Pligg\ Beta\ 9.9.5
d33 1
a33 1
	@@${ECHO_CMD} '@@exec ${CHMOD} 755 -R ${WWWDIR}' \
d55 2
a56 2
.for d in backup cache templates templates_c avatars/user_uploaded
	@@${CHMOD} 777 ${WWWDIR}/${d}
@

