1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/java/netty/Makefile
Jason E. Hale 26152f64d0 - Update to 3.9.2
- NOPORTDOCS -> DOCS option
- Silence MKDIR

PR:		191441 (based on)
Submitted by:	m.tsatsenko@gmail.com (maintainer)
2014-06-29 16:19:46 +00:00

39 lines
1007 B
Makefile

# Created by: Mikhail T. <michael@fun-box.ru>
# $FreeBSD$
PORTNAME= netty
PORTVERSION= 3.9.2
DISTVERSIONSUFFIX= .Final-dist
CATEGORIES= java devel
MASTER_SITES= http://dl.bintray.com/netty/downloads/
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= Java NIO client server framework
LICENSE= APACHE20
USE_JAVA= yes
USES= tar:bzip2
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${PREFIX}/share/${UNIQUENAME}
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.Final
PLIST_FILES= %%JAVAJARDIR%%/netty-${PORTVERSION}.jar \
%%JAVAJARDIR%%/netty.jar
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/jar/netty-${PORTVERSION}.Final.jar ${STAGEDIR}${JAVAJARDIR}/netty-${PORTVERSION}.jar
cd ${WRKSRC} && ${COPYTREE_SHARE} src ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${LN} -nfs netty-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/netty.jar
.include <bsd.port.mk>