freebsd-ports/www/zope-cmf/Makefile
Johann Visagie 0539131aa0 The port www/zope-ptk has been repo-copied to www/zope-cmf, so:
- Rename the port in www/zope-cmf/Makefile
- Remove all files from www/zope-ptk

Approved by:	MAINTAINER
2001-08-11 18:32:54 +00:00

47 lines
969 B
Makefile

# New ports collection makefile for: Zope-PTK
# Date created: 18 Sep 2000
# Whom: Neil Blakey-Milner
#
# $FreeBSD$
#
PORTNAME= zope-cmf
PORTVERSION= 1.1
CATEGORIES= www zope
MASTER_SITES= http://cmf.zope.org/download/CMF-${PORTVERSION}/
DISTNAME= CMF-${PORTVERSION}
MAINTAINER= nbm@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
USE_PYTHON= yes
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}
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/CMF*
do-install:
@${CHMOD} -R og+rX ${WRKSRC}/
.for cmfdir in Calendar Core Default Topic
@${CP} -R ${WRKSRC}/CMF${cmfdir} \
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
.endfor
post-install:
.if !defined(BATCH)
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>