From owner-svn-ports-all@FreeBSD.ORG Sat May 31 14:39:58 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63DB8C08; Sat, 31 May 2014 14:39:58 +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 378172E7D; Sat, 31 May 2014 14:39:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4VEdwEh050018; Sat, 31 May 2014 14:39:58 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4VEdwhJ050017; Sat, 31 May 2014 14:39:58 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201405311439.s4VEdwhJ050017@svn.freebsd.org> From: Pawel Pekala Date: Sat, 31 May 2014 14:39:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355983 - head/java/mx4j 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.18 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: Sat, 31 May 2014 14:39:58 -0000 Author: pawel Date: Sat May 31 14:39:57 2014 New Revision: 355983 URL: http://svnweb.freebsd.org/changeset/ports/355983 QAT: https://qat.redports.org/buildarchive/r355983/ Log: - Add staging support - Convert to new options framework Modified: head/java/mx4j/Makefile Modified: head/java/mx4j/Makefile ============================================================================== --- head/java/mx4j/Makefile Sat May 31 14:33:59 2014 (r355982) +++ head/java/mx4j/Makefile Sat May 31 14:39:57 2014 (r355983) @@ -12,46 +12,21 @@ COMMENT= Open Source implementation of t USE_JAVA= yes JAVA_VERSION= 1.6+ - -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif - -.if !defined(NOPORTEXAMPLES) -PORTEXAMPLES= * -.endif +NO_BUILD= yes JARFILES= mx4j-examples.jar mx4j-impl.jar mx4j-jmx.jar \ mx4j-remote.jar mx4j-rimpl.jar mx4j-rjmx.jar \ mx4j-soap.war mx4j-tools.jar mx4j.jar PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,} -NO_BUILD= yes +PORTDOCS= * +PORTEXAMPLES= * -do-install: do-install-jar do-install-javadoc +OPTIONS_DEFINE= DOCS EXAMPLES -NO_STAGE= yes -do-install-jar: - @${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR} ..." - @for jarfile in ${JARFILES}; do \ - ${INSTALL_DATA} ${WRKSRC}/lib/$$jarfile ${JAVAJARDIR} ; \ - done - @${ECHO_MSG} " [DONE]" - -do-install-javadoc: -.if !defined(NOPORTDOCS) - @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR} ..." - @cd ${WRKSRC}/docs \ - && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; - @${ECHO_MSG} " [DONE]" -.endif -.if !defined(NOPORTEXAMPLES) - @${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR} ..." - @cd ${WRKSRC}/examples \ - && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \; - @${ECHO_MSG} " [DONE]" -.endif +do-install: + (cd ${WRKSRC}/lib && ${INSTALL_DATA} ${JARFILES} ${STAGEDIR}${JAVAJARDIR}) + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include