# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	zope-simpleblog
#	zope-simpleblog/Makefile
#	zope-simpleblog/distinfo
#	zope-simpleblog/pkg-descr
#
echo c - zope-simpleblog
mkdir -p zope-simpleblog > /dev/null 2>&1
echo x - zope-simpleblog/Makefile
sed 's/^X//' >zope-simpleblog/Makefile << 'END-of-zope-simpleblog/Makefile'
X# New ports collection makefile for: zope-simpleblog
X# Date created:		05 October 2004
X# Whom:			saturnero@gufi.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	simpleblog
XPORTVERSION=	1.2.1
XCATEGORIES=	www zope
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	collective
XPKGNAMEPREFIX=	zope-
XDISTNAME=	SimpleBlog${PORTVERSION}
XDIST_SUBDIR=	zope
X
XMAINTAINER=	saturnero@gufi.org
XCOMMENT=	SimpleBlog is an easy to use Plone based weblog application
X
XRUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone \
X	${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Archetypes/__init__.py:${PORTSDIR}/www/zope-archetypes
X
XWRKSRC=${WRKDIR}
XUSE_ZOPE=	yes
XUSE_PYTHON=	yes
XMODULES=	SimpleBlog
XPLIST=		${WRKDIR}/pkg-plist
X
Xdo-build:
X	-@for m in ${MODULES}; do \
X		${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$$m; \
X	done
X
Xpre-install:
X	@${RM} -f ${PLIST}
X	@${TOUCH} ${PLIST}
X	@for m in ${MODULES}; do \
X		if [ ! -f ${ZOPEBASEDIR}/Products/$${m}/__init__.py ]; then \
X			cd ${WRKSRC}; \
X			for i in `${FIND} $${m} -type f`; do \
X				${ECHO_CMD} %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
X			done; \
X			for i in `${FIND} -d $${m} -type d`; do \
X				${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
X			done; \
X		fi;\
X	done
X
Xdo-install:
X	@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
X	@(cd ${WRKSRC} && ${CP} -R ${MODULES} \
X		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR})
X
X.include <bsd.port.mk>
END-of-zope-simpleblog/Makefile
echo x - zope-simpleblog/distinfo
sed 's/^X//' >zope-simpleblog/distinfo << 'END-of-zope-simpleblog/distinfo'
XMD5 (zope/SimpleBlog1.2.1.tar.gz) = 3c3490e017b9e2045cbd18d3bc39a9d3
END-of-zope-simpleblog/distinfo
echo x - zope-simpleblog/pkg-descr
sed 's/^X//' >zope-simpleblog/pkg-descr << 'END-of-zope-simpleblog/pkg-descr'
XSimpleBlog is an easy to use Plone based weblog application. It has no
Xfancy blogger-api/backlink stuff etc. but it does supports
Xcategories. Writing entries is done from inside Plone.
X
XWWW:	http://sourceforge.net/projects/collective
END-of-zope-simpleblog/pkg-descr
exit

