mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
41 lines
1014 B
Makefile
41 lines
1014 B
Makefile
# Created by: Dirk Froemberg <dirk@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mod_jk
|
|
PORTVERSION= 1.2.37
|
|
PORTEPOCH?= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_APACHE}
|
|
MASTER_SITE_SUBDIR= 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
|
|
|
|
|
|
USE_APACHE?= 22+
|
|
APACHE_VER= 2.0
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
WRKSRC= ${WRKDIR}/tomcat-connectors-${PORTVERSION}-src/native
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-apxs=${APXS}
|
|
|
|
SUB_FILES+= mod_jk.conf.sample pkg-message
|
|
|
|
do-install:
|
|
${APXS} -i -n jk ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
|
|
- ${APXS} -e -A -n jk ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
|
|
${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${LOCALBASE}/${APACHEETCDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${LOCALBASE}/${APACHEETCDIR}
|
|
|
|
post-install:
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|