From owner-svn-ports-all@freebsd.org Sun Jan 24 00:45:04 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 D6347A84EAF; Sun, 24 Jan 2016 00:45:04 +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 9F54512DE; Sun, 24 Jan 2016 00:45:04 +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 u0O0j3AS022859; Sun, 24 Jan 2016 00:45:03 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0O0j37e022858; Sun, 24 Jan 2016 00:45:03 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201601240045.u0O0j37e022858@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 24 Jan 2016 00:45:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407073 - head/devel/log4j 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, 24 Jan 2016 00:45:04 -0000 Author: amdmi3 Date: Sun Jan 24 00:45:03 2016 New Revision: 407073 URL: https://svnweb.freebsd.org/changeset/ports/407073 Log: - Add NO_ARCH - Switch to options helpers Modified: head/devel/log4j/Makefile Modified: head/devel/log4j/Makefile ============================================================================== --- head/devel/log4j/Makefile Sun Jan 24 00:44:50 2016 (r407072) +++ head/devel/log4j/Makefile Sun Jan 24 00:45:03 2016 (r407073) @@ -14,19 +14,24 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_JAVA= yes NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/apache-${PORTNAME}-${PORTVERSION} -OPTIONS_DEFINE= DOCS EXAMPLES - PLIST_FILES= %%JAVAJARDIR%%/log4j.jar PORTDOCS= * PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: ${INSTALL_DATA} ${WRKSRC}/log4j-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar - cd ${WRKSRC}/site && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ + +do-install-DOCS-on: + @cd ${WRKSRC}/site && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ + +do-install-EXAMPLES-on: + @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ ${RMDIR} ${STAGEDIR}${EXAMPLESDIR}/lf5/OpeningLogFiles .include