From owner-cvs-ports@FreeBSD.ORG  Wed Jan 11 07:06:52 2006
Return-Path: <owner-cvs-ports@FreeBSD.ORG>
X-Original-To: cvs-ports@FreeBSD.org
Delivered-To: cvs-ports@FreeBSD.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C4C3816A41F;
	Wed, 11 Jan 2006 07:06:52 +0000 (GMT)
	(envelope-from daichi@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9277543D45;
	Wed, 11 Jan 2006 07:06:52 +0000 (GMT)
	(envelope-from daichi@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0B76qkY051090;
	Wed, 11 Jan 2006 07:06:52 GMT
	(envelope-from daichi@repoman.freebsd.org)
Received: (from daichi@localhost)
	by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0B76qkh051089;
	Wed, 11 Jan 2006 07:06:52 GMT (envelope-from daichi)
Message-Id: <200601110706.k0B76qkh051089@repoman.freebsd.org>
From: Daichi GOTO <daichi@FreeBSD.org>
Date: Wed, 11 Jan 2006 07:06:51 +0000 (UTC)
To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Cc: 
Subject: cvs commit: ports/Tools/scripts portsvar.sh
X-BeenThere: cvs-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the ports tree <cvs-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-ports>,
	<mailto:cvs-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-ports>
List-Post: <mailto:cvs-ports@freebsd.org>
List-Help: <mailto:cvs-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-ports>,
	<mailto:cvs-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2006 07:06:52 -0000

daichi      2006-01-11 07:06:51 UTC

  FreeBSD ports repository

  Added files:
    Tools/scripts        portsvar.sh 
  Log:
  Add portsvar.sh schell script into Tools/scripts.
  
  portsvar.sh
    - print out variable defined through bsd.port.mk
  
  example:
     % portsvar.sh PORTSDIR OSVERSION
     PORTSDIR = /usr/ports
     OSVERSION = 600034
     % portsvar.sh -e "PORTS[^_]"
     PORTSDIR = /usr/ports
     PORTSSUPFILE = /usr/share/examples/cvsup/ports-supfile
     % portsvar.sh USE_RUBY=yes RUBY_VER RUBY_ARCH
     RUBY_VER = 1.8
     RUBY_ARCH = i386-freebsd6
     % portsvar.sh -w ruby RUBY_VER RUBY_ARCH
     RUBY_VER = 1.8
     RUBY_ARCH = i386-freebsd6
     % portsvar.sh -w kde -e KDE_
     KDE_MAINTAINER = will@FreeBSD.org
     KDE_ORIGVER = ${KDE_VERSION}
     KDE_PREFIX = ${LOCALBASE}
     KDE_VERSION = 3.5.0
     MASTER_SITE_KDE_kde = ${kmaster:S@%SUBDIR%/@@g}
     % portsvar.sh -a
     list all variables through bsd.port.mk
     % portsvar.sh -a -w kde
     list all variables through bsd.port.mk including kde
  
  portsvar.sh is easy tool to check out the variables used in
  /usr/ports/Mk/bsd.*.mk.
  
  Revision  Changes    Path
  1.1       +133 -0    ports/Tools/scripts/portsvar.sh (new)