blob: 2b3050fd988e68b86aa4fb3475179e78e3d89807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= librsb
PORTVERSION= 1.3.0.2
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF/librsb
DISTNAME= ${PORTNAME}-${PORTVERSION:S/r/-rc/}
MAINTAINER= stephen@FreeBSD.org
COMMENT= Sparse matrix library
WWW= http://librsb.sourceforge.net/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gsed:textproc/gsed \
bash:shells/bash
USES= fortran gmake libtool shebangfix
INSTALL_TARGET= install-strip
TEST_TARGET= qtests
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
LDFLAGS+= -lthr
SHEBANG_FILES= *.sh */*.sh
OPTIONS_DEFINE= DOCS OPTIMIZE
OPTIMIZE_DESC= Optimize for the local machine
OPTIMIZE_CONFIGURE_ENV= SPCFLAGS="${CFLAGS:N-O*}"
post-patch:
@${REINPLACE_CMD} -E s/sed/gsed/g ${WRKSRC}/*.sh ${WRKSRC}/*/*.sh
post-patch-OPTIMIZE-on:
@${REINPLACE_CMD} s/enable_optimize=no/enable_optimize=yes/ \
${WRKSRC}/configure
.include <bsd.port.mk>
|