svn commit: r404236 - head/devel/aifad

Martin Wilke miwi at FreeBSD.org
Tue Dec 22 14:33:38 UTC 2015


Author: miwi
Date: Tue Dec 22 14:33:37 2015
New Revision: 404236
URL: https://svnweb.freebsd.org/changeset/ports/404236

Log:
  - Update to 2.0.6
  - Switch to options helper
  - Update WWW
  
  PR:		205199
  Submitted by:	Ports Fury
  Approved by:	mat (mentor)
  Differential Revision:	D4619

Deleted:
  head/devel/aifad/pkg-plist
Modified:
  head/devel/aifad/Makefile
  head/devel/aifad/distinfo
  head/devel/aifad/pkg-descr

Modified: head/devel/aifad/Makefile
==============================================================================
--- head/devel/aifad/Makefile	Tue Dec 22 14:29:16 2015	(r404235)
+++ head/devel/aifad/Makefile	Tue Dec 22 14:33:37 2015	(r404236)
@@ -2,15 +2,13 @@
 # $FreeBSD$
 
 PORTNAME=	aifad
-PORTVERSION=	2.0.2
+PORTVERSION=	2.0.6
+DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
-MASTER_SITES=	http://cdn.bitbucket.org/mmottl/aifad/downloads/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Machine learning system
 
-BROKEN=		unfetchable
-
 LICENSE=	GPLv3
 
 BUILD_DEPENDS=	menhir:${PORTSDIR}/devel/menhir \
@@ -19,19 +17,29 @@ BUILD_DEPENDS=	menhir:${PORTSDIR}/devel/
 		ocaml-res>0:${PORTSDIR}/devel/ocaml-res
 LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	mmottl
+
 USE_OCAML=	yes
 NO_OCAML_RUNDEPENDS=yes
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix ${STAGEDIR}${PREFIX}
 
+PORTDOCS=	AUTHORS.txt CHANGES.txt README.md TODO.md
+PORTEXAMPLES=	*
+PLIST_FILES=	bin/aifad
+
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aifad
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.txt CHANGES.txt README.md \
-		TODO.md ${STAGEDIR}${DOCSDIR})
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+	
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
 

Modified: head/devel/aifad/distinfo
==============================================================================
--- head/devel/aifad/distinfo	Tue Dec 22 14:29:16 2015	(r404235)
+++ head/devel/aifad/distinfo	Tue Dec 22 14:33:37 2015	(r404236)
@@ -1,2 +1,2 @@
-SHA256 (aifad-2.0.2.tar.gz) = c265614a2dcc893eaab7e559cd8a6b446e09d3262974bb7e01b3c453c80356a8
-SIZE (aifad-2.0.2.tar.gz) = 103080
+SHA256 (mmottl-aifad-v2.0.6_GH0.tar.gz) = e7f66d8af30e6c95efadffb07e447bd8596ae20f92ec96429799b51c3c559f99
+SIZE (mmottl-aifad-v2.0.6_GH0.tar.gz) = 107722

Modified: head/devel/aifad/pkg-descr
==============================================================================
--- head/devel/aifad/pkg-descr	Tue Dec 22 14:29:16 2015	(r404235)
+++ head/devel/aifad/pkg-descr	Tue Dec 22 14:33:37 2015	(r404236)
@@ -1,7 +1,7 @@
 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.
+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.
 
-WWW: https://bitbucket.org/mmottl/aifad
+WWW: https://mmottl.github.io/aifad


More information about the svn-ports-head mailing list