b51d447684
are unsafe by default, which is the main motivation why it was picked, but not the very latest one) and synchronize the rest of the stack and dependent ports with it, particularly: - Update `devel/ocaml-ocamlbuild' to version 0.14.0 and unbreak, register build dependency on all ports that require it (should be part of USE_OCAML, but we do not want to make any Mk-related changes the for time being) - Update `devel/ocaml-camlp4' to version 4.05+2 - Update `devel/ocaml-camlp5' to version 7.07 (the project had moved to GitHub) - Mark `devel/ocaml-deriving-ocsigen' as BROKEN for now, it is very outdated and requires quite a lot of work - Update `x11-toolkits/ocaml-labltk' to version 8.06.3 PR: 218333 Exp-run by: antoine
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= aifad
|
|
PORTVERSION= 2.0.8
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Machine learning system
|
|
|
|
LICENSE= LGPL21+
|
|
|
|
BUILD_DEPENDS= menhir:devel/menhir \
|
|
ocaml-cfg>0:devel/ocaml-cfg \
|
|
ocamlbuild:devel/ocaml-ocamlbuild \
|
|
ocaml-pcre>0:devel/ocaml-pcre \
|
|
ocaml-res>0:devel/ocaml-res
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= mmottl
|
|
|
|
USE_OCAML= yes
|
|
NO_OCAML_RUNDEPENDS=yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix ${STAGEDIR}${PREFIX}
|
|
|
|
PORTDOCS= AUTHORS.txt CHANGES.txt README.md TODO.md
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= bin/aifad
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aifad
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|