openbsd-ports/www/plone/Makefile
aanriot 77250ad311 forgot to bump PKGNAME.
spotted by sturm@
2005-09-29 21:00:08 +00:00

46 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2005/09/29 21:00:08 aanriot Exp $
COMMENT= "content management system built on top of Zope"
DISTNAME= Plone-2.1
PKGNAME= ${DISTNAME:L}p0
CATEGORIES= www
HOMEPAGE= http://www.plone.org/
MAINTAINER= Alexandre Anriot <aanriot@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=plone/}
MODULES= www/zope
RUN_DEPENDS= ::www/zope-cmf
PLONEITEMS= CMFActionIcons CMFPlone CMFFormController \
CMFQuickInstallerTool BTreeFolder2 \
GroupUserFolder PlacelessTranslationService \
PloneLanguageTool PloneTranslations
do-build:
.for i in ${PLONEITEMS}
${PYTHON_BIN} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/${i} || true
.endfor
do-install:
${INSTALL_PROGRAM_DIR} ${MODZOPE_PRODUCTSDIR}
.for p in ${PLONEITEMS}
cd ${WRKBUILD}; cp -R ${p} ${MODZOPE_PRODUCTSDIR}
.endfor
# XXX fix permissions
post-install:
@chmod -R a+rX ${MODZOPE_PRODUCTSDIR}/CMFFormController
.include <bsd.port.mk>