pkgsrc/www/py-zpublisher/Makefile
tsarna 08a0ddac1a First batch of upgrades for Python 2.0:
lang/python             upgraded to 2.0
lang/py-html-docs       upgraded to 2.0
misc/py-readline        upgraded to 2.0
databases/py-gdbm       upgraded to 2.0
x11/py-Tk               upgraded to 2.0
devel/py-curses         upgraded to 2.0
lang/py-extclass        upgraded to 2.2.2 and for Python 2.0
textproc/py-dtml        upgraded to 2.2.2 and for Python 2.0
www/py-zpublisher       upgraded to 2.2.2 and for Python 2.0
print/py-reportlab      upgraded to 1.01 and for Python 2.0

More coming...
2000-10-22 20:01:48 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2000/10/22 20:01:54 tsarna Exp $
#
DISTNAME= Zope-2.2.2-src
PKGNAME= py-zpublisher-2.2.2
CATEGORIES= www
MASTER_SITES= http://www.zope.org/Products/Zope/2.2.2/
EXTRACT_SUFX= .tgz
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://classic.zope.org:8080/Documentation/Reference/ORB
DEPENDS+= py-extclass>=2.2.2:../../lang/python
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
EXTRACT_ELEMENTS= ${DISTNAME}/lib/python/ZPublisher
WRKSRC= ${WRKDIR}/${DISTNAME}/lib/python
do-build:
(cd ${WRKSRC}/..; ${PY_PROG} ${PY_LIBDIR}/compileall.py .)
(cd ${WRKSRC}/..; ${PY_PROG} -O ${PY_LIBDIR}/compileall.py .)
do-install:
${INSTALL_SCRIPT_DIR} ${PY_SITEPKG}
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
(cd ${WRKSRC}; ${PAX} -r -w -v -p e ZPublisher ${PY_SITEPKG})
${CHMOD} 755 ${PY_SITEPKG}/ZPublisher/Test.py
(cd ${PREFIX}; ${FIND} ${PY_SITEPATH}/ZPublisher \
-type f -print >>${PLIST_SRC})
(cd ${PREFIX}; ${FIND} -d ${PY_SITEPATH}/ZPublisher \
-type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
${LN} -sf ../${PY_SITEPATH}/ZPublisher/Test.py ${PREFIX}/bin/bobo
.include "../../lang/python/Makefile.inc"
.include "../../mk/bsd.pkg.mk"