aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-05-18 00:37:26 +0800
committermiwi <miwi@FreeBSD.org>2014-05-18 00:37:26 +0800
commitf5af900166d13ddc46d29d39776ff7a29c2c2578 (patch)
treeebe72f27b9ab1a86f7c4689ed5c2abf28483e20c /devel
parent3227c5d93284e54158f17468e0ffc4d7dade019f (diff)
downloadfreebsd-ports-gnome-f5af900166d13ddc46d29d39776ff7a29c2c2578.tar.gz
freebsd-ports-gnome-f5af900166d13ddc46d29d39776ff7a29c2c2578.tar.zst
freebsd-ports-gnome-f5af900166d13ddc46d29d39776ff7a29c2c2578.zip
- Update to version 7.0.13
PR: 188356 Submitted by: Ports Fury
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-lacaml/Makefile38
-rw-r--r--devel/ocaml-lacaml/distinfo4
-rw-r--r--devel/ocaml-lacaml/pkg-descr1
3 files changed, 15 insertions, 28 deletions
diff --git a/devel/ocaml-lacaml/Makefile b/devel/ocaml-lacaml/Makefile
index 70aa7fdac4d9..11605101cc52 100644
--- a/devel/ocaml-lacaml/Makefile
+++ b/devel/ocaml-lacaml/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= lacaml
-PORTVERSION= 7.0.7
-PORTREVISION= 2
+PORTVERSION= 7.0.13
CATEGORIES= devel
MASTER_SITES= http://cdn.bitbucket.org/mmottl/lacaml/downloads/
PKGNAMEPREFIX= ocaml-
@@ -13,24 +12,24 @@ COMMENT= OCaml interface to BLAS and LAPACK libraries
LICENSE= LGPL21
-LIB_DEPENDS= blas:${PORTSDIR}/math/blas \
- lapack:${PORTSDIR}/math/lapack
-
-OPTIONS_DEFINE= DOCS EXAMPLES
+LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas \
+ liblapack.so:${PORTSDIR}/math/lapack
USE_OCAML= yes
USE_OCAML_FINDLIB=yes
USE_OCAMLFIND_PLIST=yes
USE_OCAML_LDCONFIG=yes
USE_OCAML_WASH= yes
+OCAMLFIND_LDCONF=ignore
+USES= fortran
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs --disable-examples \
--override conf_ccopt "${CFLAGS}" \
--override conf_cclib "${LDFLAGS:S,^.*[[:space:]],,}"
MAKE_JOBS_UNSAFE=yes
-CFLAGS+= -fPIC
+CFLAGS+= -fPIC -DEXTERNAL_EXP10
LDFLAGS+= -L${LOCALBASE}/lib -lblas -llapack
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
@@ -39,27 +38,16 @@ EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_DIRSTRY+= ${OCAML_DOCSDIR:S,^${PREFIX}/,,}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_DIRSTRY+= ${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,}
-.endif
+OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS.txt CHANGES.txt README.md TODO.md
- (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
+ ${STAGEDIR}${DOCSDIR})
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
+ ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
diff --git a/devel/ocaml-lacaml/distinfo b/devel/ocaml-lacaml/distinfo
index 9f1de949b6df..a07fbdc2a0ae 100644
--- a/devel/ocaml-lacaml/distinfo
+++ b/devel/ocaml-lacaml/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lacaml-7.0.7.tar.gz) = 9dc8bad78b4189330379313c230c8a6bf34cbba831329e92406cf2b1a2390462
-SIZE (lacaml-7.0.7.tar.gz) = 155345
+SHA256 (lacaml-7.0.13.tar.gz) = ccef3d0bd1b4607c9cffb84740200efbb9e6a85cff05a6c50e2c8d5176684fd9
+SIZE (lacaml-7.0.13.tar.gz) = 160403
diff --git a/devel/ocaml-lacaml/pkg-descr b/devel/ocaml-lacaml/pkg-descr
index 99e992064703..2bc19ef7a0ba 100644
--- a/devel/ocaml-lacaml/pkg-descr
+++ b/devel/ocaml-lacaml/pkg-descr
@@ -5,5 +5,4 @@ written in FORTRAN.
This allows people to write high-performance numerical code for
applications that need linear algebra.
-Author: Markus Mottl <markus.mottl@gmail.com>
WWW: https://bitbucket.org/mmottl/lacaml