ports/121661: [NEW PORT] math/timbl: Tilburg Memory Based Learner
Yuri
yuri at tsoft.com
Thu Mar 13 07:40:02 UTC 2008
>Number: 121661
>Category: ports
>Synopsis: [NEW PORT] math/timbl: Tilburg Memory Based Learner
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 13 07:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Yuri
>Release: 7.0-STABLE
>Organization:
n/a
>Environment:
>Description:
The TiMBL software package is a fast, decision-tree-based implementation
of k-nearest neighbor classification. The package includes the IB1, IB2,
TRIBL, TRIBL2, and IGTree algorithms, and offers various weighting metrics.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# timbl/
# timbl/pkg-plist
# timbl/pkg-descr
# timbl/distinfo
# timbl/Makefile
# timbl/files
# timbl/files/patch-demos_Makefile.in
#
echo c - timbl/
mkdir -p timbl/ > /dev/null 2>&1
echo x - timbl/pkg-plist
sed 's/^X//' >timbl/pkg-plist << 'END-of-timbl/pkg-plist'
Xbin/Timbl
Xbin/TimblClient
Xlib/libTimbl.a
Xlib/pkgconfig/timbl.pc
Xinclude/timbl/CommandLine.h
Xinclude/timbl/Common.h
Xinclude/timbl/GetOptClass.h
Xinclude/timbl/IBtree.h
Xinclude/timbl/Instance.h
Xinclude/timbl/LogBuffer.h
Xinclude/timbl/LogStream.h
Xinclude/timbl/MBLClass.h
Xinclude/timbl/MsgClass.h
Xinclude/timbl/BestArray.h
Xinclude/timbl/ServerProcs.h
Xinclude/timbl/SocketBasics.h
Xinclude/timbl/StringOps.h
Xinclude/timbl/TimblAPI.h
Xinclude/timbl/Options.h
Xinclude/timbl/TimblExperiment.h
Xinclude/timbl/Tree.h
Xinclude/timbl/Trie.h
Xinclude/timbl/Types.h
Xinclude/timbl/neighborSet.h
Xinclude/timbl/Statistics.h
Xshare/doc/timbl/examples/dimin.script
Xshare/doc/timbl/examples/dimin.train
Xshare/doc/timbl/examples/dimin.test
Xshare/doc/timbl/examples/cross_val.test
Xshare/doc/timbl/examples/small_1.train
Xshare/doc/timbl/examples/small_2.train
Xshare/doc/timbl/examples/small_3.train
Xshare/doc/timbl/examples/small_4.train
Xshare/doc/timbl/examples/small_5.train
Xshare/doc/timbl/Timbl_6.1_API.pdf
Xshare/doc/timbl/Timbl_6.1_Manual.pdf
END-of-timbl/pkg-plist
echo x - timbl/pkg-descr
sed 's/^X//' >timbl/pkg-descr << 'END-of-timbl/pkg-descr'
XThe TiMBL software package is a fast, decision-tree-based implementation
Xof k-nearest neighbor classification. The package includes the IB1, IB2,
XTRIBL, TRIBL2, and IGTree algorithms, and offers various weighting metrics.
X
XWWW: http://ilk.uvt.nl/timbl/
END-of-timbl/pkg-descr
echo x - timbl/distinfo
sed 's/^X//' >timbl/distinfo << 'END-of-timbl/distinfo'
XMD5 (timbl-6.1.2.tar.gz) = 14415a5864cbafd17307b5a3e1360b1d
XSHA256 (timbl-6.1.2.tar.gz) = 8384190a8e16b521785ed0713681c6359b3038f92aac502d9d54976171fd85a0
XSIZE (timbl-6.1.2.tar.gz) = 823951
END-of-timbl/distinfo
echo x - timbl/Makefile
sed 's/^X//' >timbl/Makefile << 'END-of-timbl/Makefile'
X# New ports collection makefile for: timbl
X# Date created: 13 March 2008
X# Whom: Yuri Victorovich <yuri at tsoft.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= timbl
XPORTVERSION= 6.1.2
XCATEGORIES= math
XMASTER_SITES= http://ilk.uvt.nl/downloads/pub/software/ \
X ${MASTER_SITE_LOCAL}
X
XMAINTAINER= yuri at tsoft.com
XCOMMENT= Tilburg Memory Based Learner
X
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
XCPPFLAGS+= -I${LOCALBASE}/include
XLDFLAGS+= -L${LOCALBASE}/lib
X
X.include <bsd.port.mk>
END-of-timbl/Makefile
echo c - timbl/files
mkdir -p timbl/files > /dev/null 2>&1
echo x - timbl/files/patch-demos_Makefile.in
sed 's/^X//' >timbl/files/patch-demos_Makefile.in << 'END-of-timbl/files/patch-demos_Makefile.in'
X--- demos/Makefile.in.orig 2008-03-12 17:15:02.000000000 -0700
X+++ demos/Makefile.in 2008-03-12 17:22:05.000000000 -0700
X@@ -248,25 +248,25 @@
X $(ACLOCAL_M4): $(am__aclocal_m4_deps)
X cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
X install-binPROGRAMS: $(bin_PROGRAMS)
X- @$(NORMAL_INSTALL)
X- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
X- @list='$(bin_PROGRAMS)'; for p in $$list; do \
X- p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
X- if test -f $$p \
X- ; then \
X- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
X- echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
X- $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
X- else :; fi; \
X- done
X+ #@$(NORMAL_INSTALL)
X+ #test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
X+ #@list='$(bin_PROGRAMS)'; for p in $$list; do \
X+ # p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
X+ # if test -f $$p \
X+ # ; then \
X+ # f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
X+ # echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
X+ # $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
X+ # else :; fi; \
X+ #done
X
X uninstall-binPROGRAMS:
X- @$(NORMAL_UNINSTALL)
X- @list='$(bin_PROGRAMS)'; for p in $$list; do \
X- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
X- echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
X- rm -f "$(DESTDIR)$(bindir)/$$f"; \
X- done
X+ #@$(NORMAL_UNINSTALL)
X+ #@list='$(bin_PROGRAMS)'; for p in $$list; do \
X+ # f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
X+ # echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
X+ # rm -f "$(DESTDIR)$(bindir)/$$f"; \
X+ #done
X
X clean-binPROGRAMS:
X -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
END-of-timbl/files/patch-demos_Makefile.in
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list