diff options
author | drochner <drochner> | 2002-09-12 11:01:37 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-09-12 11:01:37 +0000 |
commit | a5ec0cc0f2b93ab306e0d3807aa309d6b1f1fa71 (patch) | |
tree | 52ba4017b4d8739f0060c83d717cdc020a11e661 /www/zope25 | |
parent | eddea31609348fc882b5fb62a58634f74e52b99e (diff) | |
download | pkgsrc-a5ec0cc0f2b93ab306e0d3807aa309d6b1f1fa71.tar.gz |
rename product.buildlink.mk to product.mk since this doesn't use
"buildlink" logics
also define a default prefix - fixes PR pkg/18191
Diffstat (limited to 'www/zope25')
-rw-r--r-- | www/zope25/product.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/www/zope25/product.mk b/www/zope25/product.mk new file mode 100644 index 00000000000..9e0bf11e9f5 --- /dev/null +++ b/www/zope25/product.mk @@ -0,0 +1,32 @@ +# $NetBSD: product.mk,v 1.1 2002/09/12 11:01:37 drochner Exp $ + +DIST_SUBDIR= zope +DEPENDS+= zope-2.5.*:../../www/zope25 +EVAL_PREFIX+= BUILDLINK_PREFIX.zope=zope25 +BUILDLINK_PREFIX.zope_DEFAULT= ${LOCALBASE} +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" |