1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/www/tomcat-native2/Makefile
Michael Osipov 145858d18e www/tomcat-native2: new port
PR:		276736
Approved by:	jrm (mentor)
Tested by:	jonc@chen.org.nz
Differential Revision:	https://reviews.freebsd.org/D44824
2024-04-29 19:09:47 +02:00

38 lines
1.0 KiB
Makefile

PORTNAME= tomcat-native
DISTVERSION= 2.0.7
CATEGORIES= www java
MASTER_SITES= https://archive.apache.org/dist/tomcat/tomcat-connectors/native/${PORTVERSION}/source/
PKGNAMESUFFIX= 2
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= michaelo@apache.org
COMMENT= Tomcat native library
WWW= https://tomcat.apache.org/native-doc/
LICENSE= APACHE20
LIB_DEPENDS= libapr-1.so:devel/apr1
USES= libtool ssl
USE_JAVA= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-apr=${LOCALBASE} \
--with-java-home=${JAVA_HOME} \
--with-ssl=${OPENSSLBASE} \
--disable-openssl-version-check
WRKSRC= ${WRKDIR}/${DISTNAME}/native
SOVERSION= ${PORTVERSION:E}
MAJORVERSION= ${PORTVERSION:R:R}
PLIST_FILES= lib/libtcnative-${MAJORVERSION}.so \
lib/libtcnative-${MAJORVERSION}.so.0 \
lib/libtcnative-${MAJORVERSION}.so.0.0.${SOVERSION}
post-install:
${RM} ${STAGEDIR}${PREFIX}/lib/libtcnative-${MAJORVERSION}.a
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcnative-${MAJORVERSION}.so.0.0.${SOVERSION}
.include <bsd.port.mk>