ports/math/ocamlgsl/Makefile
Tijl Coosemans c0f51fae12 math/gsl:
- Add USES=libtool and bump dependent ports
- Add USES=pathfix and INSTALL_TARGET=install-strip

Approved by:	portmgr (implicit, bump unstage port)
2014-08-17 13:09:56 +00:00

36 lines
877 B
Makefile

# Created by: Klaus T. Aehlig <aehlig@linta.de>
# $FreeBSD$
PORTNAME= ocaml-gsl
PORTVERSION= 1.15.1
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://bitbucket.org/mmottl/gsl-ocaml/downloads/
DISTNAME= gsl-ocaml-${PORTVERSION}
MAINTAINER= michipili@gmail.com
COMMENT= Interface to GSL for the Objective Caml language
LICENSE= GPLv3
LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk \
${OCAMLC_DEPEND}
RUN_DEPENDS= ocamlfind:${PORTSDIR}/devel/ocaml-findlib
USES= gmake
USE_OCAML= YES
USE_OCAML_FINDLIB= YES
USE_OCAML_LDCONFIG= YES
HAS_CONFIGURE= YES
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/gsl-ocaml-${PORTVERSION}
OPTIONS_DEFINE= DOCS
post-configure:
@${ECHO_CMD} 'stagedir="${STAGEDIR}"' >> ${WRKSRC}/setup.data
@${ECHO_CMD} 'docdir="$$datarootdir/doc/ocaml/$$pkg_name"' >> ${WRKSRC}/setup.data
.include <bsd.port.mk>