blob: de94f125c356e654f51ff915c0253d994af87f1e (
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
|
# $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"
|