33 lines
903 B
Makefile
33 lines
903 B
Makefile
# $NetBSD: product.mk,v 1.7 2005/05/24 14:26:26 rillig Exp $
|
|
|
|
DIST_SUBDIR= zope
|
|
BUILDLINK_DEPENDS.zope?= zope-2.*
|
|
DEPENDS+= ${BUILDLINK_DEPENDS.zope}:../../www/zope25
|
|
EVAL_PREFIX+= BUILDLINK_PREFIX.zope=zope25
|
|
BUILDLINK_PREFIX.zope_DEFAULT= ${LOCALBASE}
|
|
WRKSRC?= ${WRKDIR}
|
|
NO_BUILD= yes
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 21
|
|
|
|
ZOPEDIR= ${BUILDLINK_PREFIX.zope}/lib/zope
|
|
PRODNAMES?= ${PKGNAME:C/^zope25-(.*)-.*/\1/}
|
|
ZOPE_COPYPRODUCT?= zope-std-copyproduct-short
|
|
|
|
PRODSUBDIR= lib/python/Products/${PRODNAME}
|
|
|
|
zope-std-copyproduct-long:
|
|
(cd ${WRKSRC}; ${PAX} -r -w lib ${ZOPEDIR})
|
|
|
|
zope-std-copyproduct-short:
|
|
.for i in ${PRODNAMES}
|
|
(cd ${WRKSRC}; ${PAX} -r -w ${i} ${ZOPEDIR}/lib/python/Products)
|
|
.endfor
|
|
|
|
do-install: ${ZOPE_COPYPRODUCT}
|
|
.for i in ${PRODNAMES}
|
|
(cd ${ZOPEDIR}/lib/python/Products/${i}; \
|
|
${PYTHONBIN} ${ZOPEDIR}/inst/compilezpy.py || true)
|
|
.endfor
|
|
|
|
.include "../../lang/python/application.mk"
|