aboutsummaryrefslogtreecommitdiff
path: root/lang/cint
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2007-08-21 09:43:13 +0000
committerMax Khon <fjoe@FreeBSD.org>2007-08-21 09:43:13 +0000
commit08cfe34e36278335815b38b7ef0ff7e64bcb891d (patch)
tree8e8205773eb675e934ffc8794bcdd855ed62d1fe /lang/cint
parenta38892b7e9d744da90513b6de21e15259331c230 (diff)
downloadports-08cfe34e36278335815b38b7ef0ff7e64bcb891d.tar.gz
ports-08cfe34e36278335815b38b7ef0ff7e64bcb891d.zip
Notes
Diffstat (limited to 'lang/cint')
-rw-r--r--lang/cint/Makefile35
-rw-r--r--lang/cint/distinfo3
-rw-r--r--lang/cint/files/patch-Makefile16
-rw-r--r--lang/cint/files/patch-configure41
-rw-r--r--lang/cint/files/patch-tool-INSTALLBIN31
-rw-r--r--lang/cint/pkg-descr12
-rw-r--r--lang/cint/pkg-plist312
7 files changed, 450 insertions, 0 deletions
diff --git a/lang/cint/Makefile b/lang/cint/Makefile
new file mode 100644
index 000000000000..0f0775d40a91
--- /dev/null
+++ b/lang/cint/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: cint
+# Date created: 21 Aug 2007
+# Whom: Max Khon <fjoe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cint
+PORTVERSION= 5.16.19
+DISTVERSIONSUFFIX= -source
+CATEGORIES= lang
+MASTER_SITES= ftp://root.cern.ch/root/
+
+MAINTAINER= fjoe@FreeBSD.org
+COMMENT= C/C++ interpreter
+
+BUILD_DEPENDS= bash:../../shells/bash
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+ALL_TARGET=
+MAN1= cint.1 makecint.1
+
+do-configure:
+ cd ${WRKSRC} && ${LOCALBASE}/bin/bash configure __have_the_proper_shell@
+
+do-install:
+ cd ${WRKSRC} && ${SH} tool/INSTALLBIN\
+ --bindir=${PREFIX}/bin\
+ --libdir=${PREFIX}/lib/cint\
+ --docdir=${PREFIX}/share/doc/cint\
+ --mandir=${PREFIX}/man
+
+.include <bsd.port.mk>
diff --git a/lang/cint/distinfo b/lang/cint/distinfo
new file mode 100644
index 000000000000..2b77e1d4ecf6
--- /dev/null
+++ b/lang/cint/distinfo
@@ -0,0 +1,3 @@
+MD5 (cint-5.16.19-source.tar.gz) = f1f607cce2adba306d3e56e6d4c4d4e1
+SHA256 (cint-5.16.19-source.tar.gz) = 93a9daa39d83b2fee641edda49ac1a4a0687baed249fae534916dfac2e752ee6
+SIZE (cint-5.16.19-source.tar.gz) = 1975329
diff --git a/lang/cint/files/patch-Makefile b/lang/cint/files/patch-Makefile
new file mode 100644
index 000000000000..ae2fbf7b8a4a
--- /dev/null
+++ b/lang/cint/files/patch-Makefile
@@ -0,0 +1,16 @@
+--- Makefile.orig Fri Nov 24 14:41:26 2006
++++ Makefile Tue Aug 21 14:57:42 2007
+@@ -38,11 +38,11 @@
+ touch include/iosenum.h; \
+ else \
+ (echo Generating iosenum.h. This might take a while...; \
+- cd include;$(G__CFG_RM) stdfunc$(G__CFG_SOEXT); cd ..\
++ cd include;$(G__CFG_RM) stdfunc$(G__CFG_SOEXT); cd ..;\
+ unset VS_UNICODE_OUTPUT; \
+ LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:. \
+ DYLD_LIBRARY_PATH=$$DYLD_LIBRARY_PATH:. \
+- ./cint$(G__CFG_EXEEXT) $(G__CFG_INCP)inc iosenum.cxx); \
++ ./cint$(G__CFG_EXEEXT) $(G__CFG_INCP)inc include/iosenum.cxx); \
+ fi)
+ @echo > done
+
diff --git a/lang/cint/files/patch-configure b/lang/cint/files/patch-configure
new file mode 100644
index 000000000000..4cd0ad381f8c
--- /dev/null
+++ b/lang/cint/files/patch-configure
@@ -0,0 +1,41 @@
+--- configure.orig Fri Nov 24 14:30:23 2006
++++ configure Tue Aug 21 15:02:00 2007
+@@ -20,7 +20,7 @@
+
+ # configure settings to build CINT
+
+-ARCHS=(linux linuxicc macgcc djgpp cygwin mingw mwerks hpux aix msvc7 msvc8 solaris solarisgcc)
++ARCHS=(linux linuxicc macgcc djgpp cygwin mingw mwerks hpux aix msvc7 msvc8 solaris solarisgcc freebsd)
+
+ #############################################################
+ ###
+@@ -102,6 +102,11 @@
+ config_GCC_defaults
+ }
+
++function config_freebsd {
++ config_GCC_defaults
++ DEFAULTLIBS="`echo $DEFAULTLIBS | sed 's/-ldl//'`"
++}
++
+ function config_linuxx8664gcc {
+ config_GCC_defaults
+
+@@ -326,7 +331,7 @@
+ # freebsd*:*:6*) arch=freebsd5 ;;
+ # freebsd*:*:5*) arch=freebsd5 ;;
+ # freebsd*:*:4*) arch=freebsd4 ;;
+-# freebsd*:*:*) arch=freebsd ;;
++ freebsd*:*:*) arch=freebsd ;;
+ # hp-ux:ia64:*) arch=hpuxia64acc ;;
+ # hp-ux:*:*) arch=hpuxacc ;;
+ # hurd*:*:*) arch=hurddeb ;;
+@@ -356,6 +361,8 @@
+ # ;;
+ esac
+ if [ "x`uname -a|grep -i linux`" != "x" ]; then
++ GUESSEDARCH=$arch
++ elif [ "x`uname -a|grep -i freebsd`" != "x" ]; then
+ GUESSEDARCH=$arch
+ elif cl.exe >/dev/null 2>&1; then
+ if [ "x`cl 2>&1|grep 'Version 14'`" != "x" ]; then
diff --git a/lang/cint/files/patch-tool-INSTALLBIN b/lang/cint/files/patch-tool-INSTALLBIN
new file mode 100644
index 000000000000..7ac7e51b3e6e
--- /dev/null
+++ b/lang/cint/files/patch-tool-INSTALLBIN
@@ -0,0 +1,31 @@
+--- tool/INSTALLBIN.orig Tue Aug 21 15:08:47 2007
++++ tool/INSTALLBIN Tue Aug 21 15:14:16 2007
+@@ -96,17 +96,17 @@
+ #####################################################################
+ # Copy lib files
+ #####################################################################
+-mkdir -p $LIBDIR/src
+ for i in include/*; do
+ if test -d $i; then mkdir -p $LIBDIR/$i; fi
+ done
+ mkdir -p $LIBDIR/lib/prec_stl
+ mkdir -p $LIBDIR/lib/longlong
+ mkdir -p $LIBDIR/stl
++mkdir -p $LIBDIR/inc
+ mkdir -p $LIBDIR/main
+
+ # Copy lib files
+-FILELIST="MAKEINFO include/* include/*/* stl/* lib/prec_stl/* lib/longlong/longlong.h G__ci.h main/*"
++FILELIST="include/* include/*/* stl/* lib/prec_stl/* lib/longlong/longlong.h inc/* main/*"
+ # Add either shared or static library to $FILELIST
+ if test -f libcint.so; then
+ FILELIST="$FILELIST libcint.so"
+@@ -115,7 +115,7 @@
+ fi
+ for i in $FILELIST; do
+ case $i in
+- include/make*|include/Make*|*/setup*)
++ include/make*|include/Make*|*/setup*|*/CVS|*/CVS/*)
+ ;;
+ *)
+ if ! test -d $i; then echo -n "$i "; cp $i $LIBDIR/$i; fi
diff --git a/lang/cint/pkg-descr b/lang/cint/pkg-descr
new file mode 100644
index 000000000000..2fe7909ea99f
--- /dev/null
+++ b/lang/cint/pkg-descr
@@ -0,0 +1,12 @@
+CINT is a C/C++ interpreter aimed at processing C/C++ scripts.
+
+CINT covers about 95% of ANSI C and 85% of C++. A CINT script can call
+compiled classes/functions and compiled code can make callbacks to CINT
+user defined functions. Utilities, like makecint and rootcint, automate
+the process of embedding compiled C/C++ library code as shared objects
+(as Dynamic Link Library, DLL, or shared library, .so). Source files
+and shared objects can be dynamically loaded/unloaded without stopping
+the CINT process. CINT offers a gdb like debugging environment for
+interpreted programs.
+
+WWW: http://root.cern.ch/twiki/bin/view/ROOT/CINT
diff --git a/lang/cint/pkg-plist b/lang/cint/pkg-plist
new file mode 100644
index 000000000000..004206d8b45e
--- /dev/null
+++ b/lang/cint/pkg-plist
@@ -0,0 +1,312 @@
+bin/cint
+bin/makecint
+lib/cint/inc/Api.h
+lib/cint/inc/BaseCls.h
+lib/cint/inc/CallFunc.h
+lib/cint/inc/Class.h
+lib/cint/inc/DataMbr.h
+lib/cint/inc/G__ci.h
+lib/cint/inc/Method.h
+lib/cint/inc/MethodAr.h
+lib/cint/inc/Property.h
+lib/cint/inc/Shadow.h
+lib/cint/inc/Token.h
+lib/cint/inc/Type.h
+lib/cint/inc/Typedf.h
+lib/cint/inc/configcint.h
+lib/cint/include/Common.h
+lib/cint/include/GL/gl.h
+lib/cint/include/GL/glu.h
+lib/cint/include/GL/glut.h
+lib/cint/include/GL/xmesa.h
+lib/cint/include/README.txt
+lib/cint/include/ReadF.C
+lib/cint/include/ReadF.cxx
+lib/cint/include/ReadF.h
+lib/cint/include/RegE.C
+lib/cint/include/RegE.cxx
+lib/cint/include/RegE.h
+lib/cint/include/X11/Xlib.h
+lib/cint/include/X11/Xutil.h
+lib/cint/include/X11/keysym.h
+lib/cint/include/X11/xos.h
+lib/cint/include/_complex
+lib/cint/include/_complex.h
+lib/cint/include/_exception
+lib/cint/include/_exception.h
+lib/cint/include/_iostream
+lib/cint/include/_stdexcept
+lib/cint/include/_stdexcept.h
+lib/cint/include/api.h
+lib/cint/include/array.c
+lib/cint/include/array.h
+lib/cint/include/arrayiostream.h
+lib/cint/include/assert.h
+lib/cint/include/bool
+lib/cint/include/bool.h
+lib/cint/include/boolean.h
+lib/cint/include/carray.c
+lib/cint/include/carray.h
+lib/cint/include/cassert
+lib/cint/include/cctype
+lib/cint/include/cerrno
+lib/cint/include/cfloat
+lib/cint/include/ciso646
+lib/cint/include/climits
+lib/cint/include/clocale
+lib/cint/include/cmath
+lib/cint/include/complex
+lib/cint/include/complex.h
+lib/cint/include/constants.h
+lib/cint/include/csetjmp
+lib/cint/include/csignal
+lib/cint/include/cstdarg
+lib/cint/include/cstddef
+lib/cint/include/cstdio
+lib/cint/include/cstdlib
+lib/cint/include/cstring
+lib/cint/include/ctime
+lib/cint/include/ctype.h
+lib/cint/include/cwchar
+lib/cint/include/cwctype
+lib/cint/include/darray.cxx
+lib/cint/include/darray.h
+lib/cint/include/done
+lib/cint/include/errno.h
+lib/cint/include/ertti.h
+lib/cint/include/exception
+lib/cint/include/exception.h
+lib/cint/include/fcntl.h
+lib/cint/include/fft.c
+lib/cint/include/fft.h
+lib/cint/include/float.h
+lib/cint/include/fstream
+lib/cint/include/fstream.h
+lib/cint/include/graphbuf.h
+lib/cint/include/iomanip
+lib/cint/include/iomanip.h
+lib/cint/include/iosenum.cxx
+lib/cint/include/iosenum.h
+lib/cint/include/iosenum.win32
+lib/cint/include/iosfwd
+lib/cint/include/iosfwd.h
+lib/cint/include/iostream
+lib/cint/include/iostream.h
+lib/cint/include/istream
+lib/cint/include/limits
+lib/cint/include/limits.h
+lib/cint/include/locale
+lib/cint/include/locale.h
+lib/cint/include/lsm.c
+lib/cint/include/lsm.h
+lib/cint/include/math.h
+lib/cint/include/matrix.cxx
+lib/cint/include/matrix.h
+lib/cint/include/matrixstream.h
+lib/cint/include/matrixstream.hi
+lib/cint/include/mkincld
+lib/cint/include/mkincld.c
+lib/cint/include/mkincld.o
+lib/cint/include/new
+lib/cint/include/new.h
+lib/cint/include/ostream
+lib/cint/include/platform.h
+lib/cint/include/pthread.h
+lib/cint/include/readfile.h
+lib/cint/include/regex.h
+lib/cint/include/regexp.h
+lib/cint/include/setjmp.h
+lib/cint/include/signal.h
+lib/cint/include/socket.h
+lib/cint/include/spice.h
+lib/cint/include/sstream
+lib/cint/include/statistics.c
+lib/cint/include/statistics.h
+lib/cint/include/stdarg.h
+lib/cint/include/stddef.h
+lib/cint/include/stdexcept
+lib/cint/include/stdio.h
+lib/cint/include/stdiostream.h
+lib/cint/include/stdlib.h
+lib/cint/include/stream.h
+lib/cint/include/streambuf
+lib/cint/include/string.h
+lib/cint/include/striostream.h
+lib/cint/include/strstream
+lib/cint/include/strstream.h
+lib/cint/include/sys/cdefs.h
+lib/cint/include/sys/file.h
+lib/cint/include/sys/ipc.h
+lib/cint/include/sys/msg.h
+lib/cint/include/sys/sem.h
+lib/cint/include/sys/shm.h
+lib/cint/include/sys/stat.h
+lib/cint/include/termios.h
+lib/cint/include/time.h
+lib/cint/include/timespec.h
+lib/cint/include/typeinfo
+lib/cint/include/typeinfo.h
+lib/cint/include/unistd.h
+lib/cint/include/windows.h
+lib/cint/include/winsock.h
+lib/cint/include/xgraph.c
+lib/cint/include/xygraphbuf.h
+lib/cint/lib/longlong/longlong.h
+lib/cint/lib/prec_stl/README.txt
+lib/cint/lib/prec_stl/algorithm
+lib/cint/lib/prec_stl/bitset
+lib/cint/lib/prec_stl/climits
+lib/cint/lib/prec_stl/complex
+lib/cint/lib/prec_stl/deque
+lib/cint/lib/prec_stl/exception
+lib/cint/lib/prec_stl/functional
+lib/cint/lib/prec_stl/iterator
+lib/cint/lib/prec_stl/limits
+lib/cint/lib/prec_stl/list
+lib/cint/lib/prec_stl/map
+lib/cint/lib/prec_stl/memory
+lib/cint/lib/prec_stl/multimap
+lib/cint/lib/prec_stl/multiset
+lib/cint/lib/prec_stl/numeric
+lib/cint/lib/prec_stl/queue
+lib/cint/lib/prec_stl/set
+lib/cint/lib/prec_stl/stack
+lib/cint/lib/prec_stl/stdexcept
+lib/cint/lib/prec_stl/string
+lib/cint/lib/prec_stl/utility
+lib/cint/lib/prec_stl/valarray
+lib/cint/lib/prec_stl/vector
+lib/cint/libcint.so
+lib/cint/main/G__cppmain.o
+lib/cint/main/G__main.c
+lib/cint/main/G__setup.c
+lib/cint/main/G__setup.o
+lib/cint/main/cppmain.cxx
+lib/cint/stl/G__postprocess.h
+lib/cint/stl/README.txt
+lib/cint/stl/_algorithm
+lib/cint/stl/_autocontainer
+lib/cint/stl/_bitset
+lib/cint/stl/_climits
+lib/cint/stl/_climits.h
+lib/cint/stl/_deque
+lib/cint/stl/_deque.h
+lib/cint/stl/_functional
+lib/cint/stl/_iterator
+lib/cint/stl/_iterator.h
+lib/cint/stl/_list
+lib/cint/stl/_list.h
+lib/cint/stl/_map
+lib/cint/stl/_map.h
+lib/cint/stl/_memory
+lib/cint/stl/_memory.h
+lib/cint/stl/_multimap
+lib/cint/stl/_multimap.h
+lib/cint/stl/_multiset
+lib/cint/stl/_multiset.h
+lib/cint/stl/_pair.h
+lib/cint/stl/_set
+lib/cint/stl/_set.h
+lib/cint/stl/_stack
+lib/cint/stl/_stack.h
+lib/cint/stl/_string
+lib/cint/stl/_utility
+lib/cint/stl/_utility.h
+lib/cint/stl/_vector
+lib/cint/stl/_vector.h
+lib/cint/stl/algo.h
+lib/cint/stl/algobase.h
+lib/cint/stl/algorithm
+lib/cint/stl/bitset
+lib/cint/stl/bool
+lib/cint/stl/bstring.h
+lib/cint/stl/bvector.h
+lib/cint/stl/defalloc.h
+lib/cint/stl/deque
+lib/cint/stl/deque.h
+lib/cint/stl/faralloc.h
+lib/cint/stl/fdeque.h
+lib/cint/stl/flist.h
+lib/cint/stl/fmap.h
+lib/cint/stl/fmultmap.h
+lib/cint/stl/fmultset.h
+lib/cint/stl/fset.h
+lib/cint/stl/function.h
+lib/cint/stl/functional
+lib/cint/stl/hdeque.h
+lib/cint/stl/heap.h
+lib/cint/stl/hlist.h
+lib/cint/stl/hmap.h
+lib/cint/stl/hmultmap.h
+lib/cint/stl/hmultset.h
+lib/cint/stl/hset.h
+lib/cint/stl/hugalloc.h
+lib/cint/stl/hvector.h
+lib/cint/stl/iterator
+lib/cint/stl/iterator.h
+lib/cint/stl/lbvector.h
+lib/cint/stl/ldeque.h
+lib/cint/stl/limits
+lib/cint/stl/list
+lib/cint/stl/list.h
+lib/cint/stl/llist.h
+lib/cint/stl/lmap.h
+lib/cint/stl/lmultmap.h
+lib/cint/stl/lmultset.h
+lib/cint/stl/lngalloc.h
+lib/cint/stl/lset.h
+lib/cint/stl/map
+lib/cint/stl/map.h
+lib/cint/stl/memory
+lib/cint/stl/multimap
+lib/cint/stl/multimap.h
+lib/cint/stl/multiset
+lib/cint/stl/multiset.h
+lib/cint/stl/neralloc.h
+lib/cint/stl/nmap.h
+lib/cint/stl/nmultmap.h
+lib/cint/stl/nmultset.h
+lib/cint/stl/nset.h
+lib/cint/stl/numeric
+lib/cint/stl/pair
+lib/cint/stl/pair.h
+lib/cint/stl/projectn.h
+lib/cint/stl/queue
+lib/cint/stl/set
+lib/cint/stl/set.h
+lib/cint/stl/stack
+lib/cint/stl/stack.h
+lib/cint/stl/string
+lib/cint/stl/tempbuf.cpp
+lib/cint/stl/tempbuf.h
+lib/cint/stl/teststl
+lib/cint/stl/teststl.c
+lib/cint/stl/tree.h
+lib/cint/stl/utility
+lib/cint/stl/utility.h
+lib/cint/stl/valarray
+lib/cint/stl/vector
+lib/cint/stl/vector.h
+share/doc/cint/bytecode.txt
+share/doc/cint/cint.txt
+share/doc/cint/cintapi.txt
+share/doc/cint/extlib.txt
+share/doc/cint/ifdef.txt
+share/doc/cint/limitati.txt
+share/doc/cint/limitnum.txt
+share/doc/cint/makecint.txt
+share/doc/cint/message.txt
+share/doc/cint/ref.txt
+@dirrm share/doc/cint
+@dirrm lib/cint/stl
+@dirrm lib/cint/main
+@dirrm lib/cint/lib/prec_stl
+@dirrm lib/cint/lib/longlong
+@dirrm lib/cint/lib
+@dirrm lib/cint/include/sys
+@dirrm lib/cint/include/X11
+@dirrm lib/cint/include/GL
+@dirrm lib/cint/include/CVS
+@dirrm lib/cint/include
+@dirrm lib/cint/inc
+@dirrm lib/cint