openbsd-ports/www/plone/Makefile
aanriot 171c8b219a - update to Plone-2.0.5.
- xsa gives me maintainership.

ok xsa@
2005-07-25 21:11:54 +00:00

45 lines
1003 B
Makefile

# $OpenBSD: Makefile,v 1.10 2005/07/25 21:11:54 aanriot Exp $
COMMENT= "content management system built on top of Zope"
DISTNAME= Plone-2.0.5
PKGNAME= ${DISTNAME:L}
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 \
Formulator GroupUserFolder PlacelessTranslationService
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>