# New ports collection makefile for: mod_python # Date created: 28 August 2000 # Whom: Hye-Shik Chang # # $FreeBSD$ # PORTNAME= mod_python PORTVERSION= 2.7.11 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} MASTER_SITE_SUBDIR= modpython EXTRACT_SUFX= .tgz DIST_SUBDIR= python MAINTAINER= josh@elsasser.org COMMENT= Apache module for integrating Python USE_APACHE= yes NO_PACKAGE= "Requires Python without threads support" USE_PYTHON= yes .include GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-apxs=${APXS} CONFIGURE_ENV= PYTHON_BIN=${PYTHON_CMD} MAKE_ENV= PORTS_APXS=${APXS} PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g} pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You may use the following build option:" @${ECHO_MSG} "" @${ECHO_MSG} " WANT_EAPI=yes build as apache EAPI module (for apache13-modssl)" @${ECHO_MSG} "" pre-patch: .if defined(WANT_EAPI) cd ${WRKSRC} && ${PATCH} -p2 -s < ${PATCHDIR}/optpatch-WANT_EAPI .endif post-configure: @${SH} ${PKGREQ}.threads ${PYTHON_CMD} .if defined(OPTIONAL_LIBS) ${SED} 's/^\(LIBS=.*\)/\1 ${OPTIONAL_LIBS}/' ${WRKSRC}/src/Makefile \ > ${WRKSRC}/src/Makefile.tmp && \ ${MV} -f ${WRKSRC}/src/Makefile.tmp ${WRKSRC}/src/Makefile .endif post-build: .if !defined(DONT_STRIP) && exists(${STRIP_CMD}) ${STRIP_CMD} ${WRKSRC}/src/mod_python.so .endif post-install: @${CAT} ${PKGMESSAGE} .include 2.8'>cinnamon-2.8 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update to 2.3.16bdrewery2012-11-273-8/+12
* Move the rc.d scripts of the form *.sh.in to *.indougb2012-08-062-1/+1
* In the rc.d scripts, change assignments to rcvar to use thedougb2012-01-141-1/+1
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-3/+2
* - Update to 2.3.9miwi2011-08-265-67/+65
* Mark BROKEN: Does not fetchbapt2011-08-031-0/+2
* - Get Rid MD5 supportmiwi2011-03-19