mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
e1a0244011
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
31 lines
935 B
Makefile
31 lines
935 B
Makefile
# 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>
|