summaryrefslogtreecommitdiff
path: root/devel/aifad
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-08-23 13:36:52 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-08-23 13:36:52 +0000
commit7e6c9062d22f0fdd8df28dcf684e8d588e0ac421 (patch)
tree8e9a85d158c934297cadf0293cae5dd7a1031037 /devel/aifad
parent- Does not compile on ia64 (diff)
AIFAD stands for --Automated Induction of Functions over Algebraic
Datatypes-- and improves decision tree learning by supporting significantly more complex kinds of data. This allows users to more conveniently describe the data they want to have learnt, which can improve accuracy and complexity of resulting models. Author: Markus Mottl <markus.mottl@gmail.com> WWW: http://www.ocaml.info/aifad/ Submitted by: Stanislav Sedov <ssedov(at)mbsd.msk.ru> Approved by: krion (mentor)
Notes
Notes: svn path=/head/; revision=171271
Diffstat (limited to 'devel/aifad')
-rw-r--r--devel/aifad/Makefile46
-rw-r--r--devel/aifad/distinfo3
-rw-r--r--devel/aifad/pkg-descr8
-rw-r--r--devel/aifad/pkg-plist14
4 files changed, 71 insertions, 0 deletions
diff --git a/devel/aifad/Makefile b/devel/aifad/Makefile
new file mode 100644
index 000000000000..8a29ed8f2523
--- /dev/null
+++ b/devel/aifad/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: aifad
+# Date created: 2006-08-15
+# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
+#
+# $MBSDlabs$
+# $FreeBSD$
+#
+
+PORTNAME= aifad
+PORTVERSION= 1.0.26
+CATEGORIES= devel
+MASTER_SITES= http://www.ocaml.info/ocaml_sources/
+
+MAINTAINER= ssedov@mbsd.msk.ru
+COMMENT= Machine learning system
+
+BUILD_DEPENDS= ${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre \
+ ${SA_DIR}/res/res.a:${PORTSDIR}/devel/ocaml-res \
+ ${SA_DIR}/cfg/cfg.a:${PORTSDIR}/devel/ocaml-cfg
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre-utf8
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_OCAML= yes
+NO_OCAML_RUNDEPENDS=yes
+
+ALL_TARGET= opt
+SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+
+DOCS= README.txt TODO
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/aifad/distinfo b/devel/aifad/distinfo
new file mode 100644
index 000000000000..4120b6aec99b
--- /dev/null
+++ b/devel/aifad/distinfo
@@ -0,0 +1,3 @@
+MD5 (aifad-1.0.26.tar.bz2) = 8b2cbbe5c020a92654541a88bf0cc12e
+SHA256 (aifad-1.0.26.tar.bz2) = 4039cc59eeae054df2bb6001031cf63afce5d1ba5a9579f67e759bda9b82b0bc
+SIZE (aifad-1.0.26.tar.bz2) = 60482
diff --git a/devel/aifad/pkg-descr b/devel/aifad/pkg-descr
new file mode 100644
index 000000000000..a9d9f352d952
--- /dev/null
+++ b/devel/aifad/pkg-descr
@@ -0,0 +1,8 @@
+AIFAD stands for --Automated Induction of Functions over Algebraic
+Datatypes-- and improves decision tree learning by supporting significantly
+more complex kinds of data. This allows users to more conveniently describe
+the data they want to have learnt, which can improve accuracy and complexity
+of resulting models.
+
+Author: Markus Mottl <markus.mottl@gmail.com>
+WWW: http://www.ocaml.info/aifad/
diff --git a/devel/aifad/pkg-plist b/devel/aifad/pkg-plist
new file mode 100644
index 000000000000..bd9f4c1226ff
--- /dev/null
+++ b/devel/aifad/pkg-plist
@@ -0,0 +1,14 @@
+bin/aifad
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer1.add
+%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer1.ads
+%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer2.add
+%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer2.ads
+%%PORTDOCS%%%%EXAMPLESDIR%%/c45.data
+%%PORTDOCS%%%%EXAMPLESDIR%%/c45.names
+%%PORTDOCS%%%%EXAMPLESDIR%%/large.ads
+%%PORTDOCS%%%%EXAMPLESDIR%%/test.add
+%%PORTDOCS%%%%EXAMPLESDIR%%/test.ads
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%