freebsd-ports/www/mod_gnutls/Makefile
Muhammad Moinur Rahman 40843b1ccb Mk/Uses/apache.mk: Refactor after removal of older versions
apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:

- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
  from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
  one available version in the tree. However the version checks are
  still valid and should work flawlessly whenever a new version is
  added. For example USES=apache:2.2+ are simply replaced with
  USES=apache. As currently there are no other versions available for
  test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces

Approved by:    portmgr
Differential Revision: https://reviews.freebsd.org/D38113
2023-01-25 11:54:07 -06:00

38 lines
1.0 KiB
Makefile

PORTNAME= mod_gnutls
PORTVERSION= 0.12.0
CATEGORIES= www security
MASTER_SITES= https://mod.gnutls.org/downloads/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= joneum@FreeBSD.org
COMMENT= Extension for Apache httpd using GnuTLS library to provide HTTPS
WWW= https://mod.gnutls.org
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.13:devel/py-yaml@${PY_FLAVOR}
LIB_DEPENDS= libgnutls.so:security/gnutls
GNU_CONFIGURE= yes
USES= apache compiler:c++11-lang cpe libtool pkgconfig python:3.7+ tar:bzip2
CPE_VENDOR= ${PORTNAME}_project
BINARY_ALIAS= python3=${PYTHON_CMD} python=${PYTHON_CMD}
DBDIR= ${PREFIX}/var/db/${PORTNAME}
PLIST_SUB= SED="${SED}" WWWGRP=${WWWGRP} WWWOWN=${WWWOWN}
SUB_FILES= pkg-message
SUB_LIST= DBDIR="${DBDIR}"
CFLAGS+= -Wno-deprecated-declarations -Wno-null-pointer-subtraction
CONFIGURE_ARGS= --with-apxs="${APXS}"
INSTALL_TARGET= install-strip
post-install:
${MKDIR} "${STAGEDIR}${DBDIR}"
.include <bsd.port.mk>