Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2017 09:00:32 +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: r456112 - head/archivers/jzlib
Message-ID:  <201712120900.vBC90WGE054793@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec 12 09:00:32 2017
New Revision: 456112
URL: https://svnweb.freebsd.org/changeset/ports/456112

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Switch to options helpers
  - Unsilence installation commands
  
  Approved by:	portmgr blanket

Modified:
  head/archivers/jzlib/Makefile

Modified: head/archivers/jzlib/Makefile
==============================================================================
--- head/archivers/jzlib/Makefile	Tue Dec 12 09:00:28 2017	(r456111)
+++ head/archivers/jzlib/Makefile	Tue Dec 12 09:00:32 2017	(r456112)
@@ -9,9 +9,13 @@ MASTER_SITES=	http://www.jcraft.com/jzlib/
 MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	Reimplementation of zlib in pure Java
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
 USES=		zip
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
+NO_ARCH=	yes
 
 JAR_FILE=	${WRKSRC}/src/main/java/${PORTNAME}.jar
 
@@ -26,12 +30,16 @@ do-build:
 		${JAR} -cf ${PORTNAME}.jar
 
 do-install:
+	${INSTALL_DATA} ${JAR_FILE} ${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
 .for file in ChangeLog LICENSE.txt README
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}
 .endfor
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/example/* ${STAGEDIR}/${EXAMPLESDIR}
-	${INSTALL_DATA} ${JAR_FILE} ${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar
 
 .include <bsd.port.mk>



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