aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope210/Makefile
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-04-10 08:07:29 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-04-10 08:07:29 +0800
commitab5aef260ce199d0e9694f1feaae6d295dda1ae5 (patch)
tree26f2459e341ea172cfe0a40900548bda4bb9c83e /www/zope210/Makefile
parenta8843baba6a200bd1438954f77dd13e4fda505d9 (diff)
downloadfreebsd-ports-gnome-ab5aef260ce199d0e9694f1feaae6d295dda1ae5.tar.gz
freebsd-ports-gnome-ab5aef260ce199d0e9694f1feaae6d295dda1ae5.tar.zst
freebsd-ports-gnome-ab5aef260ce199d0e9694f1feaae6d295dda1ae5.zip
Update with the new PORTNAME/PORTVERSION variables
Diffstat (limited to 'www/zope210/Makefile')
-rw-r--r--www/zope210/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/www/zope210/Makefile b/www/zope210/Makefile
index b05286b087da..eb1089f3881c 100644
--- a/www/zope210/Makefile
+++ b/www/zope210/Makefile
@@ -1,14 +1,16 @@
# New ports collection makefile for: Zope
-# Version required: 2.0.1
# Date created: Sat 21 Aug 1999
# Whom: Peter Cornelius <pcc@gmx.net>
#
# $FreeBSD$
+#
+PORTNAME= zope
+PORTVERSION= 2.0.0b5
DISTNAME= Zope-${VERSION}-src
-PKGNAME= zope-${VERSION}
CATEGORIES= www python
MASTER_SITES= http://www.zope.org/Products/Zope/${VERSION}/
+DISTNAME= Zope-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
@@ -24,10 +26,9 @@ do-build: # empty, but needs to be there for the python dependency.
# then on, data, cgi-bin and such. Thus, I decided that Zope belongs
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
-VERSION= 2.0.0b5
-PLIST_SUB= ZOPEBASEDIR=www/Zope-${VERSION} CGIBINDIR=share/apache/cgi-bin VERSION=${VERSION}
+PLIST_SUB= ZOPEBASEDIR=www/Zope-${PORTVERSION} CGIBINDIR=share/apache/cgi-bin VERSION=${PORTVERSION}
WEBBASEDIR?= ${PREFIX}/www
-ZOPEBASEDIR?= ${WEBBASEDIR}/Zope-${VERSION}
+ZOPEBASEDIR?= ${WEBBASEDIR}/Zope-${PORTVERSION}
CGI_BIN_DIR?= ${PREFIX}/share/apache/cgi-bin
APACHE_CONFDIR?= ${PREFIX}/etc/apache
PYTHON15?= ${PREFIX}/bin/python1.5
@@ -55,11 +56,11 @@ do-install: #
${CHMOD} ugo+rwt var ; \
${ECHO} "===> Setting user/password to zopemaster/test..." ; \
${PYTHON15} zpasswd.py -u zopemaster -p test -e CLEARTEXT access ; \
- ${ECHO} "===> Copying Apache config file changes to ${APACHE_CONFDIR}/apache.conf.Zope-${VERSION}-Changes." ; \
- ${CP} -p ${FILESDIR}/apache.conf.Zope-${VERSION}-Changes ${APACHE_CONFDIR}/ ; \
+ ${ECHO} "===> Copying Apache config file changes to ${APACHE_CONFDIR}/apache.conf.Zope-${PORTVERSION}-Changes." ; \
+ ${CP} -p ${FILESDIR}/apache.conf.Zope-${PORTVERSION}-Changes ${APACHE_CONFDIR}/ ; \
${ECHO} "===> Please have a look at this file and the instructions" ; \
${ECHO} "===> therein and incorporate them to your apache.conf." ; \
- ${ECHO} "===> Creating rc startup file for Zope-${VERSION}..." ; \
+ ${ECHO} "===> Creating rc startup file for Zope-${PORTVERSION}..." ; \
${ECHO} "#! /bin/sh" > ${PREFIX}/etc/rc.d/zope.sh ; \
${ECHO} "${ZOPEBASEDIR}/start -w '' -f '' -m '' -p ${CGI_BIN_DIR}/Zope.cgi &" >> ${PREFIX}/etc/rc.d/zope.sh ; \
${ECHO} "echo -n \" Zope\"" >> ${PREFIX}/etc/rc.d/zope.sh ; \
@@ -68,7 +69,7 @@ do-install: #
${CAT} ${FILESDIR}/Message ; \
${ECHO} "===> Your Zope base directory is ${ZOPEBASEDIR}." ; \
${ECHO} "===> The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt." ; \
- ${ECHO} "===> For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-${VERSION}-Changes." ; \
+ ${ECHO} "===> For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-${PORTVERSION}-Changes." ; \
${ECHO} "===> Zope.cgi and pcgi-wrapper live in ${CGI_BIN_DIR}." )
#pre-deinstall: # Save Database contents. I expect /tmp to have sufficient