From owner-svn-ports-all@freebsd.org Sun Jun 5 09:03:52 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 74764B6A4ED; Sun, 5 Jun 2016 09:03:52 +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 284CB1479; Sun, 5 Jun 2016 09:03:52 +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 u5593pSj007474; Sun, 5 Jun 2016 09:03:51 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5593pUV007473; Sun, 5 Jun 2016 09:03:51 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201606050903.u5593pUV007473@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 5 Jun 2016 09:03:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416388 - head/textproc/apache-poi 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.22 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, 05 Jun 2016 09:03:52 -0000 Author: amdmi3 Date: Sun Jun 5 09:03:51 2016 New Revision: 416388 URL: https://svnweb.freebsd.org/changeset/ports/416388 Log: - Add NO_ARCH - Switch to options helpers - Simplify installation Modified: head/textproc/apache-poi/Makefile Modified: head/textproc/apache-poi/Makefile ============================================================================== --- head/textproc/apache-poi/Makefile Sun Jun 5 09:03:42 2016 (r416387) +++ head/textproc/apache-poi/Makefile Sun Jun 5 09:03:51 2016 (r416388) @@ -14,34 +14,33 @@ COMMENT= Java API To Access Microsoft Fo LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -PORTDOCS= * USE_JAVA= yes JAVA_VERSION= 1.6+ NO_BUILD= yes +NO_ARCH= yes RELEASE_DATE= 20160307 JARNAMES= examples excelant scratchpad ooxml ooxml-schemas WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -OPTIONS_DEFINE= DOCS - USES= cpe CPE_VENDOR= apache +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar +PORTDOCS= * + .for i in ${JARNAMES} PLIST_FILES+= %%JAVAJARDIR%%/${PORTNAME}-${i}.jar .endfor +OPTIONS_DEFINE= DOCS + do-install: - @${ECHO_MSG} -n ">> Installing JAR as ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${RELEASE_DATE}.jar..." ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}-${RELEASE_DATE}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar .for i in ${JARNAMES} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${i}-${PORTVERSION}-${RELEASE_DATE}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${i}.jar .endfor - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}/..." - @cd ${WRKSRC}/docs \ - && ${FIND} . -type d -not -empty -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" + +do-install-DOCS-on: + cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + @${RMDIR} ${STAGEDIR}${DOCSDIR}/skin/css .include