mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
d7a8f169f0
Changelog: https://modwsgi.readthedocs.io/en/develop/release-notes/version-4.6.4.html PR: 227358 Submitted by: Douglas Thrift <douglas@douglasthrift.net> (maintainer)
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mod_wsgi
|
|
DISTVERSION= 4.6.4
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= douglas@douglasthrift.net
|
|
COMMENT= Python WSGI adapter module for Apache
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= apache:2.2+ gettext python
|
|
USE_PYTHON= flavors
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
|
|
|
|
SUB_FILES= pkg-message ${APMOD_FILE}
|
|
APMOD_FILE= 270_${PORTNAME}.conf.sample
|
|
PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
|
|
|
|
pre-everything::
|
|
@${ECHO_MSG} "======================= ATTENTION! ======================"
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
|
|
@${ECHO_MSG} "Apache and APR include thread support."
|
|
@${ECHO_MSG}
|
|
@${ECHO_MSG} "========================================================="
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
|
|
${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${PORTNAME}.so
|
|
|
|
.include <bsd.port.mk>
|