From owner-svn-ports-all@FreeBSD.ORG Tue Nov 12 10:36:18 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F22C595; Tue, 12 Nov 2013 10:36:18 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D8B96210B; Tue, 12 Nov 2013 10:36:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rACAaHu1090905; Tue, 12 Nov 2013 10:36:17 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rACAaHsc090899; Tue, 12 Nov 2013 10:36:17 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201311121036.rACAaHsc090899@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 12 Nov 2013 10:36:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333560 - in head: Mk devel/charva java/java-getopt security/xml-security 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.16 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: Tue, 12 Nov 2013 10:36:18 -0000 Author: bapt Date: Tue Nov 12 10:36:16 2013 New Revision: 333560 URL: http://svnweb.freebsd.org/changeset/ports/333560 Log: Change DESTDIRNAME into a ant compatible argument when a port is staged While here remove previous workarounds. Submitted by: ale Discussed with: jkim, glewis Modified: head/Mk/bsd.java.mk head/devel/charva/Makefile head/java/java-getopt/Makefile head/security/xml-security/Makefile Modified: head/Mk/bsd.java.mk ============================================================================== --- head/Mk/bsd.java.mk Tue Nov 12 10:32:57 2013 (r333559) +++ head/Mk/bsd.java.mk Tue Nov 12 10:36:16 2013 (r333560) @@ -383,6 +383,7 @@ RUN_DEPENDS+= ${DEPEND_JAVA} # Ant support: default do-build target . if defined(USE_ANT) +DESTDIRNAME?= -Dfreebsd.ports.destdir ANT?= ${LOCALBASE}/bin/ant MAKE_ENV+= JAVA_HOME=${JAVA_HOME} BUILD_DEPENDS+= ${ANT}:${PORTSDIR}/devel/apache-ant Modified: head/devel/charva/Makefile ============================================================================== --- head/devel/charva/Makefile Tue Nov 12 10:32:57 2013 (r333559) +++ head/devel/charva/Makefile Tue Nov 12 10:36:16 2013 (r333560) @@ -28,9 +28,6 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}. %%JAVA_HOME%%/jre/lib/${MACHINE_ARCH}/libTerminal.so PORTDOCS= * -# Hack to be removed when included in bsd.java.mk -DESTDIRNAME= -Dstagedir - .include .if ${PORT_OPTIONS:MDOCS} Modified: head/java/java-getopt/Makefile ============================================================================== --- head/java/java-getopt/Makefile Tue Nov 12 10:32:57 2013 (r333559) +++ head/java/java-getopt/Makefile Tue Nov 12 10:36:16 2013 (r333560) @@ -21,9 +21,6 @@ NO_WRKSUBDIR= yes PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -# hack to be removed when included in bsd.java.mk -DESTDIRNAME= -Ddestdir - .include .if ${PORT_OPTIONS:MDOCS} Modified: head/security/xml-security/Makefile ============================================================================== --- head/security/xml-security/Makefile Tue Nov 12 10:32:57 2013 (r333559) +++ head/security/xml-security/Makefile Tue Nov 12 10:36:16 2013 (r333560) @@ -37,10 +37,6 @@ PLIST_FILES= %%JAVAJARDIR%%/xmlsec.jar ALL_TARGET+= javadoc .endif -do-build: - @(cd ${BUILD_WRKSRC}; \ - ${SETENV} ${MAKE_ENV} ${ANT} ${ALL_TARGET}) - do-install: @${ECHO} -n ">> Installing JAR as ${JAVAJARDIR}/xmlsec.jar..." @${INSTALL_DATA} ${WRKSRC}/build/xmlsec-${PORTVERSION}.jar \