From owner-svn-ports-all@freebsd.org Sun Jan 17 14:04:22 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CBA6A860AA; Sun, 17 Jan 2016 14:04:22 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF49211BD; Sun, 17 Jan 2016 14:04:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0HE4K9g037594; Sun, 17 Jan 2016 14:04:20 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0HE4KmM037593; Sun, 17 Jan 2016 14:04:20 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201601171404.u0HE4KmM037593@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 17 Jan 2016 14:04:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406502 - head/devel/jcmdline X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2016 14:04:22 -0000 Author: amdmi3 Date: Sun Jan 17 14:04:20 2016 New Revision: 406502 URL: https://svnweb.freebsd.org/changeset/ports/406502 Log: - Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers Modified: head/devel/jcmdline/Makefile Modified: head/devel/jcmdline/Makefile ============================================================================== --- head/devel/jcmdline/Makefile Sun Jan 17 14:04:08 2016 (r406501) +++ head/devel/jcmdline/Makefile Sun Jan 17 14:04:20 2016 (r406502) @@ -9,23 +9,28 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Java command line processor +LICENSE= MPL +LICENSE_FILE= ${WRKSRC}/LICENSE + USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes - -LICENSE= MPL +NO_ARCH= yes JARFILE= ${PORTNAME}.jar PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} -DOCFILES= CHANGES CREDITS README PORTDOCS= * +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_DATA} ${JARFILE:S|.jar|-${PORTVERSION}.jar|:S|^|${WRKSRC}/|} \ ${STAGEDIR}${JAVAJARDIR}/${JARFILE} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOCFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} CHANGES CREDITS README ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include