1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

1: Stagify.

2: USES=libtool, bump version.
3: new syntax of LIB_DEPENDS.

Approved by:	portmgr@
This commit is contained in:
Vanilla I. Shu 2014-06-18 16:16:40 +00:00
parent 926a215156
commit 9cecd2ea12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358285
2 changed files with 7 additions and 8 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libtsnnls
PORTVERSION= 2.3.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= math
MASTER_SITES= http://www.jasoncantarella.com/downloads/
@ -11,7 +11,7 @@ MAINTAINER= tzhuan@gmail.com
COMMENT= Fast Sparse Nonnegative Least Squares Solver
GNU_CONFIGURE= yes
USES= fortran
USES= fortran libtool
USE_LDCONFIG= yes
OPTIONS_DEFINE= GOTOBLAS ATLAS
@ -19,7 +19,6 @@ GOTOBLAS_DESC= Use gotoblas (conflict with USE_ATLAS)
ATLAS_DESC= Use atlas (conflict with USE_GOTOBLAS)
# DMALLOC "Use dmalloc" off
NO_STAGE= yes
.include <bsd.port.options.mk>
WITH_BLAS=reference
@ -36,16 +35,16 @@ WITH_BLAS=atlas
#.endif
.if ${WITH_BLAS} == reference
LIB_DEPENDS+=blas.2:${PORTSDIR}/math/blas
LIB_DEPENDS+=lapack.4:${PORTSDIR}/math/lapack
LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
BLAS=-lblas
LAPACK=-llapack
.elif ${WITH_BLAS} == gotoblas
LIB_DEPENDS+=goto2:${PORTSDIR}/math/gotoblas
LIB_DEPENDS+= libgoto2.so:${PORTSDIR}/math/gotoblas
BLAS=-lgoto2p
LAPACK=-lgoto2p
.elif ${WITH_BLAS} == atlas
LIB_DEPENDS+=atlas:${PORTSDIR}/math/atlas
LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
BLAS=-lptf77blas
LAPACK=-lalapack -lptcblas
.endif

View File

@ -7,8 +7,8 @@ include/libtsnnls/taucs_basic/taucs_config_build.h
include/libtsnnls/taucs_basic/taucs_config_tests.h
include/libtsnnls/taucs_basic/taucs_private.h
lib/libtsnnls.a
lib/libtsnnls.la
lib/libtsnnls.so
lib/libtsnnls.so.0
lib/libtsnnls.so.0.0.0
@dirrm include/libtsnnls/taucs_basic
@dirrm include/libtsnnls