aboutsummaryrefslogtreecommitdiff
path: root/www/zope-cmf/Makefile
blob: 489455f50182282146ad27597b8d6849f121a22d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for: Zope-PTK
# Date created:		18 Sep 2000
# Whom:			Neil Blakey-Milner
#
# $FreeBSD$
#

PORTNAME=	zope-cmf
PORTVERSION=	1.4.8
CATEGORIES=	www zope
MASTER_SITES=	http://www.zope.org/Products/CMF/CMF-${PORTVERSION}/
DISTNAME=	CMF-${PORTVERSION}

MAINTAINER=	filippo.natali@gmail.com
COMMENT=	The Zope Content Management Framework (CMF)

USE_PYTHON=	yes
USE_ZOPE=	yes
DIST_SUBDIR=	zope

do-build:
	-@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/CMF*

do-install:
	@${CHMOD} -R og+rX ${WRKSRC}/
	@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
.for cmfdir in CMFCalendar CMFCore CMFDefault CMFTopic DCWorkflow
	@${CP} -R ${WRKSRC}/${cmfdir} \
		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
.endfor

post-install:
.if !defined(BATCH)
	@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>