mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
1d6232b246
some additional cleanups/fixes - adopt new Makefile header - convert to optionsNG - use BROKEN instead IGNORE in bsd.apache.mk with hat apache@
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_fcgid
|
|
PORTVERSION= 2.3.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= hemi@puresimplicity.net
|
|
COMMENT= An alternative FastCGI module for Apache2
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_APACHE= 22+
|
|
|
|
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
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/docs/manual/mod/mod_fcgid.html ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/docs/manual/mod/mod_fcgid.html.en ${DOCSDIR}
|
|
.endif
|
|
${MKDIR} -m 700 /var/run/fcgidsock
|
|
${CHOWN} www:www /var/run/fcgidsock
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|