diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-01-02 16:49:24 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-01-02 16:49:24 +0000 |
commit | 51d04637cb2aa7e77e78d6b7de91125251405083 (patch) | |
tree | fefd75a0b797bfd5f2fbecc832b9a94f740ee983 /science/avogadro | |
parent | a3cc859109302e74945b2f3684edfd3e5c434fdc (diff) |
New USES=eigen
Usage:
USES=eigen:<version>[,<type>]
version: 2 or 3 (required)
type: build (default), run
For example:
USES=eigen:2,build,run
will add a BUILD- and RUN_DEPENDS on math/eigen2, and
USES=eigen:3
will add a BUILD_DEPENDS on math/eigen3.
* Convert the existing ports to use it
- biology/iqtree: remove run time dependency (seemed not to be needed)
- graphics/movit: remove run time dependency (seemed not to be needed)
- science/avogadro: add run time dependeny (installed cmake file requires it to be present)
Reviewed by: rakuco, mat
Differential Revision: https://reviews.freebsd.org/D13702
Notes
Notes:
svn path=/head/; revision=457914
Diffstat (limited to 'science/avogadro')
-rw-r--r-- | science/avogadro/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/science/avogadro/Makefile b/science/avogadro/Makefile index 9cbc8598882d..bd3a2e4a2e3b 100644 --- a/science/avogadro/Makefile +++ b/science/avogadro/Makefile @@ -3,7 +3,7 @@ PORTNAME= avogadro PORTVERSION= 1.1.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= science MASTER_SITES= SF @@ -13,10 +13,11 @@ COMMENT= Advanced molecular editor and viewer LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= eigen2>2:math/eigen2 LIB_DEPENDS= libopenbabel.so:science/openbabel -USES= cmake desktop-file-utils pkgconfig tar:bzip2 +# We need to add a RUN_DEPENDS on eigen2, as the cmake file shiped with +# avogadro to use it, contains 'find_package(Eigen2 REQUIRED)'. +USES= cmake desktop-file-utils eigen:2,build,run pkgconfig tar:bzip2 USE_GL= glu gl USE_QT4= gui network opengl \ linguisttools_build moc_build qmake_build rcc_build uic_build |