1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/zope-simpleblog/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

55 lines
1.3 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
PORTREVISION= 3
CATEGORIES= www zope
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= collective
PKGNAMEPREFIX= zope-
DISTNAME= SimpleBlog${PORTVERSION}
DIST_SUBDIR= zope
MAINTAINER= ports@FreeBSD.org
COMMENT= SimpleBlog is an easy to use Plone based weblog application
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFPlone/__init__.py:${PORTSDIR}/www/plone
WRKSRC=${WRKDIR}
USE_ZOPE= 2.9
USE_PYTHON= 2.4
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>