openbsd-ports/www/ap2-mod_jk/Makefile
dcoppa f6fd1af021 Import of mod_jk 1.2.37 for use on Apache2.
mod_jk is a DSO module for Apache2. It connects Apache to Tomcat.
mod_jk can be configured to off-load SSL processing to Apache, serve
static content for webapps and load balance multiple Tomcat servers.

ok kurt@
tweaks & ok sthen@
2013-01-25 08:51:16 +00:00

55 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/01/25 08:51:16 dcoppa Exp $
SHARED_ONLY = Yes
COMMENT = Apache-Tomcat AJP Connector for Apache2
V = 1.2.37
DISTNAME = tomcat-connectors-${V}-src
PKGNAME = ap2-mod_jk-${V}
CATEGORIES = www
HOMEPAGE = http://tomcat.apache.org/connectors-doc/index.html
# Apache Software License 2.0
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += pthread
MASTER_SITES = ${MASTER_SITE_APACHE:=tomcat/tomcat-connectors/jk/}
RUN_DEPENDS = www/apache-httpd
BUILD_DEPENDS = ${RUN_DEPENDS}
USE_GMAKE = Yes
USE_LIBTOOL = Yes
NO_REGRESS = Yes
CONFIGURE_STYLE =gnu
CONFIGURE_ARGS =--with-apxs=${LOCALBASE}/sbin/apxs2
WRKSRC = ${WRKDIST}/native
MODGNU_CONFIG_GUESS_DIRS =${WRKSRC}/scripts/build/unix
DOCDIR = ${PREFIX}/share/doc/ap2-mod_jk
EXAMPLEDIR = ${PREFIX}/share/examples/ap2-mod_jk
EXAMPLES = uriworkermap.properties workers.properties \
workers.properties.minimal
do-install:
${INSTALL_DATA_DIR} ${EXAMPLEDIR}/apache2
.for file in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/../conf/${file} ${EXAMPLEDIR}/apache2/
.endfor
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIST}/LICENSE ${DOCDIR}/
${INSTALL_DATA} ${WRKDIST}/NOTICE ${DOCDIR}/
${INSTALL_DATA_DIR} ${PREFIX}/lib/apache2
${INSTALL_PROGRAM} ${WRKSRC}/apache-2.0/mod_jk.so \
${PREFIX}/lib/apache2/
.include <bsd.port.mk>