1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

This plugin extends the RESTful API of Orthanc with WADO and DICOMweb

support.

WWW: http://www.orthanc-server.com/

PR:		202816
Submitted by:	mp39590@gmail.com
This commit is contained in:
Dmitry Marakasov 2015-10-06 15:54:48 +00:00
parent 359485df12
commit 5047373969
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398704
4 changed files with 52 additions and 0 deletions

View File

@ -98,6 +98,7 @@
SUBDIR += openbabel
SUBDIR += openkim
SUBDIR += orthanc
SUBDIR += orthanc-dicomweb
SUBDIR += orthanc-postgresql
SUBDIR += orthanc-webviewer
SUBDIR += p5-Algorithm-SVMLight

View File

@ -0,0 +1,45 @@
# Created by: mp39590@gmail.com
# $FreeBSD$
PORTNAME= orthanc-dicomweb
PORTVERSION= 0.1
CATEGORIES= science net
MASTER_SITES= http://orthanc-server.com/downloads/get.php?path=/plugin-dicom-web/
DISTNAME= OrthancDicomWeb-${PORTVERSION}
DIST_SUBDIR= orthanc
MAINTAINER= mp39590@gmail.com
COMMENT= WADO and DICOMweb support for Orthanc
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:${PORTSDIR}/science/orthanc \
gtest-config:${PORTSDIR}/devel/googletest
LIB_DEPENDS= libgdcmCommon.so:${PORTSDIR}/devel/gdcm \
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 \
libjsoncpp.so:${PORTSDIR}/devel/jsoncpp \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
libpugixml.so:${PORTSDIR}/textproc/pugixml
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= cmake:outsource python:build
WRKSRC= ${WRKDIR}/OrthancDicomWeb-${PORTVERSION}
PLIST_FILES= share/orthanc/plugins/libOrthancDicomWeb.so \
share/orthanc/plugins/libOrthancDicomWeb.so.${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Orthanc/Resources/CMake/*.cmake
do-test:
@cd ${BUILD_WRKSRC} && ./UnitTests
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (orthanc/OrthancDicomWeb-0.1.tar.gz) = c9f1a7c2873b157b434947d6b0bffe2d92cc94f5678c170b05bd702b969617f7
SIZE (orthanc/OrthancDicomWeb-0.1.tar.gz) = 112788

View File

@ -0,0 +1,4 @@
This plugin extends the RESTful API of Orthanc with WADO and DICOMweb
support.
WWW: http://www.orthanc-server.com/