openbsd-ports/www/zope-cmf/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

2008-03-20 07:58:25 -04:00
# $OpenBSD: Makefile,v 1.23 2008/03/20 11:58:25 winiger Exp $
2002-03-11 21:55:18 -05:00
COMMENT= Zope content management framework
2002-03-11 21:55:18 -05:00
DISTNAME= CMF-1.5.5
2008-03-20 07:58:25 -04:00
PKGNAME= zope-${DISTNAME:L}p4
2002-03-11 21:55:18 -05:00
CATEGORIES= www
HOMEPAGE= http://cmf.zope.org/
# Zope Public License (ZPL) 2.0 <http://www.zope.org/Resources/ZPL>
2002-03-11 21:55:18 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.zope.org/Products/CMF/${DISTNAME}/ \
http://catai.net/distfiles/
2002-03-11 21:55:18 -05:00
2004-08-03 08:12:40 -04:00
MODULES= www/zope
2002-03-11 21:55:18 -05:00
CMFDIRS= CMFActionIcons CMFCalendar CMFCore CMFDefault \
CMFSetup CMFTopic CMFUid DCWorkflow
DOCSDIR= ${PREFIX}/share/doc/zope-cmf
2002-03-11 21:55:18 -05:00
do-build:
.for i in ${CMFDIRS}
${PYTHON_BIN} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/${i} || true
.endfor
2002-03-11 21:55:18 -05:00
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
2002-03-11 21:55:18 -05:00
.include <bsd.port.mk>