ports/172223: devel/aifad: Update to version 2.0.2

KATO Tsuguru tkato432 at yahoo.com
Mon Oct 1 18:10:06 UTC 2012


>Number:         172223
>Category:       ports
>Synopsis:       devel/aifad: Update to version 2.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 18:10:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 2.0.2

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/aifad/Makefile devel/aifad/Makefile
--- /usr/ports/devel/aifad/Makefile	2012-02-14 21:45:16.000000000 +0900
+++ devel/aifad/Makefile	2012-09-28 06:47:23.000000000 +0900
@@ -7,40 +7,46 @@
 #
 
 PORTNAME=	aifad
-PORTVERSION=	1.0.27
-PORTREVISION=	3
+PORTVERSION=	2.0.2
 CATEGORIES=	devel
-MASTER_SITES=	http://www.ocaml.info/ocaml_sources/
+MASTER_SITES=	http://cdn.bitbucket.org/mmottl/aifad/downloads/
 
 MAINTAINER=	ports at FreeBSD.org
 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.1:${PORTSDIR}/devel/pcre
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	menhir:${PORTSDIR}/devel/menhir \
+		ocaml-cfg>0:${PORTSDIR}/devel/ocaml-cfg \
+		ocaml-pcre>0:${PORTSDIR}/devel/ocaml-pcre \
+		ocaml-res>0:${PORTSDIR}/devel/ocaml-res
+LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-USE_BZIP2=	yes
-USE_GMAKE=	yes
 USE_OCAML=	yes
 NO_OCAML_RUNDEPENDS=yes
 
-ALL_TARGET=	opt
-SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix ${PREFIX}
 
-DOCS=	README.txt TODO
+PORTDOCS=	*
+PORTEXAMPLES=	*
+PLIST_FILES=	bin/${PORTNAME}
 
-.include <bsd.port.pre.mk>
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
+.include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NOPORTDOCS)
+	@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
+.for i in AUTHORS.txt CHANGES.txt README.md TODO.md
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
+	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR})
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/devel/aifad/distinfo devel/aifad/distinfo
--- /usr/ports/devel/aifad/distinfo	2011-07-03 23:55:10.000000000 +0900
+++ devel/aifad/distinfo	2012-09-27 06:15:26.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (aifad-1.0.27.tar.bz2) = 827f2142df06fd8d1103e3cbef8a3fe9fe35dca4498266d370dbf5cff6ef6137
-SIZE (aifad-1.0.27.tar.bz2) = 60540
+SHA256 (aifad-2.0.2.tar.gz) = c265614a2dcc893eaab7e559cd8a6b446e09d3262974bb7e01b3c453c80356a8
+SIZE (aifad-2.0.2.tar.gz) = 103080
diff -urN /usr/ports/devel/aifad/pkg-descr devel/aifad/pkg-descr
--- /usr/ports/devel/aifad/pkg-descr	2006-08-23 22:36:52.000000000 +0900
+++ devel/aifad/pkg-descr	2012-09-27 06:28:52.000000000 +0900
@@ -5,4 +5,4 @@
 of resulting models.
 
 Author:	Markus Mottl <markus.mottl at gmail.com>
-WWW:	http://www.ocaml.info/aifad/
+WWW:	https://bitbucket.org/mmottl/aifad
diff -urN /usr/ports/devel/aifad/pkg-plist devel/aifad/pkg-plist
--- /usr/ports/devel/aifad/pkg-plist	2006-08-23 22:36:52.000000000 +0900
+++ devel/aifad/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,14 +0,0 @@
-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%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list