# $OpenBSD: Makefile,v 1.16 2005/10/07 12:02:19 aanriot Exp $ COMMENT= "Zope content management framework" VERS= 1.5.4 DISTNAME= CMF-${VERS} PKGNAME= zope-${DISTNAME:L}p0 CATEGORIES= www HOMEPAGE= http://cmf.zope.org/ MAINTAINER= Alexandre Anriot # Zope Public License (ZPL) 2.0 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= http://www.zope.org/Products/CMF/CMF-${VERS}/ \ http://catai.net/distfiles/ MODULES= www/zope CMFDIRS= CMFActionIcons CMFCalendar CMFCore CMFDefault \ CMFSetup CMFTopic CMFUid DCWorkflow DOCSDIR= ${PREFIX}/share/doc/zope-cmf do-build: .for i in ${CMFDIRS} ${PYTHON_BIN} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/${i} || true .endfor do-install: ${INSTALL_PROGRAM_DIR} ${MODZOPE_PRODUCTSDIR} .for p in ${CMFDIRS} cd ${WRKSRC}; cp -R ${p} ${MODZOPE_PRODUCTSDIR} .endfor ${INSTALL_DATA_DIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/*.{stx,txt} ${DOCSDIR} ${INSTALL_DATA_DIR} ${DOCSDIR}/imgs ${INSTALL_DATA} ${WRKSRC}/docs/imgs/* ${DOCSDIR}/imgs .include