Changeset View
Changeset View
Standalone View
Standalone View
head/math/saga/Makefile
# Created by: Rainer Hurling <rhurlin@gwdg.de> | # Created by: Rainer Hurling <rhurlin@gwdg.de> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= saga | PORTNAME= saga | ||||
PORTVERSION= 7.5.0 | PORTVERSION= 7.6.2 | ||||
PORTREVISION= 3 | |||||
CATEGORIES= math | CATEGORIES= math | ||||
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} | MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} | ||||
MAINTAINER= rhurlin@gwdg.de | MAINTAINER= rhurlin@gwdg.de | ||||
COMMENT= System for Automated Geoscientific Analyses | COMMENT= System for Automated Geoscientific Analyses | ||||
LICENSE= GPLv2 LGPL21 | LICENSE= GPLv2 LGPL21 | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
BUILD_DEPENDS= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \ | BUILD_DEPENDS= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \ | ||||
swig3.0:devel/swig30 | swig3.0:devel/swig30 | ||||
LIB_DEPENDS= libcurl.so:ftp/curl \ | LIB_DEPENDS= libcurl.so:ftp/curl \ | ||||
libfftw3.so:math/fftw3 \ | libfftw3.so:math/fftw3 \ | ||||
libgdal.so:graphics/gdal \ | libgdal.so:graphics/gdal \ | ||||
libhpdf.so:print/libharu \ | libhpdf.so:print/libharu \ | ||||
libjasper.so:graphics/jasper \ | libjasper.so:graphics/jasper \ | ||||
liblas12.so:devel/liblas12 \ | liblas12.so:devel/liblas12 \ | ||||
libodbc.so:databases/unixODBC \ | libodbc.so:databases/unixODBC \ | ||||
libopencv_core.so:graphics/opencv-core \ | libopencv_core.so:graphics/opencv-core \ | ||||
libopencv_ml.so:graphics/opencv \ | libopencv_ml.so:graphics/opencv \ | ||||
libpdal_base.so:math/pdal \ | |||||
libproj.so:graphics/proj \ | libproj.so:graphics/proj \ | ||||
libsvm.so:science/libsvm \ | libsvm.so:science/libsvm \ | ||||
libtbb.so:devel/tbb \ | libtbb.so:devel/tbb \ | ||||
libtiff.so:graphics/tiff | libtiff.so:graphics/tiff | ||||
RUN_DEPENDS:= swig3.0:devel/swig30 | RUN_DEPENDS:= swig3.0:devel/swig30 | ||||
USES= autoreconf compiler:c++11-lib dos2unix gnome \ | USES= autoreconf compiler:c++11-lib dos2unix gnome \ | ||||
iconv:wchar_t libtool localbase pkgconfig python | iconv:wchar_t libtool localbase pkgconfig python | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_WX= 3.1+ | USE_WX= 3.0+ | ||||
CONFIGURE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ | CONFIGURE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ | ||||
--enable-python --with-system-svm | --enable-python --with-system-svm | ||||
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0" | CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0" | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
DOS2UNIX_GLOB= *.cpp *.h | DOS2UNIX_GLOB= *.cpp *.h | ||||
PLIST_SUB= PORTVERSION=${PORTVERSION} | PLIST_SUB= PORTVERSION=${PORTVERSION} | ||||
OPTIONS_DEFINE= PGSQL OPENMP VIGRA | OPTIONS_DEFINE= PGSQL OPENMP VIGRA | ||||
OPTIONS_DEFAULT= PGSQL VIGRA | OPTIONS_DEFAULT= PGSQL VIGRA | ||||
OPTIONS_DEFAULT_amd64= OPENMP | OPTIONS_DEFAULT_amd64= OPENMP | ||||
OPTIONS_DEFAULT_i386= OPENMP | OPTIONS_DEFAULT_i386= OPENMP | ||||
NO_OPTIONS_SORT= yes | NO_OPTIONS_SORT= yes | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
OPENMP_DESC= Enable Multiprocessing (only amd64 and i386) | OPENMP_DESC= Enable Multiprocessing (only amd64 and i386) | ||||
VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library | VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library | ||||
OPENMP_CONFIGURE_ENABLE= openmp | OPENMP_CONFIGURE_ENABLE= openmp | ||||
PGSQL_CONFIGURE_WITH= pg | PGSQL_CONFIGURE_WITH= postgresql | ||||
PGSQL_USES= pgsql | PGSQL_USES= pgsql | ||||
VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra | VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra | ||||
VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra | VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
Show All 11 Lines | @${REINPLACE_CMD} -e 's|wx-config |${WX_CONFIG} |g' \ | ||||
${WRKSRC}/src/saga_core/saga_cmd/Makefile.am \ | ${WRKSRC}/src/saga_core/saga_cmd/Makefile.am \ | ||||
${WRKSRC}/src/saga_core/saga_gdi/Makefile.am \ | ${WRKSRC}/src/saga_core/saga_gdi/Makefile.am \ | ||||
${WRKSRC}/src/saga_core/saga_gui/Makefile.am \ | ${WRKSRC}/src/saga_core/saga_gui/Makefile.am \ | ||||
${WRKSRC}/src/tools/garden/garden_3d_viewer/Makefile.am \ | ${WRKSRC}/src/tools/garden/garden_3d_viewer/Makefile.am \ | ||||
${WRKSRC}/src/tools/garden/garden_webservices/Makefile.am \ | ${WRKSRC}/src/tools/garden/garden_webservices/Makefile.am \ | ||||
${WRKSRC}/src/tools/io/io_grid_image/Makefile.am \ | ${WRKSRC}/src/tools/io/io_grid_image/Makefile.am \ | ||||
${WRKSRC}/src/tools/io/io_shapes/Makefile.am \ | ${WRKSRC}/src/tools/io/io_shapes/Makefile.am \ | ||||
${WRKSRC}/src/tools/io/io_virtual/Makefile.am \ | ${WRKSRC}/src/tools/io/io_virtual/Makefile.am \ | ||||
${WRKSRC}/src/tools/io/io_webservices/Makefile.am \ | |||||
${WRKSRC}/src/tools/pointcloud/pointcloud_tools/Makefile.am \ | ${WRKSRC}/src/tools/pointcloud/pointcloud_tools/Makefile.am \ | ||||
${WRKSRC}/src/tools/pointcloud/pointcloud_viewer/Makefile.am \ | ${WRKSRC}/src/tools/pointcloud/pointcloud_viewer/Makefile.am \ | ||||
${WRKSRC}/src/tools/statistics/statistics_kriging/Makefile.am \ | ${WRKSRC}/src/tools/statistics/statistics_kriging/Makefile.am \ | ||||
${WRKSRC}/src/tools/tin/tin_viewer/Makefile.am | ${WRKSRC}/src/tools/tin/tin_viewer/Makefile.am | ||||
@${REINPLACE_CMD} -e 's|/usr/include/opencv|${LOCALBASE}/include/opencv ${LOCALBASE}/include|g' \ | @${REINPLACE_CMD} -e 's|/usr/include/opencv|${LOCALBASE}/include/opencv ${LOCALBASE}/include|g' \ | ||||
${WRKSRC}/src/tools/imagery/imagery_opencv/Makefile.am | ${WRKSRC}/src/tools/imagery/imagery_opencv/Makefile.am | ||||
post-patch: | post-patch: | ||||
Show All 33 Lines |