Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics
In directory 
sc8-pr-cvs17:/tmp/cvs-serv27002/10.3/unstable/main/finkinfo/graphics

Added Files:
        ngraph.info 
Log Message:
New package: Tool for creating scientific 2D graphs.

--- NEW FILE: ngraph.info ---
Package: ngraph
Version: 6.3.30
Revision: 1
Description: Tool for creating scientific 2D graphs
License: GPL
Maintainer: Todai Fink Team <[EMAIL PROTECTED]>
Depends: x11-shlibs, openmotif3-shlibs
BuildDepends: x11-dev, openmotif3
Enhances: ngraph-doc, kinput2
Source:  http://www2e.biglobe.ne.jp/~isizaka/bin/Ngraph-%v-src.tar.gz
Source2: http://www2e.biglobe.ne.jp/~isizaka/bin/Ngraph-%v-doc.tar.gz
Source3: http://homepage3.nifty.com/ttk/comp/ngraph/Ngraph-6.3.30_cjk.patch.gz
Source4: http://homepage3.nifty.com/ttk/comp/ngraph/00readme_cjk_patch_euc.txt
Source5: 
http://homepage3.nifty.com/ttk/comp/ngraph/Ngraph-6.3.30_clipboard.patch.gz
Source6: 
http://homepage3.nifty.com/ttk/comp/ngraph/00readme_clipboard_patch_euc.txt
Source7: 
http://homepage3.nifty.com/ttk/comp/ngraph/Ngraph-6.3.30_evalclip.patch.gz
Source8: 
http://homepage3.nifty.com/ttk/comp/ngraph/00readme_evalclip_patch_euc.txt
Source9: 
http://homepage3.nifty.com/ttk/comp/ngraph/Ngraph-6.3.30_fnamelength.patch.gz
Source10:http://homepage3.nifty.com/ttk/comp/ngraph/00readme_fnamelength_patch_euc.txt
Source-MD5:  77fc70842acbb049fb58615a4c8cf000
Source2-MD5: f3978dae2bbf2afad1deea00a78ef30f
Source3-MD5: 1421aaf5ddbcfb008169bb4a497fd8c3
Source4-MD5: 01913c74cff27a426225f52b6c17417b
Source5-MD5: 501242e3196c5c6cdb645831ce346770
Source6-MD5: 30a2c5ab2beae1f9e65eb34d7724a1da
Source7-MD5: 0f6db976c9202e31ac69f5b4caee0e13
Source8-MD5: dcd4781a715e7d9bd8b3c492b04230e2
Source9-MD5: 14d46362fe52762d056cf8f5f23c6845
Source10-MD5:413357c4c004e67d7744df4a1e7d3094
PatchScript: <<
 # CJK patch
 gzip -dc ../Ngraph-%v_cjk.patch.gz         | patch -p1

 # fit & clipboard patch
 gzip -dc ../Ngraph-%v_clipboard.patch.gz   | patch -p1

 # evaluation & clipboard patch
 gzip -dc ../Ngraph-%v_evalclip.patch.gz    | patch -p1

 # file name length patch
 gzip -dc ../Ngraph-%v_fnamelength.patch.gz | patch -p1

 # Change compile flags.
 /usr/bin/sed -i.bak                        \
  -e "s:/usr/local:%p:"                     \
  -e "s:\(CCOPTION = -O2\) -m486:\1:"       \
  -e "s:-DJAPANESE:-DCJK:"                  \
  -e "s:Linux(glibc2):`/usr/bin/uname -s`:" \
  -e "s:\(X11INCLUDE =\):\1 -I%p/include:"  \
  -e "s:\(X11LIB =\):\1 -L%p/lib:"                 Makefile

 # Avoid a conflict of function types.
 /usr/bin/sed -i.bak "s:round(:round_to_int(:g"    x11drive/gra2wmf.c

 # Use open instead of mozilla.
 /usr/bin/sed -i.bak "s:mozilla:open:"             Ngraph.ini

 # Fix variables for install.
 /usr/bin/sed -i.bak1                       \
  -e 's|INSTALLDIR=|INSTLIBDIR=${DESTDIR}|' \
  -e 's|BINDIR=|INSTBINDIR=${DESTDIR}|'     \
  -e 's|${INSTALLDIR}|${INSTLIBDIR}|g'      \
  -e 's|${BINDIR}|${INSTBINDIR}|g'          \
  -e 's|\(${BINARIES}\) Ngraph|\1|'         \
  -e 's|\(${TEXTFILES}\) Ngraph|\1 en/Ngraph|'     install.sh
 /usr/bin/sed -i.bak2                       \
  -e 's|${INSTLIBDIR}?|${INSTALLDIR}?|'     \
  -e 's|\(ln -s\) ${INSTLIBDIR}|\1 ${INSTALLDIR}|' install.sh

 # Save Xdefaults file for en locale.
 /bin/mkdir        en
 /bin/mv -f Ngraph en
 /usr/bin/sed -i.bak                        \
  -e 's|\($NGRAPHINSTALLED\)/%%N|\1/en/%%N|'       ngraph.sh

 # "make install" won't work if your file system is case-insensitive!
 /bin/rm -f Install

 # Change character code from EUC-JP to UTF-8. You may run ngraph with UTF-8.
 #/bin/mv -f ja/Ngraph              ja/Ngraph.EUC-JP
 #/usr/bin/iconv -f EUC-JP -t UTF-8 ja/Ngraph.EUC-JP > ja/Ngraph
<<
CompileScript: /usr/bin/make
InstallScript: <<
 /usr/bin/install -m 755 -d             %i/bin
 /usr/bin/install -m 755 -d             %i/lib/Ngraph/{en,ko,zh_{gb,gbk,big5}}
 /usr/bin/install -m 644      en/Ngraph %i/lib/Ngraph/en
 /usr/bin/install -m 644      ko/Ngraph %i/lib/Ngraph/ko
 /usr/bin/install -m 644   zh_gb/Ngraph %i/lib/Ngraph/zh_gb
 /usr/bin/install -m 644  zh_gbk/Ngraph %i/lib/Ngraph/zh_gbk
 /usr/bin/install -m 644 zh_big5/Ngraph %i/lib/Ngraph/zh_big5
 /usr/bin/make install DESTDIR=%d
<<
DocFiles: INSTALL.jis TODO.jis gpl.* ../00readme_*.txt
SplitOff: <<
 Package: %N-doc
 InstallScript: <<
  /usr/bin/install -m 755 -d %i/lib/Ngraph     %i/share/doc/%n
  /bin/mv ../doc             %i/lib/Ngraph
  /bin/ln -s                 %i/lib/Ngraph/doc %i/share/doc/%n/html
 <<
<<
DescUsage: <<
 If you want to use Ngraph in CJK environment, launch ngraph with the locale.
 For example:

  $ LANG=ja_JP.eucJP ngraph
  $ LANG=ko_KR.euckr ngraph
  $ LANG=zh_CN.gb2312 ngraph
  $ LANG=zh_TW.euctw ngraph
 
 The config file for X11 is %p/lib/Ngraph/[LOCALE]/Ngraph. Change this file
 (and Ngraph.ini, gra2wmf.ini, gra2ps.ini) if you want to change settings of
 input methods, fonts, colors or encodings etc.
<<
Homepage: http://www2e.biglobe.ne.jp/~isizaka/indexe.htm


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to