2003-01-20 12:32:43 +01:00
|
|
|
# New ports collection makefile for: plone
|
|
|
|
# Date created: 09 Jan 2003
|
|
|
|
# Whom: nbm
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= plone
|
2003-09-26 09:31:34 +02:00
|
|
|
PORTVERSION= 1.0.5
|
2003-01-20 13:44:00 +01:00
|
|
|
CATEGORIES= www zope
|
2004-01-05 20:16:05 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2003-01-20 13:44:00 +01:00
|
|
|
MASTER_SITE_SUBDIR= plone
|
2003-09-26 09:31:34 +02:00
|
|
|
DISTNAME= CMFPlone1.0.5
|
2003-01-20 12:32:43 +01:00
|
|
|
DIST_SUBDIR= zope
|
|
|
|
|
2003-09-26 09:31:34 +02:00
|
|
|
MAINTAINER= filippo@widestore.net
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= A user friendly implementation of the CMF written on top of ZOPE
|
2003-01-20 12:32:43 +01:00
|
|
|
|
2004-01-05 20:16:05 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf13
|
2003-09-26 09:31:34 +02:00
|
|
|
|
2004-01-05 20:14:41 +01:00
|
|
|
CONFLICTS= zope-formulator-*
|
|
|
|
|
2003-07-08 06:38:35 +02:00
|
|
|
USE_PYTHON= yes
|
2003-09-26 09:31:34 +02:00
|
|
|
USE_ZOPE= yes
|
2003-07-08 06:38:35 +02:00
|
|
|
PYTHON_VERSION= python2.1
|
2003-01-20 12:32:43 +01:00
|
|
|
|
2003-09-26 09:31:34 +02:00
|
|
|
WRKSRC= ${WRKDIR}/CMFPlone-1.0.5
|
2003-01-20 12:32:43 +01:00
|
|
|
MODULES= CMFPlone DCWorkflow Formulator i18n
|
|
|
|
|
|
|
|
# You can change this in the environment if you like.
|
2004-01-05 20:16:05 +01:00
|
|
|
SZOPEBASEDIR?= www/Zope
|
2003-01-20 12:32:43 +01:00
|
|
|
|
|
|
|
# Don't change these
|
2004-01-05 20:16:05 +01:00
|
|
|
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
|
2003-01-20 12:32:43 +01:00
|
|
|
ZOPEPRODUCTNAME=
|
2004-01-05 20:16:05 +01:00
|
|
|
ZOPEPRODUCTDIR= lib/python/Products
|
2003-01-20 12:32:43 +01:00
|
|
|
|
|
|
|
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
|
|
|
|
|
2003-07-08 06:38:35 +02:00
|
|
|
do-build:
|
|
|
|
@for m in ${MODULES}; do \
|
|
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$$m; \
|
|
|
|
done
|
|
|
|
|
2003-01-20 12:32:43 +01:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
|
|
|
|
@(cd ${WRKSRC} && ${CP} -R ${MODULES} \
|
|
|
|
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR})
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|