View | Details | Raw Unified | Return to bug 172223 | Differences between
and this patch

Collapse All | Expand All

(-)devel/aifad/Makefile (-20 / +26 lines)
Lines 7-46 Link Here
7
#
7
#
8
8
9
PORTNAME=	aifad
9
PORTNAME=	aifad
10
PORTVERSION=	1.0.27
10
PORTVERSION=	2.0.2
11
PORTREVISION=	3
12
CATEGORIES=	devel
11
CATEGORIES=	devel
13
MASTER_SITES=	http://www.ocaml.info/ocaml_sources/
12
MASTER_SITES=	http://cdn.bitbucket.org/mmottl/aifad/downloads/
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Machine learning system
15
COMMENT=	Machine learning system
17
16
18
BUILD_DEPENDS=	${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre \
17
LICENSE=	GPLv3
19
		${SA_DIR}/res/res.a:${PORTSDIR}/devel/ocaml-res \
18
20
		${SA_DIR}/cfg/cfg.a:${PORTSDIR}/devel/ocaml-cfg
19
BUILD_DEPENDS=	menhir:${PORTSDIR}/devel/menhir \
21
LIB_DEPENDS=	pcre.1:${PORTSDIR}/devel/pcre
20
		ocaml-cfg>0:${PORTSDIR}/devel/ocaml-cfg \
21
		ocaml-pcre>0:${PORTSDIR}/devel/ocaml-pcre \
22
		ocaml-res>0:${PORTSDIR}/devel/ocaml-res
23
LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
24
25
OPTIONS_DEFINE=	DOCS EXAMPLES
22
26
23
USE_BZIP2=	yes
24
USE_GMAKE=	yes
25
USE_OCAML=	yes
27
USE_OCAML=	yes
26
NO_OCAML_RUNDEPENDS=yes
28
NO_OCAML_RUNDEPENDS=yes
27
29
28
ALL_TARGET=	opt
30
HAS_CONFIGURE=	yes
29
SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
31
CONFIGURE_ARGS=	--prefix ${PREFIX}
30
32
31
DOCS=	README.txt TODO
33
PORTDOCS=	*
34
PORTEXAMPLES=	*
35
PLIST_FILES=	bin/${PORTNAME}
32
36
33
.include <bsd.port.pre.mk>
37
.include <bsd.port.options.mk>
34
35
do-install:
36
	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
37
38
38
post-install:
39
post-install:
39
.if !defined(NOPORTDOCS)
40
	@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
41
.if ${PORT_OPTIONS:MDOCS}
40
	@${MKDIR} ${DOCSDIR}
42
	@${MKDIR} ${DOCSDIR}
43
.for i in AUTHORS.txt CHANGES.txt README.md TODO.md
44
	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
45
.endfor
46
.endif
47
.if ${PORT_OPTIONS:MEXAMPLES}
41
	@${MKDIR} ${EXAMPLESDIR}
48
	@${MKDIR} ${EXAMPLESDIR}
42
	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
49
	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR})
43
	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
44
.endif
50
.endif
45
51
46
.include <bsd.port.post.mk>
52
.include <bsd.port.mk>
(-)devel/aifad/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (aifad-1.0.27.tar.bz2) = 827f2142df06fd8d1103e3cbef8a3fe9fe35dca4498266d370dbf5cff6ef6137
1
SHA256 (aifad-2.0.2.tar.gz) = c265614a2dcc893eaab7e559cd8a6b446e09d3262974bb7e01b3c453c80356a8
2
SIZE (aifad-1.0.27.tar.bz2) = 60540
2
SIZE (aifad-2.0.2.tar.gz) = 103080
(-)devel/aifad/pkg-descr (-1 / +1 lines)
Lines 5-8 Link Here
5
of resulting models.
5
of resulting models.
6
6
7
Author:	Markus Mottl <markus.mottl@gmail.com>
7
Author:	Markus Mottl <markus.mottl@gmail.com>
8
WWW:	http://www.ocaml.info/aifad/
8
WWW:	https://bitbucket.org/mmottl/aifad
(-)devel/aifad/pkg-plist (-14 lines)
Lines 1-14 Link Here
1
bin/aifad
2
%%PORTDOCS%%%%DOCSDIR%%/README.txt
3
%%PORTDOCS%%%%DOCSDIR%%/TODO
4
%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer1.add
5
%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer1.ads
6
%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer2.add
7
%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer2.ads
8
%%PORTDOCS%%%%EXAMPLESDIR%%/c45.data
9
%%PORTDOCS%%%%EXAMPLESDIR%%/c45.names
10
%%PORTDOCS%%%%EXAMPLESDIR%%/large.ads
11
%%PORTDOCS%%%%EXAMPLESDIR%%/test.add
12
%%PORTDOCS%%%%EXAMPLESDIR%%/test.ads
13
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
14
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 172223