svn commit: r398704 - in head/science: . orthanc-dicomweb

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Oct 6 15:54:50 UTC 2015


Author: amdmi3
Date: Tue Oct  6 15:54:48 2015
New Revision: 398704
URL: https://svnweb.freebsd.org/changeset/ports/398704

Log:
  This plugin extends the RESTful API of Orthanc with WADO and DICOMweb
  support.
  
  WWW: http://www.orthanc-server.com/
  
  PR:		202816
  Submitted by:	mp39590 at gmail.com

Added:
  head/science/orthanc-dicomweb/
  head/science/orthanc-dicomweb/Makefile   (contents, props changed)
  head/science/orthanc-dicomweb/distinfo   (contents, props changed)
  head/science/orthanc-dicomweb/pkg-descr   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Tue Oct  6 15:37:31 2015	(r398703)
+++ head/science/Makefile	Tue Oct  6 15:54:48 2015	(r398704)
@@ -98,6 +98,7 @@
     SUBDIR += openbabel
     SUBDIR += openkim
     SUBDIR += orthanc
+    SUBDIR += orthanc-dicomweb
     SUBDIR += orthanc-postgresql
     SUBDIR += orthanc-webviewer
     SUBDIR += p5-Algorithm-SVMLight

Added: head/science/orthanc-dicomweb/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/orthanc-dicomweb/Makefile	Tue Oct  6 15:54:48 2015	(r398704)
@@ -0,0 +1,45 @@
+# Created by: mp39590 at 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 at 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>

Added: head/science/orthanc-dicomweb/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/orthanc-dicomweb/distinfo	Tue Oct  6 15:54:48 2015	(r398704)
@@ -0,0 +1,2 @@
+SHA256 (orthanc/OrthancDicomWeb-0.1.tar.gz) = c9f1a7c2873b157b434947d6b0bffe2d92cc94f5678c170b05bd702b969617f7
+SIZE (orthanc/OrthancDicomWeb-0.1.tar.gz) = 112788

Added: head/science/orthanc-dicomweb/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/orthanc-dicomweb/pkg-descr	Tue Oct  6 15:54:48 2015	(r398704)
@@ -0,0 +1,4 @@
+This plugin extends the RESTful API of Orthanc with WADO and DICOMweb
+support.
+
+WWW: http://www.orthanc-server.com/


More information about the svn-ports-head mailing list