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
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
PORTNAME= mod_fcgid
|
|
PORTVERSION= 2.3.9
|
|
CATEGORIES= www
|
|
MASTER_SITES= APACHE_HTTPD/${PORTNAME}
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= apache2
|
|
|
|
MAINTAINER= freebsd.ports@webstyle.ch
|
|
COMMENT= Alternative FastCGI module for Apache2
|
|
WWW= https://httpd.apache.org/mod_fcgid/
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= apache cpe
|
|
CPE_VENDOR= apache
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= configure.apxs
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/modules/fcgid
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST+= APACHEMODDIR=${APACHEMODDIR}
|
|
PLIST_SUB+= APACHEMODDIR=${APACHEMODDIR}
|
|
|
|
MAKE_ARGS+= top_dir="${LOCALBASE}/share/apache${APACHE_VERSION}"
|
|
MAKE_ARGS+= INCLUDES="-I${LOCALBASE}/include/apache${APACHE_VERSION} -I${LOCALBASE}/include/apr-1"
|
|
INSTALL_TARGET= install-modules-yes
|
|
DOCSDIR= ${PREFIX}/share/doc/apache${APACHE_VERSION}/mod
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}/var/run/fcgidsock
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/manual/mod/mod_fcgid.html ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/manual/mod/mod_fcgid.html.en ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|