blob: dbc7f112062d671020b27aefc2c92b724b37f4bd (
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
54
|
# $NetBSD: Makefile,v 1.10 2006/04/23 00:12:42 jlam Exp $
#
DISTNAME= Zope-3.2.0
PKGNAME= zope3-3.2.0
PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.zope.org/Products/Zope3/3.2.0final/
EXTRACT_SUFX= .tgz
MAINTAINER= ykomatsu@akaumigame.org
HOMEPAGE= http://dev.zope.org/Zope3/
COMMENT= Zope 3 Application Server
DEPENDS+= ${PYPKGPREFIX}-xml>=0.8.4:../../textproc/py-xml
.include "Makefile.common"
.include "../../mk/bsd.prefs.mk"
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --with-python ${PYTHONBIN} \
--prefix ${ZOPE3_DIR} \
--force
.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-6]*)
EXTRACT_USING= gtar
.endif
BUILD_TARGET= build
RCD_SCRIPTS= zope3 zss3
PKG_GROUPS= ${ZOPE3_GROUP}
PKG_USERS= ${ZOPE3_USER}:${ZOPE3_GROUP}::Zope3\ user
PKG_GECOS.${ZOPE3_USER}= Zope3 user
MESSAGE_SUBST+= ZOPE3_USER=${ZOPE3_USER:Q} \
ZOPE3_GROUP=${ZOPE3_GROUP:Q} \
VARBASE=${VARBASE:Q}
pre-install:
${FIND} ${WRKSRC} -name "*.orig" -type f -print | ${XARGS} ${RM} -f
post-install:
${LN} -s ${ZOPE3_DIR}/bin/mkzeoinstance ${PREFIX}/bin
${LN} -s ${ZOPE3_DIR}/bin/mkzopeinstance ${PREFIX}/bin
${LN} -s ${ZOPE3_DIR}/bin/zopetest ${PREFIX}/bin
${INSTALL_DATA_DIR} ${ZOPE3_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/Zope/LICENSES.txt ${ZOPE3_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/Zope/ZopePublicLicense.txt ${ZOPE3_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/Zope/doc/*.txt ${ZOPE3_DOCDIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|