- Update to 3.9.2

- NOPORTDOCS -> DOCS option
- Silence MKDIR

PR:		191441 (based on)
Submitted by:	m.tsatsenko@gmail.com (maintainer)
This commit is contained in:
Jason E. Hale 2014-06-29 16:19:46 +00:00
parent 70fe3af8b0
commit 26152f64d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359784
2 changed files with 9 additions and 15 deletions

View file

@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= netty
PORTVERSION= 3.5.5
DISTVERSIONSUFFIX=.Final-dist
PORTVERSION= 3.9.2
DISTVERSIONSUFFIX= .Final-dist
CATEGORIES= java devel
MASTER_SITES= https://github.com/downloads/netty/netty/
MASTER_SITES= http://dl.bintray.com/netty/downloads/
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= Java NIO client server framework
@ -24,21 +24,15 @@ PLIST_FILES= %%JAVAJARDIR%%/netty-${PORTVERSION}.jar \
%%JAVAJARDIR%%/netty.jar
PORTDATA= *
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/jar/netty-${PORTVERSION}.Final.jar ${STAGEDIR}${JAVAJARDIR}/netty-${PORTVERSION}.jar
cd ${WRKSRC} && ${COPYTREE_SHARE} src ${STAGEDIR}${DATADIR}
cd ${STAGEDIR}${JAVAJARDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${LN} -nfs netty-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/netty.jar
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (netty-3.5.5.Final-dist.tar.bz2) = 029107453c00aeae5667b9008754cd081909e43acd4d065e586b05a6def22cea
SIZE (netty-3.5.5.Final-dist.tar.bz2) = 7926353
SHA256 (netty-3.9.2.Final-dist.tar.bz2) = 39f6474b916de04251ca4fea85e4e00cb955b53f71fb0966fc4a56ec9b207605
SIZE (netty-3.9.2.Final-dist.tar.bz2) = 12395181