summaryrefslogtreecommitdiff
path: root/www/zope3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope3/Makefile')
-rw-r--r--www/zope3/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/www/zope3/Makefile b/www/zope3/Makefile
new file mode 100644
index 00000000000..e63bb1f5be0
--- /dev/null
+++ b/www/zope3/Makefile
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/24 02:25:20 minskim Exp $
+#
+
+DISTNAME= Zope-3.1.0
+PKGNAME= zope3-3.1.0
+CATEGORIES= www
+MASTER_SITES= http://www.zope.org/Products/Zope3/3.1.0final/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ykomatsu@akaumigame.org
+HOMEPAGE= http://dev.zope.org/Zope3/
+COMMENT= Zope 3 Application Server
+
+DEPENDS+= ${PYPKGPREFIX}-xml>=0.8.3nb1:../../textproc/py-xml
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-python ${PYTHONBIN} \
+ --prefix ${PREFIX}/share/zope3 \
+ --force
+BUILD_TARGET= build
+
+USE_PKGINSTALL= yes
+RCD_SCRIPTS= zope3 zss3
+ZOPE3_GROUP?= zope3
+ZOPE3_USER?= zope3
+PKG_GROUPS= ${ZOPE3_GROUP}
+PKG_USERS= ${ZOPE3_USER}:${ZOPE3_GROUP}::Zope3\ user
+
+PYTHON_VERSION_ACCEPTED= 24 23
+
+MESSAGE_SUBST+= ZOPE3_USER=${ZOPE3_USER} ZOPE3_GROUP=${ZOPE3_GROUP} \
+ VARBASE=${VARBASE}
+
+ZOPE3_DOCDIR= ${PREFIX}/share/doc/zope3
+
+.include "../../lang/python/application.mk"
+
+pre-install:
+ ${FIND} ${WRKSRC} -name "*.orig" -type f -print | ${XARGS} ${RM} -f
+
+post-install:
+ ${LN} -s ${PREFIX}/share/zope3/bin/mkzeoinstance ${PREFIX}/bin
+ ${LN} -s ${PREFIX}/share/zope3/bin/mkzopeinstance ${PREFIX}/bin
+ ${LN} -s ${PREFIX}/share/zope3/bin/zopetest ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${ZOPE3_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Zope/LICENSES.txt ${ZOPE3_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Zope/ZopePublicLicense.txt ${ZOPE3_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Zope/doc/*.txt ${ZOPE3_DOCDIR}
+
+.include "../../mk/bsd.pkg.mk"