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:
pi
2015-05-02 07:05:57 +00:00
parent 20c843f9da
commit 9b87c234a3
4 changed files with 42 additions and 0 deletions
+1
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
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
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
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/