1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/www/zope-simpleblog/Makefile
Pav Lucistnik 96873c728a 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>
2004-10-16 11:34:23 +00:00

55 lines
1.4 KiB
Makefile

# 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>