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>
2008-08-12 00:17:06 +02:00
|
|
|
# New ports collection makefile for: pligg
|
|
|
|
# Date created: 10 August 2008
|
|
|
|
# Whom: Wen heping <wenheping@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pligg
|
2011-08-23 03:37:23 +02:00
|
|
|
PORTVERSION= 1.1.5
|
2009-07-07 22:25:14 +02:00
|
|
|
PORTEPOCH= 1
|
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>
2008-08-12 00:17:06 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://forums.pligg.com/attachments/current-version/
|
2011-08-23 03:37:23 +02:00
|
|
|
DISTNAME= 3076d1308851225-pligg-content-management-system-${PORTVERSION:S/./-/g}-pligg-cms-${PORTVERSION}
|
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>
2008-08-12 00:17:06 +02:00
|
|
|
|
2009-12-12 11:44:35 +01:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
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>
2008-08-12 00:17:06 +02:00
|
|
|
COMMENT= An Open Source Web2.0 CMS
|
|
|
|
|
2011-08-23 03:37:23 +02:00
|
|
|
PORTSCOUT= ignore:1
|
2010-12-29 01:51:53 +01:00
|
|
|
|
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>
2008-08-12 00:17:06 +02:00
|
|
|
USE_ZIP= yes
|
|
|
|
USE_PHP= mysql
|
2009-12-12 11:44:35 +01:00
|
|
|
WRKSRC= ${WRKDIR}/pligg
|
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>
2008-08-12 00:17:06 +02:00
|
|
|
|
|
|
|
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}
|
2009-07-07 22:25:14 +02:00
|
|
|
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
|
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>
2008-08-12 00:17:06 +02:00
|
|
|
>> ${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}
|
|
|
|
|
2009-07-07 22:25:14 +02:00
|
|
|
.for d in admin/backup cache avatars/groups_uploaded avatars/user_uploaded languages
|
|
|
|
@${CHMOD} -R 777 ${WWWDIR}/${d}
|
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>
2008-08-12 00:17:06 +02:00
|
|
|
@${ECHO_CMD} '@exec ${CHMOD} 777 ${WWWDIR}/${d}' >> ${TMPPLIST}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|