aboutsummaryrefslogtreecommitdiff
path: root/www/zope/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-07-02 20:41:00 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-07-02 20:41:00 +0000
commit854938fdee8d2761ceb94a023c609a70e2dbe1cd (patch)
treebde70e25bd77b15e5539376923de9cb4c3e13b7c /www/zope/Makefile
parentad6df43c99183cfee9ac5ddb02923a65a81b339e (diff)
downloadports-854938fdee8d2761ceb94a023c609a70e2dbe1cd.tar.gz
ports-854938fdee8d2761ceb94a023c609a70e2dbe1cd.zip
Upgrade to 2.7.1.
PR: ports/68408 Submitted by: HAYASHI Yasushi Approved by: maintainer.
Notes
Notes: svn path=/head/; revision=112801
Diffstat (limited to 'www/zope/Makefile')
-rw-r--r--www/zope/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/zope/Makefile b/www/zope/Makefile
index 2b6c9a615d60..0ca20d100d99 100644
--- a/www/zope/Makefile
+++ b/www/zope/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= zope
-PORTVERSION= 2.7.0
-PORTREVISION= 1
+PORTVERSION= 2.7.1
CATEGORIES= www python zope
MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/${PORTVERSION}/
DISTNAME= Zope-${PORTVERSION}
@@ -22,6 +21,7 @@ USE_PYTHON= yes
USE_RC_SUBR= yes
USE_REINPLACE= yes
DIST_SUBDIR= zope
+WRKSRC= ${WRKDIR}/${DISTNAME}-0
# Note: the notes that follow reflect the decisions of prior maintainers
# of this port. IOW, don't blame me if you don't like the way it's done.
@@ -55,6 +55,7 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} \
CONFIG_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
ZOPE_USER=${ZOPE_USER} \
ZOPEINSTANCEDIR=${ZOPEINSTANCEDIR}
+PKGMESSAGE= ${WRKDIR}/pkg-message
.if defined(BATCH)
ISBATCH= -u admin:test123
@@ -68,11 +69,14 @@ post-patch:
post-install:
@${MV} ${ZOPEBASEDIR}/skel/etc/zope.conf.in ${ZOPEBASEDIR}/skel/etc/zope.conf.sample.in
- @${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} pkg-message
+ @${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${FILESDIR}/pkg-message.in \
+ > ${PKGMESSAGE}
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/zope.sh > ${PREFIX}/etc/rc.d/zope.sh
@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zope.sh
@${MKDIR} ${ZOPEBASEDIR}/Products
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
instance:
@${ZOPEBASEDIR}/bin/mkzopeinstance.py -d ${ZOPEINSTANCEDIR} ${ISBATCH}