1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/www/httpasyncclient/Makefile
2021-04-06 16:31:07 +02:00

49 lines
1.4 KiB
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org>
PORTNAME= httpasyncclient
DISTVERSION= 4.1.4
CATEGORIES= www java
MASTER_SITES= APACHE/httpcomponents/${PORTNAME}/binary
DISTNAME= httpcomponents-asyncclient-${DISTVERSION}-bin
MAINTAINER= ale@FreeBSD.org
COMMENT= Java components implementing an asynchronous HTTP client
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${JAVALIBDIR}/httpclient.jar:www/httpclient
USES= cpe
CPE_VENDOR= apache
OPTIONS_DEFINE= DOCS
USE_JAVA= yes
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/httpcomponents-asyncclient-${DISTVERSION}
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
%%JAVAJARDIR%%/${PORTNAME}-cache.jar
PORTDOCS= *
.include <bsd.port.options.mk>
do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${DISTVERSION}.jar \
${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}-cache.jar..."
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-cache-${DISTVERSION}.jar \
${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}-cache.jar
@${ECHO_MSG} " [DONE]"
.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${STAGEDIR}/${DOCSDIR}/
@${ECHO_MSG} " [DONE]"
.endif
.include <bsd.port.mk>