diff options
Diffstat (limited to 'www/py-pcgi/Makefile')
-rw-r--r-- | www/py-pcgi/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www/py-pcgi/Makefile b/www/py-pcgi/Makefile new file mode 100644 index 00000000000..de94f125c35 --- /dev/null +++ b/www/py-pcgi/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/01/16 04:15:18 tsarna Exp $ +# + +DISTNAME= Zope-2.1.2-src +PKGNAME= py-pcgi-2.1.2 +CATEGORIES= www +MASTER_SITES= http://www.zope.org/Products/Zope/2.1.2/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tsarna@netbsd.org +HOMEPAGE= http://starship.python.net/crew/jbauer/persistcgi/ + +DEPENDS+= python-1.5.2:../../lang/python + +HAS_CONFIGURE= yes +SITE_PKG= lib/python1.5/site-packages +PYTHON_LIBDIR= ${LOCALBASE}/${SITE_PKG} +EXTRACT_ELEMENTS= ${DISTNAME}/pcgi + +WRKSRC= ${WRKDIR}/${DISTNAME}/pcgi + +post-build: + (cd ${WRKSRC}; ${LOCALBASE}/bin/python ${PREFIX}/lib/python1.5/compileall.py .) + (cd ${WRKSRC}; ${LOCALBASE}/bin/python -O ${PREFIX}/lib/python1.5/compileall.py .) + +do-install: + ${INSTALL_SCRIPT_DIR} ${PYTHON_LIBDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/pcgi_publisher.py* ${PYTHON_LIBDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/pcgi-wrapper ${PREFIX}/libexec + +.include "../../mk/bsd.pkg.mk" |