aboutsummaryrefslogtreecommitdiffstats
path: root/devel/aifad
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-23 21:36:52 +0800
committermiwi <miwi@FreeBSD.org>2006-08-23 21:36:52 +0800
commitbc3e4243d44e4f453a5fa807a4f7015ad86c3056 (patch)
tree155a0f3fdb5bd0f3b27763505b2eef350c6c8207 /devel/aifad
parentb884fa40ec8d0ecbf43dd1d09e7dc25ddb673272 (diff)
downloadfreebsd-ports-gnome-bc3e4243d44e4f453a5fa807a4f7015ad86c3056.tar.gz
freebsd-ports-gnome-bc3e4243d44e4f453a5fa807a4f7015ad86c3056.tar.zst
freebsd-ports-gnome-bc3e4243d44e4f453a5fa807a4f7015ad86c3056.zip
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)
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%%