- Update to 2.0.2.
PR: ports/172223 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
039bcbeadf
commit
3cb888567e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309281
3 changed files with 21 additions and 34 deletions
|
@ -2,40 +2,42 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= aifad
|
||||
PORTVERSION= 1.1.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://cdn.bitbucket.org/mmottl/aifad/downloads/
|
||||
|
||||
MAINTAINER= ports@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 \
|
||||
omake:${PORTSDIR}/devel/omake \
|
||||
menhir:${PORTSDIR}/devel/menhir
|
||||
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
|
||||
|
||||
USE_OCAML= yes
|
||||
NO_OCAML_RUNDEPENDS=yes
|
||||
|
||||
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix ${PREFIX}
|
||||
|
||||
DOCS= README.txt TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for i in AUTHORS.txt CHANGES.txt README.md TODO.md
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
|
||||
.endfor
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${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>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (aifad-1.1.0.tar.gz) = dca0a00dd7550bfc8244659d31c4f08f6b5bd8dd7d0e06439621cc3f4fb35b99
|
||||
SIZE (aifad-1.1.0.tar.gz) = 70085
|
||||
SHA256 (aifad-2.0.2.tar.gz) = c265614a2dcc893eaab7e559cd8a6b446e09d3262974bb7e01b3c453c80356a8
|
||||
SIZE (aifad-2.0.2.tar.gz) = 103080
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
bin/aifad
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/OMakefile
|
||||
%%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%%
|
Loading…
Reference in a new issue