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
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= Zope content management framework
|
2002-03-11 21:55:18 -05:00
|
|
|
|
2006-01-22 08:35:32 -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/
|
|
|
|
|
2003-10-15 19:02:04 -04:00
|
|
|
# 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
|
|
|
|
|
2006-01-22 08:35:32 -05:00
|
|
|
MASTER_SITES= http://www.zope.org/Products/CMF/${DISTNAME}/ \
|
2005-10-07 08:02:19 -04:00
|
|
|
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
|
|
|
|
2005-10-05 10:17:51 -04:00
|
|
|
CMFDIRS= CMFActionIcons CMFCalendar CMFCore CMFDefault \
|
|
|
|
CMFSetup CMFTopic CMFUid DCWorkflow
|
2003-10-15 19:02:04 -04:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/zope-cmf
|
2002-03-11 21:55:18 -05:00
|
|
|
|
2004-08-03 06:19:54 -04: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:
|
2003-10-15 19:02:04 -04:00
|
|
|
${INSTALL_PROGRAM_DIR} ${MODZOPE_PRODUCTSDIR}
|
2004-08-03 06:19:54 -04:00
|
|
|
.for p in ${CMFDIRS}
|
|
|
|
cd ${WRKSRC}; cp -R ${p} ${MODZOPE_PRODUCTSDIR}
|
|
|
|
.endfor
|
2003-10-15 19:02:04 -04:00
|
|
|
${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>
|