1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/java/mx4j/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
2011-07-21 05:03:02 +00:00

61 lines
1.6 KiB
Makefile

# New ports collection makefile for: mx4j
# Date created: 16 Jan 2005
# Whom: 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= simon@olofsson.de
COMMENT= Open Source implementation of the Java Management Extensions (JMX)
USE_JAVA= yes
JAVA_VERSION= 1.5+
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.if !defined(NOPORTEXAMPLES)
PORTEXAMPLES= *
.endif
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%%/,}
NO_BUILD= yes
do-install: do-install-jar do-install-javadoc
do-install-jar:
@${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR} ..."
@for jarfile in ${JARFILES}; do \
${INSTALL_DATA} ${WRKSRC}/lib/$$jarfile ${JAVAJARDIR} ; \
done
@${ECHO_MSG} " [DONE]"
do-install-javadoc:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR} ..."
@cd ${WRKSRC}/docs \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [DONE]"
.endif
.if !defined(NOPORTEXAMPLES)
@${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR} ..."
@cd ${WRKSRC}/examples \
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
@${ECHO_MSG} " [DONE]"
.endif
.include <bsd.port.mk>