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

Collapse All | Expand All

(-)devel/aifad/Makefile (-22 / +25 lines)
Lines 2-44 Link Here
2
# $FreeBSD: ports/devel/aifad/Makefile,v 1.9 2012/10/26 14:57:50 bapt Exp $
2
# $FreeBSD: ports/devel/aifad/Makefile,v 1.9 2012/10/26 14:57:50 bapt Exp $
3
3
4
PORTNAME=	aifad
4
PORTNAME=	aifad
5
PORTVERSION=	1.0.27
5
PORTVERSION=	2.0.2
6
PORTREVISION=	3
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	http://www.ocaml.info/ocaml_sources/
7
MASTER_SITES=	http://cdn.bitbucket.org/mmottl/aifad/downloads/
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
11
COMMENT=	Machine learning system
10
COMMENT=	Machine learning system
12
11
13
DEPRECATED=	No more public distfiles
12
LICENSE=	GPLv3
14
EXPIRATION_DATE=	2012-11-26
15
13
16
BUILD_DEPENDS=	${SA_DIR}/pcre/pcre.a:${PORTSDIR}/devel/ocaml-pcre \
14
BUILD_DEPENDS=	menhir:${PORTSDIR}/devel/menhir \
17
		${SA_DIR}/res/res.a:${PORTSDIR}/devel/ocaml-res \
15
		ocaml-cfg>0:${PORTSDIR}/devel/ocaml-cfg \
18
		${SA_DIR}/cfg/cfg.a:${PORTSDIR}/devel/ocaml-cfg
16
		ocaml-pcre>0:${PORTSDIR}/devel/ocaml-pcre \
19
LIB_DEPENDS=	pcre.1:${PORTSDIR}/devel/pcre
17
		ocaml-res>0:${PORTSDIR}/devel/ocaml-res
18
LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
19
20
OPTIONS_DEFINE=	DOCS EXAMPLES
20
21
21
USE_BZIP2=	yes
22
USE_GMAKE=	yes
23
USE_OCAML=	yes
22
USE_OCAML=	yes
24
NO_OCAML_RUNDEPENDS=yes
23
NO_OCAML_RUNDEPENDS=yes
25
24
26
ALL_TARGET=	opt
25
HAS_CONFIGURE=	yes
27
SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
26
CONFIGURE_ARGS=	--prefix ${PREFIX}
28
29
DOCS=	README.txt TODO
30
27
31
.include <bsd.port.pre.mk>
28
PORTDOCS=	*
29
PORTEXAMPLES=	*
30
PLIST_FILES=	bin/${PORTNAME}
32
31
33
do-install:
32
.include <bsd.port.options.mk>
34
	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
35
33
36
post-install:
34
post-install:
37
.if !defined(NOPORTDOCS)
35
	@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
36
.if ${PORT_OPTIONS:MDOCS}
38
	@${MKDIR} ${DOCSDIR}
37
	@${MKDIR} ${DOCSDIR}
38
.for i in AUTHORS.txt CHANGES.txt README.md TODO.md
39
	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
40
.endfor
41
.endif
42
.if ${PORT_OPTIONS:MEXAMPLES}
39
	@${MKDIR} ${EXAMPLESDIR}
43
	@${MKDIR} ${EXAMPLESDIR}
40
	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
44
	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR})
41
	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
42
.endif
45
.endif
43
46
44
.include <bsd.port.post.mk>
47
.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