From owner-svn-ports-head@FreeBSD.ORG Fri Jun 20 12:51:39 2014 Return-Path: Delivered-To: svn-ports-head@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 DD523A77; Fri, 20 Jun 2014 12:51:38 +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 CA1142E5A; Fri, 20 Jun 2014 12:51:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5KCpcRa096254; Fri, 20 Jun 2014 12:51:38 GMT (envelope-from sanpei@svn.freebsd.org) Received: (from sanpei@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5KCpclC096250; Fri, 20 Jun 2014 12:51:38 GMT (envelope-from sanpei@svn.freebsd.org) Message-Id: <201406201251.s5KCpclC096250@svn.freebsd.org> From: MIHIRA Sanpei Yoshiro Date: Fri, 20 Jun 2014 12:51:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358566 - in head/math/ngraph: . files 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 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: Fri, 20 Jun 2014 12:51:39 -0000 Author: sanpei Date: Fri Jun 20 12:51:37 2014 New Revision: 358566 URL: http://svnweb.freebsd.org/changeset/ports/358566 QAT: https://qat.redports.org/buildarchive/r358566/ Log: support stage Added: head/math/ngraph/files/patch-install.sh (contents, props changed) Modified: head/math/ngraph/Makefile head/math/ngraph/files/patch-aa head/math/ngraph/pkg-plist Modified: head/math/ngraph/Makefile ============================================================================== --- head/math/ngraph/Makefile Fri Jun 20 12:15:46 2014 (r358565) +++ head/math/ngraph/Makefile Fri Jun 20 12:51:37 2014 (r358566) @@ -14,5 +14,4 @@ COMMENT= XY plotting tool for students, USES= gmake motif -NO_STAGE= yes .include Modified: head/math/ngraph/files/patch-aa ============================================================================== --- head/math/ngraph/files/patch-aa Fri Jun 20 12:15:46 2014 (r358565) +++ head/math/ngraph/files/patch-aa Fri Jun 20 12:51:37 2014 (r358566) @@ -1,15 +1,15 @@ ---- Makefile.orig 2008-08-01 22:28:06.000000000 +0900 -+++ Makefile 2009-02-06 21:39:03.000000000 +0900 +--- Makefile.orig 2009-10-15 20:17:47.000000000 +0900 ++++ Makefile 2014-06-20 21:48:30.928895628 +0900 @@ -2,26 +2,26 @@ MAINVERSION = '"6.03"' - GUIVERSION = '".48"' + GUIVERSION = '".51"' ALIGNSIZE = 8 -LIBDIR = '"/usr/local/lib/Ngraph"' -INSTALLDIR = /usr/local/lib/Ngraph -BINDIR = /usr/local/bin +LIBDIR = '"${PREFIX}/lib/Ngraph"' -+INSTALLDIR = ${PREFIX}/lib/Ngraph -+BINDIR = ${PREFIX}/bin ++INSTALLDIR = ${DESTDIR}${PREFIX}/lib/Ngraph ++BINDIR = ${DESTDIR}${PREFIX}/bin # # ############################################################################### Added: head/math/ngraph/files/patch-install.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ngraph/files/patch-install.sh Fri Jun 20 12:51:37 2014 (r358566) @@ -0,0 +1,30 @@ +--- install.sh.orig 2009-10-15 20:17:47.000000000 +0900 ++++ install.sh 2014-06-20 21:40:11.532930042 +0900 +@@ -2,6 +2,7 @@ + + INSTALLDIR=${INSTALLDIR:-/usr/local/lib/Ngraph} + BINDIR=${BINDIR:-/usr/local/bin} ++LIBDIR=${PREFIX}/lib/Ngraph + + TEXTFILES="Ngraph.ini .Ngraph .Ngraph.ngp .fit.ngp INSTALL.jis gpl.txt gpl.ja.txt" + ADDINFILES="append.nsc math.nsc text-in.nsc \ +@@ -26,8 +27,8 @@ + then + cp Ngraph.ini ./org + fi +-sed -e "s?INSTALLDIR?${INSTALLDIR}?" ./org/ngraph.sh > ngraph.sh +-sed -e "s?INSTALLDIR?${INSTALLDIR}?" ./org/Ngraph.ini > Ngraph.ini ++sed -e "s?INSTALLDIR?${LIBDIR}?" ./org/ngraph.sh > ngraph.sh ++sed -e "s?INSTALLDIR?${LIBDIR}?" ./org/Ngraph.ini > Ngraph.ini + + echo "Making directories in ${INSTALLDIR}" + if [ ! -d ${INSTALLDIR} ] +@@ -90,7 +91,7 @@ + if [ ! -h ${BINDIR}/ngraph ] + then + echo "Making a symbolic link ${BINDIR}/ngraph" +- ln -s ${INSTALLDIR}/ngraph.sh ${BINDIR}/ngraph ++ ln -s ${LIBDIR}/ngraph.sh ${BINDIR}/ngraph + fi + + if [ -f ./org/ngraph.sh ] Modified: head/math/ngraph/pkg-plist ============================================================================== --- head/math/ngraph/pkg-plist Fri Jun 20 12:15:46 2014 (r358565) +++ head/math/ngraph/pkg-plist Fri Jun 20 12:51:37 2014 (r358566) @@ -10,8 +10,6 @@ lib/Ngraph/Ngraph.xpm lib/Ngraph/append.nsc lib/Ngraph/calc.nsc lib/Ngraph/calc.tcl -lib/Ngraph/gpl.txt -lib/Ngraph/gpl.ja.txt lib/Ngraph/demo/demo.ngp lib/Ngraph/demo/demo1.dat lib/Ngraph/demo/demo1.ngp @@ -32,6 +30,8 @@ lib/Ngraph/fft.nsc lib/Ngraph/fft.tcl lib/Ngraph/fitrslt.nsc lib/Ngraph/fitrslt.tcl +lib/Ngraph/gpl.txt +lib/Ngraph/gpl.ja.txt lib/Ngraph/gra2ps lib/Ngraph/gra2ps.ini lib/Ngraph/gra2wmf @@ -44,7 +44,7 @@ lib/Ngraph/ngraph lib/Ngraph/ngraph.sh lib/Ngraph/terminal lib/Ngraph/text-in.nsc -@dirrm lib/Ngraph/demo -@dirrm lib/Ngraph/doc -@dirrm lib/Ngraph/ja -@dirrm lib/Ngraph +@dirrmtry lib/Ngraph/demo +@dirrmtry lib/Ngraph/doc +@dirrmtry lib/Ngraph/ja +@dirrmtry lib/Ngraph