pkgsrc/www/plone3/Makefile

60 lines
1.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2008/08/03 15:33:18 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.1/${PLONE3_VERSION}/+download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://plone.org/
COMMENT= User friendly CMS written on top of ZOPE
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
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 pax
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 \
Update plone3 package to 3.0.6. Change log * Various tests were enhanced to increase our test coverage * Implement unlocking for content which does not use portal_factory and for LinguaPlone translations. * Add a method to cleanup persistent schemas from content objects which were created by the 'update schema' feature from older Archetypes releases. This is available through the ZMI. * Correct removing of all roles from a group. This fixes This fixes 6994. * Correct generation of session cookies for long userids. This fixes problems with OpenID2 accounts. * Correct handling of unicode arguments for acl_users.enumerateUsers. This fixes zope-pas bug 189627. * Kupu updates: o Correct full screen mode. This fixes 7473. o Correct intenal link insertion for IE. This fixes 7494. o Correct stripping out of anchor to top of current page. This fixes 7680. o The 'Home' link nows goes to the content root instead of the Plone root. This fixes 7713. o 'Link using UIDs' broke indexing of richt text fields with non-ASCII characters. This fixes 7728. o Update the flags and languages list. This fixes 7441. o Revert internal change in language selector code in the plone.app.i18n release from Plone 3.0.5 in the language selector widget which broke LinguaPlone. o Fix lock timeout which was set by default to 12 minutes, it is now set to maxtimeout (71582788 minutes). This fixes 7358. o Fix TypeError when an anonymous user locks content. This fixes 7246. Updated packages * archetypes.kss 1.2.6 * plone.app.i18n 1.0.3 * plone.app.controlpanel 1.0.4 * plone.app.linkintegrity 1.0.5 * plone.app.vocabularies 1.0.3 * plone.locking 1.0.5 * plone.session 1.2 * Archetypes 1.5.6 * CMF 2.1.1 * CMFPlone 3.0.6 * PloneLanguageTool 2.0.2 * PlonePAS 3.2 * PloneTranslations 3.0.11 * PluggableAuthService 1.5.3 * kupu 1.4.8
2008-02-19 15:12:46 +01:00
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:
2008-06-12 04:14:13 +02:00
cd ${WRKSRC}/lib; pax -rw . ${DESTDIR}${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"