mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07: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:
@@ -25,6 +25,7 @@
|
||||
SUBDIR += eclipse-pydev
|
||||
SUBDIR += eclipse-shelled
|
||||
SUBDIR += eclipse-windowbuilder
|
||||
SUBDIR += hamcrest
|
||||
SUBDIR += icedtea-web
|
||||
SUBDIR += infobus
|
||||
SUBDIR += jad
|
||||
|
||||
@@ -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>
|
||||
@@ -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
|
||||
@@ -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/
|
||||
Reference in New Issue
Block a user