From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 31 23:10:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1768F16A424 for ; Fri, 31 Mar 2006 23:10:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39ABD43D49 for ; Fri, 31 Mar 2006 23:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2VNAI94085677 for ; Fri, 31 Mar 2006 23:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2VNAIJt085676; Fri, 31 Mar 2006 23:10:18 GMT (envelope-from gnats) Resent-Date: Fri, 31 Mar 2006 23:10:18 GMT Resent-Message-Id: <200603312310.k2VNAIJt085676@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rui Lopes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4438416A400 for ; Fri, 31 Mar 2006 23:03:29 +0000 (UTC) (envelope-from root@firebird.clustercube.com) Received: from firebird.clustercube.com (firebird.clustercube.com [72.21.32.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E016043D72 for ; Fri, 31 Mar 2006 23:03:28 +0000 (GMT) (envelope-from root@firebird.clustercube.com) Received: from localhost (localhost.clustercube.com [127.0.0.1]) by firebird.clustercube.com (Postfix) with ESMTP id AF9AA45059; Sat, 1 Apr 2006 00:03:28 +0100 (WEST) Received: from firebird.clustercube.com ([127.0.0.1]) by localhost (firebird.clustercube.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04523-01; Sat, 1 Apr 2006 00:03:27 +0100 (WEST) Received: by firebird.clustercube.com (Postfix, from userid 0) id 6264045024; Sat, 1 Apr 2006 00:03:27 +0100 (WEST) Message-Id: <20060331230327.6264045024@firebird.clustercube.com> Date: Sat, 1 Apr 2006 00:03:27 +0100 (WEST) From: Rui Lopes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jbq@caraldi.com Subject: ports/95174: Update port: devel/maven transfer maintainer X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rui Lopes List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 23:10:22 -0000 >Number: 95174 >Category: ports >Synopsis: Update port: devel/maven transfer maintainer >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Mar 31 23:10:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rui Lopes >Release: FreeBSD 6.0-RELEASE-p5 i386 >Organization: >Environment: >Description: * Transfer maintainer to Jean-Baptiste Quenot * Automatically set MAVEN_HOME (patch from Jean-Baptiste Quenot) >How-To-Repeat: >Fix: --- 20060401-freebsd-maven-home begins here --- diff -ruN /usr/ports/devel/maven/Makefile ./Makefile --- /usr/ports/devel/maven/Makefile Fri Feb 25 00:02:09 2005 +++ ./Makefile Sat Apr 1 00:31:53 2006 @@ -11,7 +11,7 @@ MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= ${PORTNAME}/binaries -MAINTAINER= rui@ruilopes.com +MAINTAINER= jbq@caraldi.com COMMENT= Java project management and project comprehension tool USE_BZIP2= yes @@ -20,9 +20,12 @@ NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} PKGMESSAGE= ${WRKDIR}/pkg-message +SUBSTITUTIONS= -e 's,%%DATADIR%%,${DATADIR},g' +REINPLACE_FILES= ${WRKSRC}/bin/maven post-configure: - @${SED} -e 's,%%DATADIR%%,${DATADIR},g' pkg-message > ${PKGMESSAGE} + @${SED} ${SUBSTITUTIONS} pkg-message > ${PKGMESSAGE} + @${REINPLACE_CMD} ${SUBSTITUTIONS} ${REINPLACE_FILES} BINFILES= install_repo.sh maven DIRECTORIES= lib lib/endorsed plugins diff -ruN /usr/ports/devel/maven/files/patch-maven-home ./files/patch-maven-home --- /usr/ports/devel/maven/files/patch-maven-home Thu Jan 1 01:00:00 1970 +++ ./files/patch-maven-home Sat Apr 1 00:08:17 2006 @@ -0,0 +1,10 @@ +--- bin/maven.orig Tue Dec 7 12:13:46 2004 ++++ bin/maven Sat Apr 1 00:07:23 2006 +@@ -19,6 +19,7 @@ + # reserved. + + FOREHEAD_VERSION=1.0-beta-5 ++MAVEN_HOME=%%DATADIR%% + + if [ -z "$MAVEN_OPTS" ] ; then + MAVEN_OPTS="-Xmx256m" diff -ruN /usr/ports/devel/maven/pkg-message ./pkg-message --- /usr/ports/devel/maven/pkg-message Sun Aug 8 01:46:37 2004 +++ ./pkg-message Sat Apr 1 00:27:36 2006 @@ -1,9 +1,7 @@ -To work with Maven you need to set the following environment variables: +To work with Maven you need to set the following environment variable: * JAVA_HOME Set it to the base directory of your java installation. - * MAVEN_HOME - Set it to ``%%DATADIR%%''. Then, you should initialize your repository with: %%DATADIR%%/bin/install_repo.sh ~/.maven/repository --- 20060401-freebsd-maven-home ends here --- >Release-Note: >Audit-Trail: >Unformatted: