[137932] trunk/dports/graphics
Lawrence Velázquez
larryv at macports.org
Tue Jun 23 09:05:22 PDT 2015
Is this functional? I've been meaning to update the current InsightToolkit port (because it doesn't build and still uses Python 2.5), but it's kind of a disaster. Can we just replace it with this?
vq
> On Jun 23, 2015, at 6:13 AM, stromnov at macports.org wrote:
>
> Revision
> 137932 <https://trac.macports.org/changeset/137932>Author
> stromnov at macports.org <mailto:stromnov at macports.org>Date
> 2015-06-23 03:13:39 -0700 (Tue, 23 Jun 2015)
> Log Message
>
> InsightToolkit-devel: new port
> Added Paths
>
> trunk/dports/graphics/InsightToolkit-devel/
> trunk/dports/graphics/InsightToolkit-devel/Portfile <x-msg://53/#trunkdportsgraphicsInsightToolkitdevelPortfile>
> trunk/dports/graphics/InsightToolkit-devel/files/
> trunk/dports/graphics/InsightToolkit-devel/files/patch-CMakeLists.txt.diff <x-msg://53/#trunkdportsgraphicsInsightToolkitdevelfilespatchCMakeListstxtdiff>
> Diff
>
> <>Added: trunk/dports/graphics/InsightToolkit-devel/Portfile (0 => 137932)
>
> --- trunk/dports/graphics/InsightToolkit-devel/Portfile (rev 0)
> +++ trunk/dports/graphics/InsightToolkit-devel/Portfile 2015-06-23 10:13:39 UTC (rev 137932)
> @@ -0,0 +1,78 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem 1.0
> +PortGroup cmake 1.0
> +
> +name InsightToolkit-devel
> +version 4.7.2
> +revision 0
> +categories graphics devel
> +platforms darwin
> +license Apache
> +
> +maintainers stromnov openmaintainer
> +
> +description Insight Segmentation and Registration Toolkit (ITK)
> +
> +long_description Insight Segmentation and Registration Toolkit (ITK) \
> + is an open-source, cross-platform system that provides \
> + developers with an extensive suite of software tools \
> + for image analysis.
> +
> +homepage http://www.itk.org <http://www.itk.org/>
> +master_sites sourceforge:itk
> +
> +distname InsightToolkit-${version}
> +
> +checksums rmd160 b3d6fe5338008795f7d1bb58398385fb09b20cdd \
> + sha256 5aa385cc45ceff45c3265557d1b1bae4c3351d443c1e9ec19dfc110966786a91
> +
> +patchfiles-append patch-CMakeLists.txt.diff
> +
> +cmake.out_of_source yes
> +
> +depends_build-append \
> + port:gccxml-devel \
> + port:swig
> +
> +depends_lib-append port:dcmtk \
> + port:expat \
> + port:fftw-3 \
> + port:hdf5 \
> + port:jpeg \
> + port:minc \
> + port:libpng \
> + port:tiff \
> + port:vxl \
> + port:zlib
> +
> +configure.args-append \
> + -DITK_FORBID_DOWNLOADS:BOOL=ON \
> + -DITK_WRAP_PYTHON:BOOL=OFF \
> + -DBUILD_SHARED_LIBS:BOOL=ON \
> + -DBUILD_EXAMPLES:BOOL=OFF \
> + -DVXL_DIR=${prefix}/share/vxl/cmake \
> + -DITK_USE_GPU:BOOL=ON \
> + -DITK_USE_SYSTEM_DCMTK:BOOL=ON \
> + -DITK_USE_SYSTEM_DOUBLECONVERSION:BOOL=OFF \
> + -DITK_USE_SYSTEM_EXPAT:BOOL=ON \
> + -DITK_USE_SYSTEM_FFTW:BOOL=ON \
> + -DITK_USE_SYSTEM_GCCXML:BOOL=ON \
> + -DITK_USE_SYSTEM_GDCM:BOOL=OFF \
> + -DITK_USE_SYSTEM_HDF:BOOL=ON \
> + -DITK_USE_SYSTEM_JPEG:BOOL=ON \
> + -DITK_USE_SYSTEM_MINC:BOOL=ON \
> + -DITK_USE_SYSTEM_PNG:BOOL=ON \
> + -DITK_USE_SYSTEM_SWIG:BOOL=ON \
> + -DITK_USE_SYSTEM_SZIP:BOOL=ON \
> + -DITK_USE_SYSTEM_TIFF:BOOL=ON \
> + -DITK_USE_SYSTEM_VXL:BOOL=ON \
> + -DITK_USE_SYSTEM_ZLIB:BOOL=ON
> +
> +configure.ldflags-append \
> + -L${prefix}/lib/vxl
> +
> +livecheck.type regex
> +livecheck.url http://www.itk.org/ITK/resources/software.html <http://www.itk.org/ITK/resources/software.html>
> +livecheck.regex {InsightToolkit-(\d+(?:\.\d+)*)\.[tz]}
> Property changes on: trunk/dports/graphics/InsightToolkit-devel/Portfile
> ___________________________________________________________________
> <>Added: svn:keywords
> <>Added: svn:eol-style
> <>Added: trunk/dports/graphics/InsightToolkit-devel/files/patch-CMakeLists.txt.diff (0 => 137932)
>
> --- trunk/dports/graphics/InsightToolkit-devel/files/patch-CMakeLists.txt.diff (rev 0)
> +++ trunk/dports/graphics/InsightToolkit-devel/files/patch-CMakeLists.txt.diff 2015-06-23 10:13:39 UTC (rev 137932)
> @@ -0,0 +1,8 @@
> +--- CMakeLists.txt.orig 2015-06-21 22:26:10.000000000 +0300
> ++++ CMakeLists.txt 2015-06-21 22:26:27.000000000 +0300
> +@@ -452,4 +452,4 @@
> +
> + # Create target to download data from the ITKData group. This must come after
> + # all tests have been added that reference the group, so we put it last.
> +-ExternalData_Add_Target(ITKData)
> ++# ExternalData_Add_Target(ITKData)
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150623/07754512/attachment-0001.html>
More information about the macports-dev
mailing list