# New ports collection makefile for: zope-cmfforum # Date created: 18 Jan 2003 # Whom: Neil Blakey-Milner # # $FreeBSD$ # PORTNAME= zope-cmfforum PORTVERSION= 1.0 CATEGORIES= www zope MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= collective DISTNAME= CMFForum-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= nbm@FreeBSD.org COMMENT= A forum for ZOPE CMF with file attachments RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope \ ${LOCALBASE}/${SZOPEBASEDIR}/lib/python/Products/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf USE_PYTHON= yes DIST_SUBDIR= zope WRKSRC= ${WRKDIR}/CMFForum # 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} do-install: @${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ @${CHMOD} -R og+rX ${WRKSRC}/ @${CP} -R ${WRKSRC} \ ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ post-install: .if !defined(BATCH) @${CAT} ${PKGMESSAGE} .endif .include