View | Details | Raw Unified | Return to bug 242549 | Differences between
and this patch

Collapse All | Expand All

(-)b/science/orthanc-webviewer/Makefile (+62 lines)
Added Link Here
1
# Created by: maintainer.freebsd@xpoundit.com
2
3
PORTNAME=	orthanc-webviewer
4
DISTVERSION=	2.7
5
CATEGORIES=	science
6
MASTER_SITES=	https://www.orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \
7
		https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \
8
		http://orthanc.osimis.io/ThirdPartyDownloads/WebViewer/:thirdpartywebviewer \
9
		http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty
10
DISTFILES=	OrthancWebViewer-${PORTVERSION}.tar.gz:main \
11
		jsPanel-2.3.3-fixed.zip:thirdpartywebviewer \
12
		cornerstone-0.11.0.zip:thirdpartywebviewer \
13
		jquery-ui-1.11.3.zip:thirdpartywebviewer \
14
		pako-0.2.5.zip:thirdpartywebviewer \
15
		js-url-1.8.6.zip:thirdpartywebviewer \
16
		Orthanc-1.8.1.tar.gz:framework \
17
		e2fsprogs-1.44.5.tar.gz:thirdparty
18
DIST_SUBDIR=	orthanc
19
EXTRACT_ONLY=	OrthancWebViewer-${PORTVERSION}.tar.gz
20
21
MAINTAINER=	maintainer.freebsd@xpoundit.com
22
COMMENT=	Plugin to extend Orthanc with a Web viewer of medical images
23
24
LICENSE=	AGPLv3
25
LICENSE_FILE=	${WRKSRC}/COPYING
26
27
BUILD_DEPENDS=	${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc
28
LIB_DEPENDS=	libboost_atomic.so:devel/boost-libs \
29
		libexpat.so:textproc/expat2 \
30
		libgdcmCommon.so:devel/gdcm \
31
		libicudata.so:devel/icu \
32
		libjsoncpp.so:devel/jsoncpp \
33
		libopenjp2.so:graphics/openjpeg \
34
		libsqlite3.so:databases/sqlite3
35
RUN_DEPENDS=	Orthanc:science/orthanc
36
37
USES=		cmake localbase python:build
38
USE_LDCONFIG=	yes
39
40
WRKSRC=		${WRKDIR}/OrthancWebViewer-${PORTVERSION}
41
42
CMAKE_OFF=	USE_SYSTEM_UUID
43
CMAKE_ARGS=	-DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.8.1/OrthancFramework/Sources \
44
		-DORTHANC_FRAMEWORK_SOURCE=path
45
CFLAGS+=	-I${LOCALBASE}/include -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG
46
CXXFLAGS+=	-DNDEBUG
47
48
post-extract:
49
	${MKDIR} ${WRKSRC}/ThirdPartyDownloads
50
	${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads
51
	${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.11.0.zip ${WRKSRC}/ThirdPartyDownloads
52
	${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-ui-1.11.3.zip ${WRKSRC}/ThirdPartyDownloads
53
	${CP} ${DISTDIR}/${DIST_SUBDIR}/pako-0.2.5.zip ${WRKSRC}/ThirdPartyDownloads
54
	${CP} ${DISTDIR}/${DIST_SUBDIR}/js-url-1.8.6.zip ${WRKSRC}/ThirdPartyDownloads
55
	${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads
56
	${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.8.1.tar.gz ${WRKSRC}/ThirdPartyDownloads
57
	${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.8.1.tar.gz
58
59
post-build:
60
	@cd ${BUILD_WRKSRC} && ./UnitTests
61
62
.include <bsd.port.mk>
(-)b/science/orthanc-webviewer/distinfo (+17 lines)
Added Link Here
1
TIMESTAMP = 1620907941
2
SHA256 (orthanc/OrthancWebViewer-2.7.tar.gz) = 22f56136e4704c734f80d3a9a0fed892c6516be45c30f524b10f93413a3eb81f
3
SIZE (orthanc/OrthancWebViewer-2.7.tar.gz) = 124764
4
SHA256 (orthanc/jsPanel-2.3.3-fixed.zip) = 958a15c7009efbb865da62b5850a3a39661c62696e38b151c7f988f4ac445595
5
SIZE (orthanc/jsPanel-2.3.3-fixed.zip) = 826542
6
SHA256 (orthanc/cornerstone-0.11.0.zip) = 1bada9f1f2981968f72daa352e712abea5cac3e0417fe59176f70a23261f1da9
7
SIZE (orthanc/cornerstone-0.11.0.zip) = 935277
8
SHA256 (orthanc/jquery-ui-1.11.3.zip) = 045b52f293bf4f77c6689569064327495edd9e6434839b78a56299c555130282
9
SIZE (orthanc/jquery-ui-1.11.3.zip) = 400437
10
SHA256 (orthanc/pako-0.2.5.zip) = e493010e1b1af5c149631994365ed31e15722eed2d17cc1d95bd9af151f2005f
11
SIZE (orthanc/pako-0.2.5.zip) = 704378
12
SHA256 (orthanc/js-url-1.8.6.zip) = ef2c7f50921ba64ac434eacf025669f1e6f39b5584100ffa8194a3edc08d43d3
13
SIZE (orthanc/js-url-1.8.6.zip) = 54717
14
SHA256 (orthanc/Orthanc-1.8.1.tar.gz) = 475f0e09d53496f5c152f3a4af9eb7318826f8d475f061d8e5332e4e6473c080
15
SIZE (orthanc/Orthanc-1.8.1.tar.gz) = 1701085
16
SHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc
17
SIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237
(-)b/science/orthanc-webviewer/pkg-descr (+11 lines)
Added Link Here
1
Orthanc can be extended by a plugin that brings a Web viewer of medical
2
images. The Web viewer is based upon the two following projects:
3
4
Cornerstone (https://github.com/chafey/cornerstone), a client-side JavaScript
5
library to display medical images in Web browsers, by Chris Hafey, and
6
7
GDCM (http://sourceforge.net/projects/gdcm/), an open-source implementation
8
of the DICOM standard with advanced features for image decoding, by Mathieu
9
Malaterre.
10
11
WWW: https://www.orthanc-server.com/static.php?page=web-viewer
(-)b/science/orthanc-webviewer/pkg-plist (+2 lines)
Added Link Here
1
share/orthanc/plugins/libOrthancWebViewer.so
2
share/orthanc/plugins/libOrthancWebViewer.so.2.7

Return to bug 242549