diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/hamcrest/Makefile | 30 | ||||
-rw-r--r-- | java/hamcrest/distinfo | 4 | ||||
-rw-r--r-- | java/hamcrest/pkg-descr | 7 |
4 files changed, 42 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile index c7e2a05fff48..249def83b97b 100644 --- a/java/Makefile +++ b/java/Makefile @@ -25,6 +25,7 @@ SUBDIR += eclipse-pydev SUBDIR += eclipse-shelled SUBDIR += eclipse-windowbuilder + SUBDIR += hamcrest SUBDIR += icedtea-web SUBDIR += infobus SUBDIR += jad diff --git a/java/hamcrest/Makefile b/java/hamcrest/Makefile new file mode 100644 index 000000000000..95e76b87d8d4 --- /dev/null +++ b/java/hamcrest/Makefile @@ -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> diff --git a/java/hamcrest/distinfo b/java/hamcrest/distinfo new file mode 100644 index 000000000000..77967e899194 --- /dev/null +++ b/java/hamcrest/distinfo @@ -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 diff --git a/java/hamcrest/pkg-descr b/java/hamcrest/pkg-descr new file mode 100644 index 000000000000..7457f653ea94 --- /dev/null +++ b/java/hamcrest/pkg-descr @@ -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/ |