2006-08-23 13:36:52 +00:00
|
|
|
# New ports collection makefile for: aifad
|
|
|
|
# Date created: 2006-08-15
|
|
|
|
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
|
|
|
#
|
|
|
|
# $MBSDlabs$
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= aifad
|
2006-12-09 11:59:21 +00:00
|
|
|
PORTVERSION= 1.0.27
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 2
|
2006-08-23 13:36:52 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.ocaml.info/ocaml_sources/
|
|
|
|
|
2006-12-09 11:59:21 +00:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2006-08-23 13:36:52 +00:00
|
|
|
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
|
2007-03-11 19:41:33 +00:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
2006-08-23 13:36:52 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_OCAML= yes
|
|
|
|
NO_OCAML_RUNDEPENDS=yes
|
|
|
|
|
|
|
|
ALL_TARGET= opt
|
|
|
|
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
|
|
|
|
|
|
|
|
DOCS= README.txt TODO
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|