summaryrefslogtreecommitdiffstats
path: root/www/zope-silva/Makefile
blob: e2fd0475b82c728db6be2dbcee3e63210a57873e (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# New ports collection makefile for: Silva
# Date created:		30 Dec 2003
# Whom:			Tim Middleton <x@vex.net>
#
# $FreeBSD$
#

PORTNAME=	silva
PORTVERSION=	1.3
PORTEPOCH=	1
CATEGORIES=	www zope
MASTER_SITES=	http://www.infrae.com/download/%SUBDIR%/:silva,document,metadata,sprout
MASTER_SITE_SUBDIR=	Silva/${PORTVERSION}/:silva \
			SilvaDocument/1.3/:document \
			SilvaMetadata/0.10/:metadata \
			Sprout/0.6.2/:sprout
PKGNAMEPREFIX=	zope-
DISTFILES=	Silva-${PORTVERSION}.tgz:silva \
		SilvaDocument-1.3.tgz:document \
		SilvaMetadata-0.10.tgz:metadata \
		Sprout-0.6.2.tgz:sprout

MAINTAINER=	x@vex.net
COMMENT=	Web application (CMS) to manage/edit structured documents

RUN_DEPENDS=	${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Annotations/__init__.py:${PORTSDIR}/www/zope-annotations \
		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/FileSystemSite/__init__.py:${PORTSDIR}/www/zope-FileSystemSite \
		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/Formulator/__init__.py:${PORTSDIR}/www/zope-formulator \
		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ProxyIndex/__init__.py:${PORTSDIR}/www/zope-proxyindex \
		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/SilvaViews/__init__.py:${PORTSDIR}/www/zope-silvaviews \
		${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/XMLWidgets/__init__.py:${PORTSDIR}/www/zope-xmlwidgets

USE_PYTHON=	yes
USE_ZOPE=	yes
DIST_SUBDIR=	zope

ZOPEPRODUCTNAME=Silva

do-build:
	@${RM} ${WRKDIR}/SilvaDocument/tests/.cvsignore
	@${RM} -rf ${WRKDIR}/SilvaMetadata/Extensions/.svn
	-@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}

do-install:
	@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
	@${CHMOD} -R og+rX ${WRKDIR}/
	@${CP} -R ${WRKDIR}/Silva* ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
	@${CP} -R ${WRKDIR}/Sprout ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud