summaryrefslogtreecommitdiff
path: root/www/plone25/Makefile
blob: e06aa8655a71619db6bd8559f657a2420052cfa5 (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
# $NetBSD: Makefile,v 1.6 2010/01/18 09:59:32 wiz Exp $
# FreeBSD: ports/www/plone/Makefile,v 1.25 2007/02/17 08:32:54 rafan Exp
#

DISTNAME=	Plone-${PLONE25_VERSION}
PKGNAME=	${PLONE_PKG_PREFIX}-${PLONE25_VERSION}
PKGREVISION=	4
CATEGORIES=	www python
MASTER_SITES=	http://launchpad.net/plone/2.5/2.5.5/+download/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://plone.org/
COMMENT=	User friendly CMS written on top of ZOPE

PKG_DESTDIR_SUPPORT=	user-destdir

PLONE_VERSION=			25
PYTHON_VERSIONS_ACCEPTED=	24
ZOPE_VERSION_ACCEPTED=		29

ZOPE_PRODUCT_NAME=	plone
ZOPE_PRODUCT_VER=	${PLONE25_VERSION}
ZOPE_BUILD_METHOD=	zope-force-build

PRIVILEGED_STAGES+=	clean
CONFLICTS=	zope25-BTreeFolder2-[0-9]* \
		zope25-CMF-[0-9]* \
		zope25-CMFPlone-[0-9]*

CHECK_INTERPRETER_SKIP=	${PLONE_BASE}/ATContentTypes/utilities/XXXreport \
	${PLONE_BASE}/MimetypesRegistry/tests/runtests.sh.example \
	${PLONE_BASE}/PortalTransforms/tests/runtests.sh.example \
	${PLONE_BASE}/validation/tests/runtests.sh.example

REPLACE_PYTHON_DIRS=	${WRKSRC}/kupu
REPLACE_PYTHON_PAT=	*.cgi *.py

pre-configure:
	${RM} -f ${WRKSRC}/CONTENTS.txt ${WRKSRC}/README.txt
	${RM} -fr ${WRKSRC}/CacheFu

.include "../../www/plone/ploneversion.mk"
.include "../../www/zope/replace.mk"
.include "../../textproc/py-elementtree/buildlink3.mk"
.include "../../textproc/py-libxml2/buildlink3.mk"
.include "../../graphics/py-imaging/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"