Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2018 09:30:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485586 - head/java/netty
Message-ID:  <201811220930.wAM9URj7056367@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Nov 22 09:30:27 2018
New Revision: 485586
URL: https://svnweb.freebsd.org/changeset/ports/485586

Log:
  - Add LICENSE_FILE
  - Pet portlint
  - Remove no-op DATADIR/DOCSDIR
  - Silence COPYTREE macros
  - Pet portlint
  - Update WWW
  
  Approved by:	portmgr blanket

Modified:
  head/java/netty/Makefile
  head/java/netty/pkg-descr

Modified: head/java/netty/Makefile
==============================================================================
--- head/java/netty/Makefile	Thu Nov 22 09:26:37 2018	(r485585)
+++ head/java/netty/Makefile	Thu Nov 22 09:30:27 2018	(r485586)
@@ -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>

Modified: head/java/netty/pkg-descr
==============================================================================
--- head/java/netty/pkg-descr	Thu Nov 22 09:26:37 2018	(r485585)
+++ head/java/netty/pkg-descr	Thu Nov 22 09:30:27 2018	(r485586)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811220930.wAM9URj7056367>