1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/www/mod_python/Makefile
Jimmy Olgeni 25179133d8 Update port to version 2.7.2 (security fixes)
PR:		25127
Submitted by:	maintainer
2001-02-24 21:05:26 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: mod_python
# Date created: 28 August 2000
# Whom: Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#
PORTNAME= mod_python
PORTVERSION= 2.7.2
CATEGORIES= www python
MASTER_SITES= http://www.modpython.org/dist/ \
http://www.python.org/ftp/python/2.0/ \
http://www3.kr.freebsd.org/~perky/distfiles/
DISTFILES= mod_python-${PORTVERSION}.tgz ${PYTHON_DISTFILE}
DIST_SUBDIR= python
MAINTAINER= perky@python.or.kr
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
PYTHON_WRKSRC= ${WRKSRC}/../Python-${PYTHON_VERSION:S/python//g}
APXS= ${PREFIX}/sbin/apxs
GNU_CONFIGURE= yes
USE_PYTHON= yes
CONFIGURE_ARGS= --with-apxs=${LOCALBASE}/sbin/apxs \
--with-python=${PYTHON_WRKSRC}
CONFIGURE_ENV= PYTHON_BIN=${LOCALBASE}/bin/python
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
pre-configure:
cd ${PYTHON_WRKSRC} && ./configure --without-threads && cd Modules && ${MAKE} -f Makefile.pre Makefile
pre-build:
cd ${PYTHON_WRKSRC} && ${MAKE}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>