aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-11-22 17:30:27 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-11-22 17:30:27 +0800
commit5b73049e351aebdf3a6606e1df215aa374aa393b (patch)
tree47f9f53467e5cc09f15627a23b40ce0b7325e928 /java
parent9a4a862571a11283dbd684ff8f2ec036a7b7f48b (diff)
downloadfreebsd-ports-gnome-5b73049e351aebdf3a6606e1df215aa374aa393b.tar.gz
freebsd-ports-gnome-5b73049e351aebdf3a6606e1df215aa374aa393b.tar.zst
freebsd-ports-gnome-5b73049e351aebdf3a6606e1df215aa374aa393b.zip
- Add LICENSE_FILE
- Pet portlint - Remove no-op DATADIR/DOCSDIR - Silence COPYTREE macros - Pet portlint - Update WWW Approved by: portmgr blanket
Diffstat (limited to 'java')
-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/