aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-fcgi/Makefile
blob: f3c53f23255c7e7a44d1c8889dcdbd7bf250050b (plain) (blame)
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
# New ports collection makefile for:    py-fcgi
# Date created:     18 July 2002
# Whom:         JunSeon Oh <hollywar@mail.holywar.net>
#
# $FreeBSD$
#

PORTNAME=   fcgi
PORTVERSION=    0.1
CATEGORIES= www python
MASTER_SITES=   http://alldunn.com/python/ \
        ftp://ftp.holywar.net/pub/FreeBSD/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .py
EXTRACT_ONLY=   #

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python FastCGI interface library

USE_PYTHON= yes
NO_WRKSUBDIR=   yes

post-extract:
    @${INSTALL_DATA} ${DISTDIR}/fcgi.py ${WRKSRC}

do-build:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
    @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}

do-install:
    @${INSTALL_DATA} ${WRKSRC}/fcgi.py* ${PYTHON_SITELIBDIR}

.include <bsd.port.mk>