1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/java/mx4j/Makefile
Roman Bogorodskiy ba8c695480 Change maintainer's e-mail.
PR:	78669
Submitted by:	maintainer
Approved by:	krion (mentor)
2005-03-10 17:24:59 +00:00

62 lines
1.8 KiB
Makefile

# New ports collection makefile for: mx4j
# Date created: 16 Jan 2005
# Whom: Filippo Natali <filippo@widestore.net>
#
# $FreeBSD$
#
PORTNAME= mx4j
PORTVERSION= 2.1.1
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= filippo.natali@gmail.com
COMMENT= Open Source implementation of the Java Management Extensions (JMX)
USE_JAVA= yes
JAVA_VERSION= 1.3+
.if !defined(NOPORTDOCS)
PORTDOCS= *
.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
post-extract:
@${FIND} -s -d ${WRKSRC}/examples -type d -exec ${RMDIR} {} \; >/dev/null 2>&1 || true
do-install: do-install-jar do-install-javadoc
do-install-jar:
@${ECHO_MSG} -n ">> Installing .jar files..."
@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]"
@${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]"
@${FIND} -s ${WRKSRC}/examples -not -type d \
| ${SED} -ne 's,^${WRKSRC}/examples,${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
@${FIND} -s -d ${WRKSRC}/examples -type d \
| ${SED} -ne 's,^${WRKSRC}/examples,@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>