summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-16 11:34:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-16 11:34:23 +0000
commit96873c728a90f7873c5d571cae28e848c161272e (patch)
treef9cdbb0b96be821b3e809bec766afc0730cb9fc7
parent- Update to 1.00 (diff)
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