Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2012 05:37:46 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309281 - head/devel/aifad
Message-ID:  <201212200537.qBK5bkD0079118@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Thu Dec 20 05:37:46 2012
New Revision: 309281
URL: http://svnweb.freebsd.org/changeset/ports/309281

Log:
  - Update to 2.0.2.
  
  PR:		ports/172223
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Deleted:
  head/devel/aifad/pkg-plist
Modified:
  head/devel/aifad/Makefile   (contents, props changed)
  head/devel/aifad/distinfo   (contents, props changed)

Modified: head/devel/aifad/Makefile
==============================================================================
--- head/devel/aifad/Makefile	Thu Dec 20 05:35:39 2012	(r309280)
+++ head/devel/aifad/Makefile	Thu Dec 20 05:37:46 2012	(r309281)
@@ -2,40 +2,42 @@
 # $FreeBSD$
 
 PORTNAME=	aifad
-PORTVERSION=	1.1.0
-PORTREVISION=	1
+PORTVERSION=	2.0.2
 CATEGORIES=	devel
 MASTER_SITES=	http://cdn.bitbucket.org/mmottl/aifad/downloads/
 
 MAINTAINER=	ports@FreeBSD.org
 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 \
-		omake:${PORTSDIR}/devel/omake	\
-		menhir:${PORTSDIR}/devel/menhir
+LICENSE=	GPLv3
 
+BUILD_DEPENDS=	menhir:${PORTSDIR}/devel/menhir \
+		ocaml-cfg>0:${PORTSDIR}/devel/ocaml-cfg \
+		ocaml-pcre>0:${PORTSDIR}/devel/ocaml-pcre \
+		ocaml-res>0:${PORTSDIR}/devel/ocaml-res
 LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 
 USE_OCAML=	yes
 NO_OCAML_RUNDEPENDS=yes
 
-SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix ${PREFIX}
 
-DOCS=	README.txt TODO
-
-.include <bsd.port.pre.mk>
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
+PORTDOCS=	*
+PORTEXAMPLES=	*
+PLIST_FILES=	bin/${PORTNAME}
 
 post-install:
+	@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
+.for i in AUTHORS.txt CHANGES.txt README.md TODO.md
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+.endfor
+.endif
+.if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}/
+	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR})
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/aifad/distinfo
==============================================================================
--- head/devel/aifad/distinfo	Thu Dec 20 05:35:39 2012	(r309280)
+++ head/devel/aifad/distinfo	Thu Dec 20 05:37:46 2012	(r309281)
@@ -1,2 +1,2 @@
-SHA256 (aifad-1.1.0.tar.gz) = dca0a00dd7550bfc8244659d31c4f08f6b5bd8dd7d0e06439621cc3f4fb35b99
-SIZE (aifad-1.1.0.tar.gz) = 70085
+SHA256 (aifad-2.0.2.tar.gz) = c265614a2dcc893eaab7e559cd8a6b446e09d3262974bb7e01b3c453c80356a8
+SIZE (aifad-2.0.2.tar.gz) = 103080



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212200537.qBK5bkD0079118>