1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

New port: java/hamcrest

Provides a library of matcher objects (also known as
constraints or predicates) allowing 'match' rules to
be defined declaratively, to be used in other frameworks.
Typical scenarios include testing frameworks, mocking libraries
and UI validation rules.

WWW: http://hamcrest.org/

PR:		192575
Submitted by:	danilo
This commit is contained in:
Kurt Jaeger 2015-05-02 07:05:57 +00:00
parent ee49900e72
commit e1a0244011
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385166
4 changed files with 42 additions and 0 deletions

View File

@ -25,6 +25,7 @@
SUBDIR += eclipse-pydev
SUBDIR += eclipse-shelled
SUBDIR += eclipse-windowbuilder
SUBDIR += hamcrest
SUBDIR += icedtea-web
SUBDIR += infobus
SUBDIR += jad

30
java/hamcrest/Makefile Normal file
View File

@ -0,0 +1,30 @@
# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org
# $FreeBSD$
PORTNAME= hamcrest
PORTVERSION= 1.3
CATEGORIES= java devel
MASTER_SITES= http://repo1.maven.org/maven2/org/${PORTNAME}/${PORTNAME}-all/${PORTVERSION}/
DISTFILES= ${PORTNAME}-all-${PORTVERSION}.jar ${PORTNAME}-all-${PORTVERSION}-sources.jar
EXTRACT_ONLY=
MAINTAINER= danilo@FreeBSD.org
COMMENT= Library of matchers for building test expressions
USE_JAVA= 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>

4
java/hamcrest/distinfo Normal file
View File

@ -0,0 +1,4 @@
SHA256 (hamcrest-all-1.3.jar) = 4877670629ab96f34f5f90ab283125fcd9acb7e683e66319a68be6eb2cca60de
SIZE (hamcrest-all-1.3.jar) = 306578
SHA256 (hamcrest-all-1.3-sources.jar) = c53535c3d25b5bf0b00a324a5583c7dd2fed0fa6d1bbc622e2dec460c24faab3
SIZE (hamcrest-all-1.3-sources.jar) = 87801

7
java/hamcrest/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
Provides a library of matcher objects (also known as
constraints or predicates) allowing 'match' rules to
be defined declaratively, to be used in other frameworks.
Typical scenarios include testing frameworks, mocking libraries
and UI validation rules.
WWW: http://hamcrest.org/