freebsd-ports/math/librsb/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

39 lines
884 B
Makefile

# Created by: stephen@FreeBSD.org
# $FreeBSD$
PORTNAME= librsb
PORTVERSION= 1.2.0r7
PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= SF/librsb
DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-rc/}
MAINTAINER= stephen@FreeBSD.org
COMMENT= Sparse matrix library
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsed:textproc/gsed \
bash:shells/bash
USES= fortran compiler:openmp gmake shebangfix libtool
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
CFLAGS+= -fPIC
CONFIGURE_ARGS= --enable-fortran-module-install \
--enable-matrix-types="double, double complex"
SHEBANG_FILES= scripts/*.sh
USE_LDCONFIG= yes
MANUAL_PACKAGE_BUILD= Optimizes for the local machine
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -E s/sed/gsed/g ${WRKSRC}/scripts/*.sh
check regression-test test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} qtests
.include <bsd.port.mk>