From 51d04637cb2aa7e77e78d6b7de91125251405083 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Tue, 2 Jan 2018 16:49:24 +0000 Subject: New USES=eigen Usage: USES=eigen:[,] 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 --- science/avogadro/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'science/avogadro') 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 -- cgit v1.2.3