summaryrefslogtreecommitdiff
path: root/www/zope25
diff options
context:
space:
mode:
authordrochner <drochner>2002-09-12 11:01:37 +0000
committerdrochner <drochner>2002-09-12 11:01:37 +0000
commita34f133bf99250d5268bc2b24a867834c970bbee (patch)
tree52ba4017b4d8739f0060c83d717cdc020a11e661 /www/zope25
parent188750375a4d1ec0ba62f4ef29d34eff473fc975 (diff)
downloadpkgsrc-a34f133bf99250d5268bc2b24a867834c970bbee.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"