summaryrefslogtreecommitdiff
path: root/www/zope25
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-09-12 11:01:37 +0000
committerdrochner <drochner@pkgsrc.org>2002-09-12 11:01:37 +0000
commit090db049461f5aa4680582387de05916871a5516 (patch)
tree52ba4017b4d8739f0060c83d717cdc020a11e661 /www/zope25
parentb944dd3217cd3d1bb369f157527baba2df0fd647 (diff)
downloadpkgsrc-090db049461f5aa4680582387de05916871a5516.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.mk32
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"