blob: 1d66afadd5055e6cf360f1ea0d9bdc5057773675 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $NetBSD: Makefile,v 1.10 2003/07/28 09:27:29 drochner Exp $
#
DISTNAME= Zope-2.6.1-src
PKGNAME= zope-2.6.1
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.zope.org/Products/Zope/2.6.1/
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.zope.org/
COMMENT= Zope, the Z Object Publishing Environment
DIST_SUBDIR= zope
PYTHON_VERSIONS_ACCEPTED= 21pth
USE_BUILDLINK2= yes
ZOPEDIR= ${PREFIX}/lib/zope
ZOPEPY= pcgi lib/python ZServer z2.py zpasswd.py
ZOPEDATA= Extensions doc import var inst utilities
ZOPECREATE_SED= "-e s|@@PYTHONBIN@@|${PYTHONBIN}|"
ZOPECREATE_SED+= "-e s|@@ZOPE_HOME@@|${ZOPEDIR}|"
#do-build:
# (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} w_pcgi.py)
do-build:
(cd ${WRKSRC}/pcgi && ${SETENV} ${MAKE_ENV} ./configure && \
${SETENV} ${MAKE_ENV} ${MAKE})
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${PYTHONBIN} inst/build_extensions.py)
${SED} ${ZOPECREATE_SED} <${FILESDIR}/zope25-create \
>${WRKSRC}/zope25-create
#
# Install code and prototype data. A real INSTANCE_HOME must be created
# outside of ${PREFIX} to allow shared, read-only installations.
#
do-install:
${INSTALL_DATA_DIR} ${ZOPEDIR}
cd ${WRKSRC} && ${FIND} ${ZOPEPY} -type f -and \! \( -name "*.[cho]" \
-or -name "sedscript" -or -name "Makefile*" \
-or -name "Setup*" -or -name ".cvsignore" \) \
-print | ${PAX} -rw ${ZOPEDIR}
cd ${ZOPEDIR} && ${PYTHONBIN} ${WRKSRC}/inst/compilezpy.py
cd ${WRKSRC} && ${PAX} -rw ${ZOPEDATA} ${ZOPEDIR}
${INSTALL_SCRIPT} ${WRKSRC}/zope25-create ${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|