diff options
author | drochner <drochner> | 2002-09-04 14:50:43 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-09-04 14:50:43 +0000 |
commit | 49c9d19ed46d98ff5c13db057fa4e25cf07b34d2 (patch) | |
tree | 5ad097dc9853f3b6676a35392f506b3f085b4066 /www/zope25 | |
parent | 5c18ecbd1e9c2dd9ee1b1599ca35d0578b2e188d (diff) | |
download | pkgsrc-49c9d19ed46d98ff5c13db057fa4e25cf07b34d2.tar.gz |
common definitions for add-on products
Diffstat (limited to 'www/zope25')
-rw-r--r-- | www/zope25/product.buildlink.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www/zope25/product.buildlink.mk b/www/zope25/product.buildlink.mk new file mode 100644 index 00000000000..fdb855c06b1 --- /dev/null +++ b/www/zope25/product.buildlink.mk @@ -0,0 +1,31 @@ +# $NetBSD: product.buildlink.mk,v 1.1 2002/09/04 14:50:43 drochner Exp $ + +DIST_SUBDIR= zope +DEPENDS+= zope-2.5.*:../../www/zope25 +EVAL_PREFIX+= BUILDLINK_PREFIX.zope=zope25 +WRKSRC?= ${WRKDIR} +NO_BUILD= yes + +PYTHON_VERSIONS_ACCEPTED= 21pth + +ZOPEDIR= ${BUILDLINK_PREFIX.zope}/lib/zope +PRODNAMES?= ${PKGNAME:C/^zope25-(.*)-.*/\1/} +ZOPE_COPYPRODUCT?= zope-std-copyproduct-long + +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.buildlink.mk" |