Changeset View
Changeset View
Standalone View
Standalone View
science/InsightToolkit/Makefile
# Created by: bacon@smithers.neuro.mcw.edu | # Created by: bacon@smithers.neuro.mcw.edu | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= InsightToolkit | PORTNAME= InsightToolkit | ||||
PORTVERSION= 4.9.1 | PORTVERSION= 4.10.0 | ||||
CATEGORIES= science biology | CATEGORIES= science biology | ||||
MASTER_SITES= SF/itk/itk/4.9 | MASTER_SITES= SF/itk/itk/${ITK_VER} | ||||
MAINTAINER= woodsb02@FreeBSD.org | MAINTAINER= woodsb02@FreeBSD.org | ||||
COMMENT= Insight Toolkit | COMMENT= Insight Toolkit | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo \ | LIB_DEPENDS= libturbojpeg.so:graphics/libjpeg-turbo \ | ||||
adamw: If you've added `USES=jpeg`, can you remove this line? | |||||
woodsb02AuthorUnsubmitted Done Inline ActionsOh yes, absolutely. That is interesting that I had that line in there and the stage-qa still warned I needed to add the link. I guess because it is linking to a different library. ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/libITKIOHDF5-4.10.so.1 is linked to /usr/local/lib/libsz.so.2 from science/szip but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libsz.so:science/szip Error: /usr/local/lib/libITKIOJPEG-4.10.so.1 is linked to /usr/local/lib/libjpeg.so.8 from graphics/jpeg-turbo but it is not declared as a dependency Warning: you need USES+=jpeg woodsb02: Oh yes, absolutely. That is interesting that I had that line in there and the stage-qa still… | |||||
libgdcmCommon.so:devel/gdcm \ | libgdcmCommon.so:devel/gdcm \ | ||||
libexpat.so:textproc/expat2 \ | libexpat.so:textproc/expat2 \ | ||||
libfftw.so:math/fftw \ | libfftw.so:math/fftw \ | ||||
libhdf5.so:science/hdf5 \ | libhdf5.so:science/hdf5 \ | ||||
libpng.so:graphics/png \ | libpng.so:graphics/png \ | ||||
libsz.so:science/szip \ | |||||
libtiff.so:graphics/tiff | libtiff.so:graphics/tiff | ||||
USES= cmake:outsource | USES= cmake:outsource jpeg | ||||
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ | CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ | ||||
-DITK_USE_KWSTYLE:BOOL=OFF \ | -DITK_USE_KWSTYLE:BOOL=OFF \ | ||||
-DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \ | -DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_EXPAT:BOOL=ON \ | -DITK_USE_SYSTEM_EXPAT:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_FFTW:BOOL=ON \ | -DITK_USE_SYSTEM_FFTW:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_GDCM:BOOL=ON \ | -DITK_USE_SYSTEM_GDCM:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_HDF5:BOOL=ON \ | -DITK_USE_SYSTEM_HDF5:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_JPEG:BOOL=ON \ | -DITK_USE_SYSTEM_JPEG:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_PNG:BOOL=ON \ | -DITK_USE_SYSTEM_PNG:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_TIFF:BOOL=ON \ | -DITK_USE_SYSTEM_TIFF:BOOL=ON \ | ||||
-DITK_USE_SYSTEM_ZLIB:BOOL=ON | -DITK_USE_SYSTEM_ZLIB:BOOL=ON | ||||
USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit | USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit | ||||
ITK_VER= ${PORTVERSION:R} | |||||
PLIST_SUB+= ITK_VER=${ITK_VER} | |||||
Not Done Inline ActionsWith > 8,000 lines that would need to be updated at the next minor bump, this is a really good call! adamw: With > 8,000 lines that would need to be updated at the next minor bump, this is a really good… | |||||
OPTIONS_DEFINE= EXAMPLES TESTING | OPTIONS_DEFINE= EXAMPLES TESTING | ||||
EXAMPLES_DESC= Build examples (very time consuming) | EXAMPLES_DESC= Build examples (very time consuming) | ||||
TESTING_DESC= Build testing programs (very time consuming) | TESTING_DESC= Build testing programs (very time consuming) | ||||
EXAMPLES_CMAKE_ON= -DBUILD_EXAMPLES:BOOL=ON | EXAMPLES_CMAKE_ON= -DBUILD_EXAMPLES:BOOL=ON | ||||
TESTING_CMAKE_ON= -DBUILD_TESTING:BOOL=ON | TESTING_CMAKE_ON= -DBUILD_TESTING:BOOL=ON | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
If you've added USES=jpeg, can you remove this line?