aboutsummaryrefslogtreecommitdiff
path: root/java/netty
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-11-22 09:30:27 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-11-22 09:30:27 +0000
commit41d9048460761d6d3575b7d4a4761582ba8193c2 (patch)
tree47f9f53467e5cc09f15627a23b40ce0b7325e928 /java/netty
parent904071cff5ca258dd384c1e30c5b499d5f17849e (diff)
downloadports-41d9048460761d6d3575b7d4a4761582ba8193c2.tar.gz
ports-41d9048460761d6d3575b7d4a4761582ba8193c2.zip
Notes
Diffstat (limited to 'java/netty')
-rw-r--r--java/netty/Makefile14
-rw-r--r--java/netty/pkg-descr2
2 files changed, 8 insertions, 8 deletions
diff --git a/java/netty/Makefile b/java/netty/Makefile
index b472a5bf2f13..2db5e27ab9b2 100644
--- a/java/netty/Makefile
+++ b/java/netty/Makefile
@@ -11,18 +11,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Java NIO client server framework
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USE_JAVA= yes
USES= cpe tar:bzip2
+USE_JAVA= yes
CPE_VENDOR= netty_project
JAVA_VERSION= 1.6+
NO_BUILD= yes
-DATADIR= ${PREFIX}/share/${PKGBASE}
-DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.Final
-PLIST_FILES= %%JAVAJARDIR%%/netty-${PORTVERSION}.jar \
- %%JAVAJARDIR%%/netty.jar
+PLIST_FILES= ${JAVAJARDIR:S,^${PREFIX}/,,}/netty-${PORTVERSION}.jar \
+ ${JAVAJARDIR:S,^${PREFIX}/,,}/netty.jar
PORTDATA= *
PORTDOCS= *
@@ -32,8 +32,8 @@ 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}
+ @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>
diff --git a/java/netty/pkg-descr b/java/netty/pkg-descr
index 611a4728c897..9a6adc3a88a6 100644
--- a/java/netty/pkg-descr
+++ b/java/netty/pkg-descr
@@ -3,4 +3,4 @@ event-driven network application framework and tools
for rapid development of maintainable high performance &
high scalability protocol servers & clients.
-WWW: http://netty.io
+WWW: https://netty.io/