freebsd-ports/www/mod_jk/Makefile
Bernard Spil f0229aab54 Migrate USE_APACHE to USES= apache
- Following migration of Mk/bsd.apache.mk to Mk/Uses/apache.mk

With hat:	apache
2018-03-11 18:36:16 +00:00

32 lines
1 KiB
Makefile

# Created by: Dirk Froemberg <dirk@FreeBSD.org>
# $FreeBSD$
PORTNAME= mod_jk
PORTVERSION= 1.2.41
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= APACHE/tomcat/tomcat-connectors/jk/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
DISTNAME= tomcat-connectors-${PORTVERSION}-src
MAINTAINER?= girgen@FreeBSD.org
COMMENT?= Apache JK module for connecting to Tomcat using AJP1X
USES= apache:2.2+ gmake
APACHE_VER= 2.0
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs=${APXS}
WRKSRC= ${WRKDIR}/tomcat-connectors-${PORTVERSION}-src/native
SUB_FILES= mod_jk.conf.sample pkg-message
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
${APXS} -i -n jk -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
${MKDIR} ${STAGEDIR}${LOCALBASE}/${APACHEETCDIR}
${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${STAGEDIR}${LOCALBASE}/${APACHEETCDIR}
${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${STAGEDIR}${LOCALBASE}/${APACHEETCDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_jk.so
.include <bsd.port.mk>