mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
support stage
This commit is contained in:
parent
c48c4a1ca0
commit
0b880ce2d8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358566
@ -14,5 +14,4 @@ COMMENT= XY plotting tool for students, scientists, and engineers
|
||||
|
||||
USES= gmake motif
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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
|
||||
#
|
||||
#
|
||||
###############################################################################
|
||||
|
30
math/ngraph/files/patch-install.sh
Normal file
30
math/ngraph/files/patch-install.sh
Normal file
@ -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 ]
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user