aboutsummaryrefslogtreecommitdiffstats
path: root/java/mx4j/Makefile
blob: 392a6865759d1b67c9c6af41212ed379eb9c75fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Filippo Natali <filippo@widestore.net>
# $FreeBSD$

PORTNAME=   mx4j
PORTVERSION=    3.0.2
PORTREVISION=   1
CATEGORIES= java devel
MASTER_SITES=   SF/${PORTNAME}/MX4J%20Binary/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Open Source implementation of the Java Management Extensions (JMX)

USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes

JARFILES=   mx4j-examples.jar mx4j-impl.jar mx4j-jmx.jar \
        mx4j-remote.jar mx4j-rimpl.jar mx4j-rjmx.jar \
        mx4j-soap.war mx4j-tools.jar mx4j.jar

PLIST_FILES=    ${JARFILES:S,^,%%JAVAJARDIR%%/,}
PORTDOCS=   *
PORTEXAMPLES=   *

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
    (cd ${WRKSRC}/lib && ${INSTALL_DATA} ${JARFILES} ${STAGEDIR}${JAVAJARDIR})
    (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>