mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
152d92bf57
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
35 lines
941 B
Makefile
35 lines
941 B
Makefile
PORTNAME= junit
|
|
PORTVERSION= 4.12
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= https://repo1.maven.org/maven2/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
|
|
DISTFILES= ${DISTNAME}.jar ${DISTNAME}-sources.jar
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Regression testing utility for use with the Java(TM) Language
|
|
WWW= https://www.junit.org/
|
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/hamcrest.jar:java/hamcrest
|
|
|
|
USES= cpe
|
|
CPE_VENDOR= ${PORTNAME}
|
|
CPE_PRODUCT= ${PORTNAME}4
|
|
USE_JAVA= yes
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
PLIST_FILES= %%JAVAJARDIR%%/junit.jar \
|
|
%%JAVAJARDIR%%/junit4.jar \
|
|
%%DATADIR%%/src.jar
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${DISTDIR}/junit-${PORTVERSION}.jar \
|
|
${STAGEDIR}${JAVAJARDIR}/junit.jar
|
|
${LN} -sf junit.jar ${STAGEDIR}${JAVAJARDIR}/junit4.jar
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${DISTDIR}/junit-${PORTVERSION}-sources.jar \
|
|
${STAGEDIR}${DATADIR}/src.jar
|
|
|
|
.include <bsd.port.mk>
|