diff options
author | araujo <araujo@FreeBSD.org> | 2012-12-20 13:37:46 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2012-12-20 13:37:46 +0800 |
commit | a70b37a1e4827404be1d5a1b58f4aab55c979516 (patch) | |
tree | 586cba3557cfa94fd17efeec8a7e1d757d664837 /devel/aifad | |
parent | 8450bdd2b87236f8e333f01825aea163cf831416 (diff) | |
download | freebsd-ports-gnome-a70b37a1e4827404be1d5a1b58f4aab55c979516.tar.gz freebsd-ports-gnome-a70b37a1e4827404be1d5a1b58f4aab55c979516.tar.zst freebsd-ports-gnome-a70b37a1e4827404be1d5a1b58f4aab55c979516.zip |
- Update to 2.0.2.
PR: ports/172223
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'devel/aifad')
-rw-r--r-- | devel/aifad/Makefile | 36 | ||||
-rw-r--r-- | devel/aifad/distinfo | 4 | ||||
-rw-r--r-- | devel/aifad/pkg-plist | 15 |
3 files changed, 21 insertions, 34 deletions
diff --git a/devel/aifad/Makefile b/devel/aifad/Makefile index 587a4c7b5fbd..62de324e6663 100644 --- a/devel/aifad/Makefile +++ b/devel/aifad/Makefile @@ -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> diff --git a/devel/aifad/distinfo b/devel/aifad/distinfo index 8e1f20c39ae5..6a0f9daf506a 100644 --- a/devel/aifad/distinfo +++ b/devel/aifad/distinfo @@ -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 diff --git a/devel/aifad/pkg-plist b/devel/aifad/pkg-plist deleted file mode 100644 index b76d0fae7771..000000000000 --- a/devel/aifad/pkg-plist +++ /dev/null @@ -1,15 +0,0 @@ -bin/aifad -%%PORTDOCS%%%%DOCSDIR%%/README.txt -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%EXAMPLESDIR%%/OMakefile -%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer1.add -%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer1.ads -%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer2.add -%%PORTDOCS%%%%EXAMPLESDIR%%/breast_cancer2.ads -%%PORTDOCS%%%%EXAMPLESDIR%%/c45.data -%%PORTDOCS%%%%EXAMPLESDIR%%/c45.names -%%PORTDOCS%%%%EXAMPLESDIR%%/large.ads -%%PORTDOCS%%%%EXAMPLESDIR%%/test.add -%%PORTDOCS%%%%EXAMPLESDIR%%/test.ads -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% |