aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-10-16 19:34:23 +0800
committerpav <pav@FreeBSD.org>2004-10-16 19:34:23 +0800
commit2691e3227104019ff661e023e305a2085cc9a71d (patch)
tree4ab0c9fbcc0f2aba8b8bad2aaaaa7a262dd1297d
parent2ac881f8660f9d32d48afc3a12924cb68fdffbe0 (diff)
downloadfreebsd-ports-gnome-2691e3227104019ff661e023e305a2085cc9a71d.tar.gz
freebsd-ports-gnome-2691e3227104019ff661e023e305a2085cc9a71d.tar.zst
freebsd-ports-gnome-2691e3227104019ff661e023e305a2085cc9a71d.zip
Add zope-simpleblog, an easy to use Plone based weblog application.
It has no fancy blogger-api/backlink stuff etc. but it does supports categories. Writing entries is done from inside Plone. PR: ports/72565 Submitted by: Dario Freni <saturnero@gufi.org>
-rw-r--r--www/Makefile1
-rw-r--r--www/zope-simpleblog/Makefile54
-rw-r--r--www/zope-simpleblog/distinfo1
-rw-r--r--www/zope-simpleblog/pkg-descr5
4 files changed, 61 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4e203466d136..b023756e4867 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -747,6 +747,7 @@
SUBDIR += zope-proxyindex
SUBDIR += zope-silva
SUBDIR += zope-silvaviews
+ SUBDIR += zope-simpleblog
SUBDIR += zope-soapmethod
SUBDIR += zope-ttwtype
SUBDIR += zope-validation
diff --git a/www/zope-simpleblog/Makefile b/www/zope-simpleblog/Makefile
new file mode 100644
index 000000000000..ff9b47bf9e6e
--- /dev/null
+++ b/www/zope-simpleblog/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: zope-simpleblog
+# Date created: 05 October 2004
+# Whom: saturnero@gufi.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= simpleblog
+PORTVERSION= 1.2.1
+CATEGORIES= www zope
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= collective
+PKGNAMEPREFIX= zope-
+DISTNAME= SimpleBlog${PORTVERSION}
+DIST_SUBDIR= zope
+
+MAINTAINER= saturnero@gufi.org
+COMMENT= SimpleBlog is an easy to use Plone based weblog application
+
+RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
+ ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Archetypes/__init__.py:${PORTSDIR}/www/zope-archetypes
+
+WRKSRC=${WRKDIR}
+USE_ZOPE= yes
+USE_PYTHON= yes
+MODULES= SimpleBlog
+PLIST= ${WRKDIR}/pkg-plist
+
+do-build:
+ -@for m in ${MODULES}; do \
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$$m; \
+ done
+
+pre-install:
+ @${RM} -f ${PLIST}
+ @${TOUCH} ${PLIST}
+ @for m in ${MODULES}; do \
+ if [ ! -f ${ZOPEBASEDIR}/Products/$${m}/__init__.py ]; then \
+ cd ${WRKSRC}; \
+ for i in `${FIND} $${m} -type f`; do \
+ ${ECHO_CMD} %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
+ done; \
+ for i in `${FIND} -d $${m} -type d`; do \
+ ${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
+ done; \
+ fi;\
+ done
+
+do-install:
+ @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
+ @(cd ${WRKSRC} && ${CP} -R ${MODULES} \
+ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR})
+
+.include <bsd.port.mk>
diff --git a/www/zope-simpleblog/distinfo b/www/zope-simpleblog/distinfo
new file mode 100644
index 000000000000..fe1e878a30ef
--- /dev/null
+++ b/www/zope-simpleblog/distinfo
@@ -0,0 +1 @@
+MD5 (zope/SimpleBlog1.2.1.tar.gz) = 3c3490e017b9e2045cbd18d3bc39a9d3
diff --git a/www/zope-simpleblog/pkg-descr b/www/zope-simpleblog/pkg-descr
new file mode 100644
index 000000000000..4611b93454eb
--- /dev/null
+++ b/www/zope-simpleblog/pkg-descr
@@ -0,0 +1,5 @@
+SimpleBlog is an easy to use Plone based weblog application. It has no
+fancy blogger-api/backlink stuff etc. but it does supports
+categories. Writing entries is done from inside Plone.
+
+WWW: http://sourceforge.net/projects/collective