Index: head/science/orthanc/Makefile =================================================================== --- head/science/orthanc/Makefile (revision 394396) +++ head/science/orthanc/Makefile (revision 394397) @@ -1,94 +1,91 @@ # Created by: mp39590@gmail.com # $FreeBSD$ PORTNAME= orthanc -PORTVERSION= 0.9.1 +PORTVERSION= 0.9.3 CATEGORIES= science graphics net www MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/orthanc/:main \ http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/:mongoose DISTFILES= Orthanc-${PORTVERSION}.tar.gz:main \ mongoose-3.8.tgz:mongoose DIST_SUBDIR= ${PORTNAME} MAINTAINER= mp39590@gmail.com COMMENT= RESTful DICOM server for healthcare and medical research # GPLv3 license, with the OpenSSL exception. LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gtest-config:${PORTSDIR}/devel/googletest LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libjsoncpp.so:${PORTSDIR}/devel/jsoncpp \ libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \ - libglog.so:${PORTSDIR}/devel/glog \ libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libboost_system.so:${PORTSDIR}/devel/boost-libs \ libboost_date_time.so:${PORTSDIR}/devel/boost-libs \ libboost_regex.so:${PORTSDIR}/devel/boost-libs \ libboost_locale.so:${PORTSDIR}/devel/boost-libs \ libdcmdsig.so:${PORTSDIR}/devel/dcmtk \ libcharls.so:${PORTSDIR}/devel/dcmtk \ libdcmjpls.so:${PORTSDIR}/devel/dcmtk \ libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libpugixml.so:${PORTSDIR}/textproc/pugixml CMAKE_ARGS= -DDCMTK_LIBRARIES="dcmdsig;charls;dcmjpls" \ -DDCMTK_DICTIONARY_DIR="${LOCALBASE}/share/dcmtk" \ -DUSE_SYSTEM_MONGOOSE=OFF \ -DUNIT_TESTS_WITH_HTTP_CONNEXIONS=OFF USES= cmake:outsource python:build lua:51 dos2unix DOS2UNIX_FILES= CMakeLists.txt USE_LDCONFIG= yes USE_OPENSSL= yes USE_RC_SUBR= orthanc WRKSRC= ${WRKDIR}/Orthanc-${PORTVERSION} USERS= orthanc GROUPS= orthanc # This is mongoose sources, downloaded from Orthanc author homepage. Orthanc # requires mongoose webserver, but after version 3.8, mongoose developers has # changed the license from MIT to GPLv2 only. This action made illegal to # combine new mongoose versions with GPLv3 only Orthanc. # We download sources manually and pass USE_SYSTEM_MONGOOSE=OFF to Orthanc # cmake variables to tell that mongoose is not presented on the host OS and # should be build together with the software instead. # https://www.mail-archive.com/mongoose-users@googlegroups.com/msg00625.html -post-extract: +post-patch: ${MKDIR} ${WRKSRC}/ThirdPartyDownloads ${CP} ${DISTDIR}/${DIST_SUBDIR}/mongoose-3.8.tgz ${WRKSRC}/ThirdPartyDownloads # Orthanc hardcodes /usr/local paths for libs and includes. - ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/Compiler.cmake - ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/JsonCppConfiguration.cmake - ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/SQLiteConfiguration.cmake + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake # There is no way to disable building of test units without a patch, on other # hand it brings only one build dependency (devel/googletest) and running it was # helpful in early bug detection in Debian. # Some tests require connections to be made to the outside world, this is # definitely unsupported behaviour and therefor those tests are disabled with # cmake variable above (-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=OFF). post-build: @cd ${BUILD_WRKSRC} && ./UnitTests post-install: ${MKDIR} ${STAGEDIR}/var/db/orthanc/db/db-v5 ${MKDIR} ${STAGEDIR}${DATADIR}/plugins ${MKDIR} ${STAGEDIR}${ETCDIR} ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Resources/Configuration.json ${CP} ${WRKSRC}/Resources/Configuration.json ${STAGEDIR}${ETCDIR}/orthanc.json.sample ${STRIP_CMD} ${STAGEDIR}${DATADIR}/plugins/libServeFolders.so.${PORTVERSION} .include .if ${OSVERSION} < 1001000 IGNORE= supported only on 10.1 by upstream, not all unit tests are passed .endif .if ${OSVERSION} > 1100000 BROKEN= unit tests are crashing, bug 200544 .endif .include Index: head/science/orthanc/distinfo =================================================================== --- head/science/orthanc/distinfo (revision 394396) +++ head/science/orthanc/distinfo (revision 394397) @@ -1,4 +1,4 @@ -SHA256 (orthanc/Orthanc-0.9.1.tar.gz) = 96849183714c4d79feaf698be2efbd42c82e0c4b3d9103e237a0e1c7b138967e -SIZE (orthanc/Orthanc-0.9.1.tar.gz) = 687249 +SHA256 (orthanc/Orthanc-0.9.3.tar.gz) = b0cfa7223c038d5ba13b823531da40e0edcec57105bd84ed36294f09aef4d0f3 +SIZE (orthanc/Orthanc-0.9.3.tar.gz) = 675679 SHA256 (orthanc/mongoose-3.8.tgz) = 6afc2c377614a01a24b78560a62d1316b29372afe08eae3715b56c877be71c6e SIZE (orthanc/mongoose-3.8.tgz) = 1577314 Index: head/science/orthanc/pkg-plist =================================================================== --- head/science/orthanc/pkg-plist (revision 394396) +++ head/science/orthanc/pkg-plist (revision 394397) @@ -1,16 +1,16 @@ @owner orthanc @group orthanc @mode 700 @dir %%DATADIR%%/plugins @dir /var/db/orthanc/db/db-v5 @dir /var/db/orthanc/db @dir /var/db/orthanc @mode 600 @sample %%ETCDIR%%/orthanc.json.sample @mode include/orthanc/OrthancCDatabasePlugin.h include/orthanc/OrthancCPlugin.h include/orthanc/OrthancCppDatabasePlugin.h %%DATADIR%%/plugins/libServeFolders.so -%%DATADIR%%/plugins/libServeFolders.so.0.9.1 +%%DATADIR%%/plugins/libServeFolders.so.0.9.3 sbin/Orthanc