freebsd-ports/java/hamcrest/Makefile
Michael Osipov 152d92bf57 */*: Use only HTTPS to fetch ports from Maven Central
Maven Central supports HTTPS only for quite some time now and responds
with "Not Implemented" over HTTP.

Source: https://blog.sonatype.com/central-repository-moving-to-https

PR:		272867
2023-09-17 14:30:09 +09:00

29 lines
908 B
Makefile

PORTNAME= hamcrest
PORTVERSION= 1.3
CATEGORIES= java devel
MASTER_SITES= https://repo1.maven.org/maven2/org/${PORTNAME}/${PORTNAME}-all/${PORTVERSION}/
DISTFILES= ${PORTNAME}-all-${PORTVERSION}.jar ${PORTNAME}-all-${PORTVERSION}-sources.jar
EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= Library of matchers for building test expressions
WWW= https://hamcrest.org/
USE_JAVA= yes
NO_ARCH= yes
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= %%JAVAJARDIR%%/hamcrest.jar \
%%JAVAJARDIR%%/hamcrest1.3.jar \
%%DATADIR%%/src.jar
do-install:
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
${LN} -sf ${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}1.3.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}-sources.jar \
${STAGEDIR}${DATADIR}/src.jar
.include <bsd.port.mk>