View | Details | Raw Unified | Return to bug 192575 | Differences between
and this patch

Collapse All | Expand All

(-)java/hamcrest/Makefile (+30 lines)
Line 0 Link Here
1
# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org
2
# $FreeBSD$
3
4
PORTNAME=	hamcrest
5
PORTVERSION=	1.3
6
CATEGORIES=	java devel
7
MASTER_SITES=	http://repo1.maven.org/maven2/org/${PORTNAME}/${PORTNAME}-all/${PORTVERSION}/
8
DISTFILES=	${PORTNAME}-all-${PORTVERSION}.jar ${PORTNAME}-all-${PORTVERSION}-sources.jar
9
EXTRACT_ONLY=
10
11
MAINTAINER=	danilo@FreeBSD.org
12
COMMENT=	Library of matchers for building test expressions
13
14
USE_JAVA=	yes
15
NO_BUILD=	yes
16
17
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
18
PLIST_FILES=	%%JAVAJARDIR%%/hamcrest.jar \
19
		%%JAVAJARDIR%%/hamcrest1.3.jar \
20
		%%DATADIR%%/src.jar
21
22
do-install:
23
	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}.jar \
24
		 ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
25
	${LN} -sf ${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}1.3.jar
26
	@${MKDIR} ${STAGEDIR}${DATADIR}
27
	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-all-${PORTVERSION}-sources.jar \
28
		${STAGEDIR}${DATADIR}/src.jar
29
30
.include <bsd.port.mk>
(-)java/hamcrest/distinfo (+4 lines)
Line 0 Link Here
1
SHA256 (hamcrest-all-1.3.jar) = 4877670629ab96f34f5f90ab283125fcd9acb7e683e66319a68be6eb2cca60de
2
SIZE (hamcrest-all-1.3.jar) = 306578
3
SHA256 (hamcrest-all-1.3-sources.jar) = c53535c3d25b5bf0b00a324a5583c7dd2fed0fa6d1bbc622e2dec460c24faab3
4
SIZE (hamcrest-all-1.3-sources.jar) = 87801
(-)java/hamcrest/pkg-descr (+7 lines)
Line 0 Link Here
1
Provides a library of matcher objects (also known as
2
constraints or predicates) allowing 'match' rules to
3
be defined declaratively, to be used in other frameworks.
4
Typical scenarios include testing frameworks, mocking libraries
5
and UI validation rules.
6
7
WWW: http://hamcrest.org/
(-)java/junit/Makefile (-22 / +8 lines)
Lines 2-28 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	junit
4
PORTNAME=	junit
5
PORTVERSION=	4.11
5
PORTVERSION=	4.12
6
PORTREVISION=	1
7
CATEGORIES=	java devel
6
CATEGORIES=	java devel
8
MASTER_SITES=	GHL
7
MASTER_SITES=	http://repo1.maven.org/maven2/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
9
DISTNAME=	${PORTNAME}${PORTVERSION}
8
DISTFILES=	${PORTNAME}-${PORTVERSION}.jar ${PORTNAME}-${PORTVERSION}-sources.jar
9
EXTRACT_ONLY=
10
10
11
MAINTAINER=	danilo@FreeBSD.org
11
MAINTAINER=	danilo@FreeBSD.org
12
COMMENT=	Regression testing utility for use with the Java(TM) Language
12
COMMENT=	Regression testing utility for use with the Java(TM) Language
13
13
14
USE_GITHUB=	yes
14
LIB_DEPENDS=	${JAVAJARDIR}/hamcrest.jar:${PORTSDIR}/java/hamcrest
15
GH_ACCOUNT=	junit-team
16
GH_PROJECT=	${PORTNAME}
17
GH_TAGNAME=	r${PORTVERSION}
18
GH_COMMIT=	c62e2df
19
15
20
USES=		perl5
21
USE_JAVA=	yes
16
USE_JAVA=	yes
22
USE_ANT=	yes
17
NO_BUILD=	yes
23
18
24
PORTDOCS=	README.html cpl-v10.html doc javadoc
25
PORTEXAMPLES=	*
26
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
19
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
27
PLIST_FILES=	%%JAVAJARDIR%%/junit.jar \
20
PLIST_FILES=	%%JAVAJARDIR%%/junit.jar \
28
		%%JAVAJARDIR%%/junit4.jar \
21
		%%JAVAJARDIR%%/junit4.jar \
Lines 29-46 Link Here
29
		%%DATADIR%%/src.jar
22
		%%DATADIR%%/src.jar
30
23
31
do-install:
24
do-install:
32
	${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT.jar \
25
	${INSTALL_DATA} ${DISTDIR}/junit-${PORTVERSION}.jar \
33
		 ${STAGEDIR}${JAVAJARDIR}/junit.jar
26
		 ${STAGEDIR}${JAVAJARDIR}/junit.jar
34
	${LN} -sf junit.jar ${STAGEDIR}${JAVAJARDIR}/junit4.jar
27
	${LN} -sf junit.jar ${STAGEDIR}${JAVAJARDIR}/junit4.jar
35
	@${MKDIR} ${STAGEDIR}${DATADIR}
28
	@${MKDIR} ${STAGEDIR}${DATADIR}
36
	${INSTALL_DATA} ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit-${PORTVERSION}-SNAPSHOT-src.jar \
29
	${INSTALL_DATA} ${DISTDIR}/junit-${PORTVERSION}-sources.jar \
37
		${STAGEDIR}${DATADIR}/src.jar
30
		${STAGEDIR}${DATADIR}/src.jar
38
	cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT/junit/samples \
39
		&& ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
40
	cd ${INSTALL_WRKSRC} \
41
		&& ${FIND} ${PORTDOCS:Njavadoc} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
42
		&& ${FIND} ${PORTDOCS:Njavadoc} -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
43
	cd ${INSTALL_WRKSRC}/junit${PORTVERSION}-SNAPSHOT \
44
		&& ${FIND} javadoc -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
45
31
46
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)java/junit/distinfo (-2 / +4 lines)
Lines 1-2 Link Here
1
SHA256 (junit4.11.tar.gz) = a9266060d72c43411c93d1bfae952134ad91f4115bf5769e9a0d17b3d51bd097
1
SHA256 (junit-4.12.jar) = 59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a
2
SIZE (junit4.11.tar.gz) = 1974279
2
SIZE (junit-4.12.jar) = 314932
3
SHA256 (junit-4.12-sources.jar) = 9f43fea92033ad82bcad2ae44cec5c82abc9d6ee4b095cab921d11ead98bf2ff
4
SIZE (junit-4.12-sources.jar) = 200355
(-)editors/libreoffice/Makefile (-1 / +2 lines)
Lines 250-256 Link Here
250
			--enable-report-builder \
250
			--enable-report-builder \
251
			--with-ant-home=${LOCALBASE}/share/java/apache-ant \
251
			--with-ant-home=${LOCALBASE}/share/java/apache-ant \
252
			--with-jdk-home="${JAVA_HOME}" \
252
			--with-jdk-home="${JAVA_HOME}" \
253
			--with-junit=${JAVAJARDIR}/junit.jar
253
			--with-junit=${JAVAJARDIR}/junit.jar \
254
			--with-hamcrest=${JAVAJARDIR}/hamcrest.jar
254
JAVA_CONFIGURE_OFF=	--without-java
255
JAVA_CONFIGURE_OFF=	--without-java
255
JAVA_BUILD=	yes
256
JAVA_BUILD=	yes
256
JAVA_USE=	JAVA=yes
257
JAVA_USE=	JAVA=yes

Return to bug 192575