summaryrefslogtreecommitdiff
path: root/www/zope29/Makefile
diff options
context:
space:
mode:
authordarcy <darcy>2006-08-17 11:57:24 +0000
committerdarcy <darcy>2006-08-17 11:57:24 +0000
commite3259eef20054fdda15368fe5ce2b2fece9780f7 (patch)
treee62f3a19253bc382188b824c3f299a5759cedc40 /www/zope29/Makefile
parent1ca039118fdfcae5b0afcb333330bcdec788571f (diff)
downloadpkgsrc-e3259eef20054fdda15368fe5ce2b2fece9780f7.tar.gz
Add Zope 2.9.4.
Many changes from 2.6. See http://zope.org/Products/Zope/2.9.4/CHANGES.txt for details of the 2.9 branch changes.
Diffstat (limited to 'www/zope29/Makefile')
-rw-r--r--www/zope29/Makefile60
1 files changed, 60 insertions, 0 deletions
diff --git a/www/zope29/Makefile b/www/zope29/Makefile
new file mode 100644
index 00000000000..522039042d1
--- /dev/null
+++ b/www/zope29/Makefile
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1 2006/08/17 11:57:24 darcy Exp $
+# FreeBSD Id: ports/www/zope29/Makefile,v 1.86 2006/08/03 15:53:04 garga Exp
+
+DISTNAME= Zope-2.9.4-final
+PKGNAME= zope-2.9.4
+CATEGORIES= www python
+MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= zope
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.zope.org/
+COMMENT= Zope, the Z Object Publishing Environment
+
+DIST_SUBDIR= zope
+PYTHON_VERSIONS_ACCEPTED= 21 22 23 24
+RCD_SCRIPTS= ${PKGBASE}29.sh zeo29.sh
+
+# Change these, if you like, via the environment.
+ZOPE_USER?= www
+WEBBASEDIR?= www
+SZOPEBASEDIR?= ${WEBBASEDIR}/Zope29
+
+# Do not change anything below this line.
+
+.if defined(INSTANCENAME)
+ZOPEINSTANCENAME= ${INSTANCENAME}
+.endif
+
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+ZOPEINSTANCEBASE?= ${PREFIX}/${SZOPEBASEDIR}
+ZOPEINSTANCEDIR?= ${ZOPEINSTANCEBASE}/${ZOPEINSTANCENAME}
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${ZOPEBASEDIR} --with-python=${PYTHONBIN}
+
+BUILD_TARGET= build
+MAKEFILE= makefile
+
+PLIST_SUBST= ZOPEBASEDIR=${SZOPEBASEDIR}
+MESSAGE_SUBST+= ZOPEBASEDIR=${ZOPEBASEDIR}
+MESSAGE_SUBST+= ZOPE_USER=${ZOPE_USER} \
+MESSAGE_SUBST+= ZOPEINSTANCEDIR=${ZOPEINSTANCEDIR}
+
+post-patch:
+ ${FIND} ${WRKSRC} -name '*.orig' -print0 | ${XARGS} -0 -- ${RM}
+
+post-install:
+ ${MV} ${ZOPEBASEDIR}/skel/etc/zope.conf.in \
+ ${ZOPEBASEDIR}/skel/etc/zope.conf.sample.in
+
+ ${MKDIR} ${ZOPEBASEDIR}/Products
+
+ ${FIND} ${ZOPEBASEDIR} -type f -print0 | ${XARGS} -0 -- ${CHMOD} a-w
+
+pre-package:
+ ${CP} ${WRKDIR}/package-pkg-message ${PKGMESSAGE}
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"