View | Details | Raw Unified | Return to bug 33836
Collapse All | Expand All

(-)zope/Makefile (-2 / +15 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	zope
8
PORTNAME=	zope
9
PORTVERSION=	2.4.2
9
PORTVERSION=	2.4.2
10
PORTREVISION=	0
10
PORTREVISION=	1
11
CATEGORIES=	www python zope
11
CATEGORIES=	www python zope
12
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
12
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
13
DISTNAME=	Zope-${PORTVERSION}-src
13
DISTNAME=	Zope-${PORTVERSION}-src
Lines 49-54 Link Here
49
		VERSION=${PORTVERSION} \
49
		VERSION=${PORTVERSION} \
50
		WEBBASEDIR=${WEBBASEDIR}
50
		WEBBASEDIR=${WEBBASEDIR}
51
51
52
.include <bsd.port.pre.mk>
53
54
MF_TEMPLATE=	${ZOPEBASEDIR}/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/Makefile.pre.in
55
post-patch:
56
.if ${PYTHON_REL} >= 220
57
# temporary trick until next release
58
	@${SED} -e 's,.*config\(/Makefile.pre.in\).*,    return "${MF_TEMPLATE}",' \
59
		-e 's,.*sys.version.*,,' \
60
		-e 's,\(cp %s \.\),if [ ! -f ./Makefile.pre.in ]; then (\1); fi,' \
61
		${WRKSRC}/inst/do.py > ${WRKSRC}/inst/do.py.tmp \
62
		&& ${MV} -f ${WRKSRC}/inst/do.py.tmp ${WRKSRC}/inst/do.py
63
.endif
64
52
# I decided to consider the whole souce tree to be part of the package
65
# I decided to consider the whole souce tree to be part of the package
53
# since in there, Zope can live on its own. I can use Zope's own building
66
# since in there, Zope can live on its own. I can use Zope's own building
54
# mechanism.
67
# mechanism.
Lines 121-124 Link Here
121
	@${ECHO} "===>   For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-Changes."
134
	@${ECHO} "===>   For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-Changes."
122
	@${ECHO} "===>   Zope.cgi and pcgi-wrapper live in ${CGIBINDIR}."
135
	@${ECHO} "===>   Zope.cgi and pcgi-wrapper live in ${CGIBINDIR}."
123
136
124
.include <bsd.port.mk>
137
.include <bsd.port.post.mk>

Return to bug 33836