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

Collapse All | Expand All

(-)java/Makefile (-1 / +1 lines)
Lines 8-13 Link Here
8
    SUBDIR += apache-commons-codec
8
    SUBDIR += apache-commons-codec
9
    SUBDIR += apache-commons-collections
9
    SUBDIR += apache-commons-collections
10
    SUBDIR += apache-commons-dbcp
10
    SUBDIR += apache-commons-dbcp
11
    SUBDIR += apache-commons-discovery
11
    SUBDIR += apache-commons-httpclient
12
    SUBDIR += apache-commons-httpclient
12
    SUBDIR += apache-commons-lang
13
    SUBDIR += apache-commons-lang
13
    SUBDIR += apache-commons-lang3
14
    SUBDIR += apache-commons-lang3
Lines 47-53 Link Here
47
    SUBDIR += jad
48
    SUBDIR += jad
48
    SUBDIR += jai
49
    SUBDIR += jai
49
    SUBDIR += jakarta-commons-beanutils
50
    SUBDIR += jakarta-commons-beanutils
50
    SUBDIR += jakarta-commons-discovery
51
    SUBDIR += jakarta-oro
51
    SUBDIR += jakarta-oro
52
    SUBDIR += jakarta-regexp
52
    SUBDIR += jakarta-regexp
53
    SUBDIR += jasmin
53
    SUBDIR += jasmin
(-)java/apache-commons-discovery/Makefile (-2 / +4 lines)
Lines 5-16 Link Here
5
PORTVERSION=	0.5
5
PORTVERSION=	0.5
6
CATEGORIES=	java devel
6
CATEGORIES=	java devel
7
MASTER_SITES=	APACHE_COMMONS_BINARIES
7
MASTER_SITES=	APACHE_COMMONS_BINARIES
8
PKGNAMEPREFIX=	jakarta-
8
PKGNAMEPREFIX=	apache-
9
DISTNAME=	${PORTNAME}-${PORTVERSION}-bin
9
DISTNAME=	${PORTNAME}-${PORTVERSION}-bin
10
10
11
MAINTAINER=	olgeni@FreeBSD.org
11
MAINTAINER=	olgeni@FreeBSD.org
12
COMMENT=	Java library for locating resources (including classes)
12
COMMENT=	Java library for locating resources (including classes)
13
13
14
LICENSE=        APACHE20
15
14
USE_JAVA=	YES
16
USE_JAVA=	YES
15
NO_BUILD=	YES
17
NO_BUILD=	YES
16
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
18
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
Lines 19-25 Link Here
19
21
20
PORTDOCS=	*
22
PORTDOCS=	*
21
JARFILE=	${PORTNAME}.jar
23
JARFILE=	${PORTNAME}.jar
22
PLIST_FILES+=	%%JAVAJARDIR%%/${JARFILE}
24
PLIST_FILES+=	${JAVAJARDIR}/${JARFILE}
23
25
24
do-install:
26
do-install:
25
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
27
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
(-)java/apache-commons-discovery/pkg-descr (+2 lines)
Lines 1-3 Link Here
1
Commons Discovery: Service Discovery component
2
1
The Discovery Component is about discovering, or finding, implementations for
3
The Discovery Component is about discovering, or finding, implementations for
2
pluggable interfaces. It provides facilities instantiating classes in general,
4
pluggable interfaces. It provides facilities instantiating classes in general,
3
and for lifecycle management of singleton (factory) classes.
5
and for lifecycle management of singleton (factory) classes.
(-)java/jakarta-commons-discovery/Makefile (-29 lines)
Lines 1-29 Link Here
1
# Created by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
2
# $FreeBSD$
3
4
PORTNAME=	commons-discovery
5
PORTVERSION=	0.5
6
CATEGORIES=	java devel
7
MASTER_SITES=	APACHE_COMMONS_BINARIES
8
PKGNAMEPREFIX=	jakarta-
9
DISTNAME=	${PORTNAME}-${PORTVERSION}-bin
10
11
MAINTAINER=	olgeni@FreeBSD.org
12
COMMENT=	Java library for locating resources (including classes)
13
14
USE_JAVA=	YES
15
NO_BUILD=	YES
16
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
17
18
OPTIONS_DEFINE=	DOCS
19
20
PORTDOCS=	*
21
JARFILE=	${PORTNAME}.jar
22
PLIST_FILES+=	%%JAVAJARDIR%%/${JARFILE}
23
24
do-install:
25
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${JARFILE}
26
	cd ${WRKSRC}/apidocs && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
27
	cd ${WRKSRC}/apidocs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
28
29
.include <bsd.port.mk>
(-)java/jakarta-commons-discovery/distinfo (-2 lines)
Lines 1-2 Link Here
1
SHA256 (commons-discovery-0.5-bin.tar.gz) = 05637d67e5025ea37fb2de4ef4f5a5489bcca31555fadadfeb5e59f0481b0204
2
SIZE (commons-discovery-0.5-bin.tar.gz) = 714772
(-)java/jakarta-commons-discovery/pkg-descr (-16 lines)
Lines 1-16 Link Here
1
The Discovery Component is about discovering, or finding, implementations for
2
pluggable interfaces. It provides facilities instantiating classes in general,
3
and for lifecycle management of singleton (factory) classes.
4
5
Fundamentally, Discovery locates classes that implement a given Java interface.
6
The discovery pattern, though not necessarily this package, is used in many
7
projects including JAXP (SaxParserFactory and others) and commons-logging
8
(LogFactory). By extracting this pattern, other projects can (re)use it and
9
take advantage of improvements to the pattern as Discovery evolves.
10
11
Discovery improves over previous implementations by establishing facilities for
12
working within managed environments. These allow configuration and property
13
overrides without appealing to the global System properties (which are scoped
14
across an entire JVM).
15
16
WWW: http://commons.apache.org/discovery/

Return to bug 243571