freebsd-ports/java/junit/Makefile
Kurt Jaeger d607887cdb java/junit: 4.11 -> 4.12
Changes:
https://github.com/junit-team/junit/blob/master/doc/ReleaseNotes4.12.md

Moved from building from source with ant to using the binary jar file,
as the new build mechanism is based on maven. java/hamcrest was split
from 4.12.

PR:		192575
Submitted by:	danilo (maintainer), kevin.bowling@kev009.com
2015-05-02 18:00:59 +00:00

32 lines
924 B
Makefile

# Created by: OKAZAKI Tetsurou
# $FreeBSD$
PORTNAME= junit
PORTVERSION= 4.12
CATEGORIES= java devel
MASTER_SITES= http://repo1.maven.org/maven2/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
DISTFILES= ${PORTNAME}-${PORTVERSION}.jar ${PORTNAME}-${PORTVERSION}-sources.jar
EXTRACT_ONLY=
MAINTAINER= danilo@FreeBSD.org
COMMENT= Regression testing utility for use with the Java(TM) Language
RUN_DEPENDS= ${JAVAJARDIR}/hamcrest.jar:${PORTSDIR}/java/hamcrest
USE_JAVA= 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>