9c8b5ede43
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2006/03/04 21:31:06 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= Zope-2.6.2-src
|
|
PKGNAME= zope-2.6.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.zope.org/Products/Zope/2.6.2/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.zope.org/
|
|
COMMENT= Zope, the Z Object Publishing Environment
|
|
|
|
DIST_SUBDIR= zope
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 21
|
|
|
|
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}|"
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
#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 -a \! \( -name "*.[cho]" \
|
|
-o -name "sedscript" -o -name "Makefile*" \
|
|
-o -name "Setup*" -o -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"
|