blob: 71fe027341105fc344fb31b9f573b9a748929907 (
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
56
57
|
# $NetBSD: Makefile,v 1.3 2008/02/19 14:12:47 taca Exp $
# FreeBSD: ports/www/plone/Makefile,v 1.25 2007/02/17 08:32:54 rafan Exp
#
DISTNAME= Plone-${PLONE3_VERSION}
PKGNAME= ${PLONE_PKG_PREFIX}-${PLONE3_VERSION}
CATEGORIES= www python
MASTER_SITES= http://launchpad.net/plone/3.0/3.0.6/+download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://plone.org/
COMMENT= User friendly CMS written on top of ZOPE
PLONE_VERSION= 3
PYTHON_VERSIONS_ACCEPTED= 24
ZOPE_VERSION_ACCEPTED= 210
ZOPE_PRODUCT_NAME= plone
ZOPE_PRODUCT_VER= ${PLONE3_VERSION}
ZOPE_BUILD_METHOD= zope-force-build
ZOPE_PRODUCT_SRCDIR= ${WRKSRC}/Products
USE_TOOLS+= msgfmt
PRIVILEGED_STAGES+= clean
CONFLICTS= zope25-BTreeFolder2-[0-9]* zope25-CMF-[0-9]* \
zope25-CMFPlone-[0-9]*
PLIST_SRC= ${WRKDIR}/PLIST
REPLACE_PYTHON_DIRS= ${WRKSRC}/Products/kupu ${WRKSRC}/lib/python/wicked
REPLACE_PYTHON_PAT= *.cgi *.py
PLONE_PODIRS= PlacelessTranslationService/locales PloneTranslations
pre-build:
${RM} -rf ${WRKSRC}/Products/ATContentTypes/utilities
${RM} -f ${WRKSRC}/Products/CMFCore/tests/fake_skins/fake_skin/.test1.py
post-build:
${CP} ${PKGDIR}/PLIST ${WRKDIR}/PLIST
cd ${WRKSRC}/Products; \
${FIND} ${PLONE_PODIRS} -xdev -type f -name '*.po' -print | \
while read f; do \
mo=`${ECHO} $$f | ${SED} -e 's|\\.po$$|.mo|'`; \
${TEST} -f $$mo || msgfmt -o $$mo $$f; \
${ECHO} "${PLONE_BASE}/$$mo" >> ${WRKDIR}/PLIST; \
done
${CAT} ${PKGDIR}/PLIST.common_end >> ${WRKDIR}/PLIST
post-install:
cd ${WRKSRC}/lib; ${PAX} -rw . ${ZOPE_DIR}/lib
.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"
|