mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
c4c57226a7
PR: 22850 Submitted by: maintainer
41 lines
1.1 KiB
Makefile
41 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.6.3
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://www.modpython.org/dist/ \
|
|
http://www.pythonlabs.com/products/python2.0/downloads/
|
|
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_LIBPATH=${PYTHON_LIBPATH:S/^${LOCALBASE}//g}lib
|
|
|
|
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>
|