1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net/jgroups/Makefile
Dmitry Marakasov 6da7f1d5c2 - Fix build with DOCS disabled (port tried to install nonexistinent files)
- Unsilence install commands
- Switch to options helpers
- Add NO_ARCH

Approved by:	portmgr blanket
2015-08-27 17:14:20 +00:00

42 lines
878 B
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= jgroups
PORTVERSION= 2.12.0
CATEGORIES= net java
MASTER_SITES= LOCAL/ale
MAINTAINER= ale@FreeBSD.org
COMMENT= Java toolkit for reliable multicast communication
LICENSE= LGPL21
OPTIONS_DEFINE= DOCS
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
ALL_TARGET= jar
NO_ARCH= yes
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDATA= *
PORTDOCS= *
DOCS_ALL_TARGET=javadoc
do-install:
${INSTALL_DATA} ${WRKSRC}/dist/${DISTNAME}.Final.jar \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}-sources.jar \
${STAGEDIR}${DATADIR}/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/dist/README ${STAGEDIR}${DOCSDIR}/
@(cd ${WRKSRC}/dist && ${COPYTREE_SHARE} javadoc ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>