2000-10-21 02:03:16 +02:00
|
|
|
# New ports collection makefile for: Zope-PTK
|
|
|
|
# Date created: 18 Sep 2000
|
|
|
|
# Whom: Neil Blakey-Milner
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-08-11 20:32:54 +02:00
|
|
|
PORTNAME= zope-cmf
|
2003-01-20 09:23:36 +01:00
|
|
|
PORTVERSION= 1.3
|
2000-10-21 02:03:16 +02:00
|
|
|
CATEGORIES= www zope
|
2001-08-08 16:39:25 +02:00
|
|
|
MASTER_SITES= http://cmf.zope.org/download/CMF-${PORTVERSION}/
|
|
|
|
DISTNAME= CMF-${PORTVERSION}
|
2000-10-21 02:03:16 +02:00
|
|
|
|
|
|
|
MAINTAINER= nbm@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The Zope Content Management Framework (CMF)
|
2000-10-21 02:03:16 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
|
|
|
|
|
2001-08-08 16:39:25 +02:00
|
|
|
USE_PYTHON= yes
|
2000-10-21 02:03:16 +02:00
|
|
|
DIST_SUBDIR= zope
|
|
|
|
|
|
|
|
# You can change this in the environment if you like.
|
|
|
|
SZOPEBASEDIR?= www/Zope
|
|
|
|
|
|
|
|
# Don't change these
|
|
|
|
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
|
|
|
|
ZOPEPRODUCTNAME=
|
|
|
|
ZOPEPRODUCTDIR= lib/python/Products
|
|
|
|
|
|
|
|
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR}
|
|
|
|
|
2001-08-08 16:39:25 +02:00
|
|
|
do-build:
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/CMF*
|
|
|
|
|
2000-10-21 02:03:16 +02:00
|
|
|
do-install:
|
2001-08-08 16:39:25 +02:00
|
|
|
@${CHMOD} -R og+rX ${WRKSRC}/
|
|
|
|
.for cmfdir in Calendar Core Default Topic
|
|
|
|
@${CP} -R ${WRKSRC}/CMF${cmfdir} \
|
2000-10-21 02:03:16 +02:00
|
|
|
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
|
2001-08-08 16:39:25 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(BATCH)
|
2000-10-27 22:34:25 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-08-08 16:39:25 +02:00
|
|
|
.endif
|
2000-10-21 02:03:16 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|