1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/py-fcgi/Makefile

32 lines
704 B
Makefile

# Created by: 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
NO_STAGE= 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>