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> |