From owner-svn-ports-head@FreeBSD.ORG Sun Mar 15 15:37:37 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C74E778; Sun, 15 Mar 2015 15:37:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 4D150F3B; Sun, 15 Mar 2015 15:37:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2FFbbdq017754; Sun, 15 Mar 2015 15:37:37 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2FFbbEA017753; Sun, 15 Mar 2015 15:37:37 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201503151537.t2FFbbEA017753@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 15 Mar 2015 15:37:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381339 - 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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2015 15:37:37 -0000 Author: amdmi3 Date: Sun Mar 15 15:37:36 2015 New Revision: 381339 URL: https://svnweb.freebsd.org/changeset/ports/381339 QAT: https://qat.redports.org/buildarchive/r381339/ Log: - Simplify MASTER_SITES - Add LICENSE_FILE - Simplify installation - Remove empty directory Modified: head/devel/log4j/Makefile Modified: head/devel/log4j/Makefile ============================================================================== --- head/devel/log4j/Makefile Sun Mar 15 15:37:12 2015 (r381338) +++ head/devel/log4j/Makefile Sun Mar 15 15:37:36 2015 (r381339) @@ -4,16 +4,16 @@ PORTNAME= log4j PORTVERSION= 1.2.17 CATEGORIES= devel java -MASTER_SITES= ${MASTER_SITE_APACHE} -MASTER_SITE_SUBDIR= logging/${PORTNAME}/${PORTVERSION} +MASTER_SITES= APACHE/logging/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Fast and flexible logging library for Java LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE -USE_JAVA= YES -NO_BUILD= YES +USE_JAVA= yes +NO_BUILD= yes WRKSRC= ${WRKDIR}/apache-${PORTNAME}-${PORTVERSION} @@ -24,18 +24,9 @@ PORTDOCS= * PORTEXAMPLES= * do-install: - @${ECHO_MSG} -n ">> Installing JAR as ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/log4j-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}/..." - @cd ${WRKSRC}/site \ - && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" - @${ECHO_MSG} -n ">> Installing examples in ${STAGEDIR}${EXAMPLESDIR}/..." - @cd ${WRKSRC}/examples \ - && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} \; - @${ECHO_MSG} " [ DONE ]" + ${INSTALL_DATA} ${WRKSRC}/log4j-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar + cd ${WRKSRC}/site && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ + ${RMDIR} ${STAGEDIR}${EXAMPLESDIR}/lf5/OpeningLogFiles .include