diff options
author | beech <beech@FreeBSD.org> | 2011-07-17 01:10:27 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2011-07-17 01:10:27 +0800 |
commit | 55c8e83f041169594c01ffbcc998a4cc31d4e879 (patch) | |
tree | 4a2b846af2b61d5d8fcb7a547b616e55296b0754 /math | |
parent | 6baf2cbeabc25d0c046199f718912e25dcb02be9 (diff) | |
download | freebsd-ports-gnome-55c8e83f041169594c01ffbcc998a4cc31d4e879.tar.gz freebsd-ports-gnome-55c8e83f041169594c01ffbcc998a4cc31d4e879.tar.zst freebsd-ports-gnome-55c8e83f041169594c01ffbcc998a4cc31d4e879.zip |
- Add support for graphics/vigra
PR: ports/158952
Submitted by: Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Diffstat (limited to 'math')
-rw-r--r-- | math/saga/Makefile | 13 | ||||
-rw-r--r-- | math/saga/pkg-plist | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/math/saga/Makefile b/math/saga/Makefile index f4bfef977213..d83a7111c2f3 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -7,7 +7,7 @@ PORTNAME= saga PORTVERSION= 2.0.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -38,7 +38,8 @@ DESKTOP_ENTRIES= "SAGA GIS" "${COMMENT}" "${DATADIR}/saga_icon_32.xpm" \ OPTIONS= UNICODE "Enable Unicode Support" On \ PYTHON "Enable Python bindings" On \ - HARU "Enable Haru Free PDF Library (optional)" Off + HARU "Enable Haru Free PDF Library (optional)" Off \ + VIGRA "Enable 'Vision with Generic Algorithms' Library" Off .include <bsd.port.options.mk> @@ -69,6 +70,14 @@ PLIST_SUB+= HARU="" PLIST_SUB+= HARU="@comment " .endif +.if defined(WITH_VIGRA) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libvigraimpex.so:${PORTSDIR}/graphics/vigra +RUN_DEPENDS+= ${LOCALBASE}/lib/libvigraimpex.so:${PORTSDIR}/graphics/vigra +PLIST_SUB+= VIGRA="" +.else +PLIST_SUB+= VIGRA="@comment " +.endif + .include <bsd.port.pre.mk> post-patch: diff --git a/math/saga/pkg-plist b/math/saga/pkg-plist index f46e829e1d0b..500420ee384e 100644 --- a/math/saga/pkg-plist +++ b/math/saga/pkg-plist @@ -138,6 +138,8 @@ lib/saga/libtin_viewer.la lib/saga/libtin_viewer.so lib/saga/libtransect.la lib/saga/libtransect.so +%%VIGRA%%lib/saga/libvigra.la +%%VIGRA%%lib/saga/libvigra.so share/saga/saga_icon_32.xpm share/saga/saga_tip.txt @dirrm share/saga |