pkgsrc/www/ap-scgi/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

33 lines
800 B
Makefile

# $NetBSD: Makefile,v 1.11 2014/01/25 10:30:26 wiz Exp $
#
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME}
PKGREVISION= 2
COMMENT= Simple Common Gateway Interface for Apache
DEPENDS+= ${PYPKGPREFIX}-scgi-[0-9]*:../../www/py-scgi
APACHE_MODULE= yes
# does not compile with apache24
PKG_APACHE_ACCEPTED= apache13 apache2 apache22
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-quixote via py-scgi
.include "../../mk/apache.mk"
.include "../../www/apache/module.mk"
.if ${APACHE_PKG_PREFIX} == "ap13"
MODULE_EXT= so
APACHE_MODULE_SRCDIR= ${WRKDIR}/${DISTNAME}/apache1
.else
MODULE_EXT= la
APACHE_MODULE_SRCDIR= ${WRKDIR}/${DISTNAME}/apache2
.endif
APACHE_MODULE_NAME= mod_scgi.${MODULE_EXT}
APACHE_MODULE_SRC= mod_scgi.c
.include "../../lang/python/pyversion.mk"
.include "../../www/py-scgi/Makefile.common"