svn commit: r385166 - in head/java: . hamcrest

Kurt Jaeger pi at FreeBSD.org
Sat May 2 07:05:59 UTC 2015


Author: pi
Date: Sat May  2 07:05:57 2015
New Revision: 385166
URL: https://svnweb.freebsd.org/changeset/ports/385166

Log:
  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

Added:
  head/java/hamcrest/
  head/java/hamcrest/Makefile   (contents, props changed)
  head/java/hamcrest/distinfo   (contents, props changed)
  head/java/hamcrest/pkg-descr   (contents, props changed)
Modified:
  head/java/Makefile

Modified: head/java/Makefile
==============================================================================
--- head/java/Makefile	Sat May  2 03:52:09 2015	(r385165)
+++ head/java/Makefile	Sat May  2 07:05:57 2015	(r385166)
@@ -25,6 +25,7 @@
     SUBDIR += eclipse-pydev
     SUBDIR += eclipse-shelled
     SUBDIR += eclipse-windowbuilder
+    SUBDIR += hamcrest
     SUBDIR += icedtea-web
     SUBDIR += infobus
     SUBDIR += jad

Added: head/java/hamcrest/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/hamcrest/Makefile	Sat May  2 07:05:57 2015	(r385166)
@@ -0,0 +1,30 @@
+# Created by: Danilo Egea Gondolfo <danilo at 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 at 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>

Added: head/java/hamcrest/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/hamcrest/distinfo	Sat May  2 07:05:57 2015	(r385166)
@@ -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

Added: head/java/hamcrest/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/java/hamcrest/pkg-descr	Sat May  2 07:05:57 2015	(r385166)
@@ -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/


More information about the svn-ports-all mailing list