Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv9988/languages

Added Files:
        swi-prolog.info 
Log Message:
Upload swi-prolog from 10.4+ with some changes (OK'd by maintainer, Adrian 
Prantl)


--- NEW FILE: swi-prolog.info ---
Package: swi-prolog
Version: 5.10.5
Revision: 1
Source: http://www.swi-prolog.org/download/stable/src/pl-%v.tar.gz
Source-MD5: 1ca45eddd3590fb525085761e75a4ebd
SourceRename: %N-%v.tar.gz
SourceDirectory: pl-%v
BuildDepends: freetype219, gmp5, libjpeg8, libncursesw5, system-openssl-dev, 
readline5, libncursesw5, x11-dev
# should remove junit dep in 64bit mode (hence also comment out "export 
JUNIT=..." below..), since I can't build junit there..
# assume junit only TestDepends (w/o that export I run into many java errors in 
make check)
Depends: %N-shlibs (= %v-%r)
PatchScript: <<
  sed -i.bak -e 's/ARCH=.*/ARCH=%m-darwin/' -e 's,-no-cpp-precomp,-Wall,' \
        -e 's;-flat_namespace -undefined suppress;-bundle_loader %b/src/swipl 
-undefined dynamic_lookup -Wl,-x -dead-strip;' \
        src/configure{,.in}
  perl -pi -e 's/( \$\(LDFLAGS\))(.*)/\2\1/' src/Makefile.in src/rc/Makefile.in
<<
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams: --mandir=%p/share/man --enable-shared --with-world 
--x-i=/usr/X11R6/include --x-l=/usr/X11R6/lib
CompileScript: <<
#!/bin/sh -ev
# export JUNIT=%p/share/java/junit/junit.jar
 export CIFLAGS="-I%p/include";
 export PKG_CONFIG_PATH=%p/lib/system-openssl/lib/pkgconfig:${PKG_CONFIG_PATH}
 %{default_script}
<<
#InfoTest: <<
# # To run tests, run the tests under x11, and not from fink (since fink 
destroys your environment, a.o. DISPLAY) 
# TestScript: make -ik check || :
#<<
InstallScript: <<
 make install DESTDIR=%d
 mkdir -p %i/share/doc/%N
 mv %i/lib/swipl-%v/doc/Manual %i/share/doc/%N
 rm -fR %i/lib/swipl-%v/doc
 ln -s ../%N-shlibs/COPYING %i/share/doc/%N
<<
DocFiles: README README.doc VERSION
Splitoff: <<
 Package: %N-dev
 BuildDependsOnly: true
 Depends: %N-shlibs (= %v-%r)
 Files: lib/pkgconfig
 InstallScript: <<
 #!/bin/sh -ev
        mkdir -p %i/lib %i/include %i/share/doc
        ln -s swipl-%v/lib/%m-darwin %i/lib/%N  
        ln -s %N %i/lib/swipl
        ln -s %N/libpl.dylib %i/lib
        mv %I/lib/swipl-%v/include/* %i/include
        ln -s %p/lib/swipl-%v/xpce/include/pce %i/include
        ln -s %N-shlibs %i/share/doc/%n
 <<
<<
Splitoff2: <<
 Package: %N-shlibs
 Depends: freetype219-shlibs, gmp5-shlibs, libjpeg8-shlibs, 
libncursesw5-shlibs, readline5-shlibs, x11-shlibs
 Files: lib
 Shlibs: %p/lib/swipl-%v/lib/%m-darwin/libswipl.dylib   0.0.0   %n      (>= 
5.6.64-1)
 DocFiles: COPYING
<<
License: LGPL
Description: SWI Prolog interpreter
DescDetail: <<
SWI-Prolog offers a comprehensive Free Software Prolog environment, 
licensed under the Lesser GNU Public License. Together with its graphics 
toolkit XPCE, its development started in 1987 and has been driven by the 
needs for real-world applications. These days SWI-Prolog is widely used 
in research and education as well as for commercial applications.
<<
DescPackaging: <<
Packaging is an ersatz for FsHS compliance, and for Shlibs policy
compliance, but hopefully functionally equivalent.
Upstream should be pressed to facilatate FHS compliance,
and if possible before we have to number %n...
(There are already pkgs linking to the dylib, even with the old version _ eg, 
ppl)

And, once things are correct, probably a %N-lite variant (resurrecting
the former fink pkg with that name IIRC).
<<
DescPort: <<
Without the patch to the link commands, 'essentially' no linking was done:
no undefined symbol had a "from"; with it, all have.
This still has to be communicated upstream.

There do remain errors when running make check; please contribute
fixes _ to the info-file and upstream.

Formerly maintained by Rob Braun.
<<
Maintainer: Adrian Prantl <adr...@complang.tuwien.ac.at>
Homepage: http://www.swi-prolog.org/


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to