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

Collapse All | Expand All

(-)MOVED (-1 lines)
Lines 10174-10180 Link Here
10174
science/orthanc||2018-06-07|Has expired: Broken for more than 3 months
10174
science/orthanc||2018-06-07|Has expired: Broken for more than 3 months
10175
science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc
10175
science/orthanc-dicomweb||2018-06-07|Removed, depends on expired science/orthanc
10176
science/orthanc-postgresql||2018-06-07|Removed, depends on expired science/orthanc
10176
science/orthanc-postgresql||2018-06-07|Removed, depends on expired science/orthanc
10177
science/orthanc-webviewer||2018-06-07|Removed, depends on expired science/orthanc
10178
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
10177
graphics/libkface||2018-06-09|Has expired: No longer maintained upstream
10179
math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
10178
math/scilab-toolbox-sivp||2018-06-09|Has expired: Cannot build with newer opencv
10180
math/clipper|graphics/polyclipping|2018-06-11|Duplicate port
10179
math/clipper|graphics/polyclipping|2018-06-11|Duplicate port
(-)science/Makefile (+1 lines)
Lines 178-183 Link Here
178
    SUBDIR += opensim-core
178
    SUBDIR += opensim-core
179
    SUBDIR += opensph
179
    SUBDIR += opensph
180
    SUBDIR += opsin
180
    SUBDIR += opsin
181
    SUBDIR += orthanc-webviewer
181
    SUBDIR += p5-Algorithm-SVMLight
182
    SUBDIR += p5-Algorithm-SVMLight
182
    SUBDIR += p5-Chemistry-3DBuilder
183
    SUBDIR += p5-Chemistry-3DBuilder
183
    SUBDIR += p5-Chemistry-Bond-Find
184
    SUBDIR += p5-Chemistry-Bond-Find
(-)science/orthanc-webviewer/Makefile (+70 lines)
Line 0 Link Here
1
# Created by: maintainer.freebsd@xpoundit.com
2
# $FreeBSD$
3
4
PORTNAME=	orthanc-webviewer
5
PORTVERSION=	2.6
6
PORTREVISION=	1
7
CATEGORIES=	science
8
MASTER_SITES=	http://orthanc-server.com/downloads/get.php?path=/plugin-webviewer/:main \
9
		http://orthanc-server.com/downloads/get.php?path=/orthanc/:framework \
10
		http://orthanc.osimis.io/ThirdPartyDownloads/WebViewer/:thirdpartywebviewer \
11
		http://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty
12
DISTFILES=	OrthancWebViewer-${PORTVERSION}.tar.gz:main \
13
		jsPanel-2.3.3-fixed.zip:thirdpartywebviewer \
14
		cornerstone-0.11.0.zip:thirdpartywebviewer \
15
		jquery-ui-1.11.3.zip:thirdpartywebviewer \
16
		pako-0.2.5.zip:thirdpartywebviewer \
17
		js-url-1.8.6.zip:thirdpartywebviewer \
18
		Orthanc-1.6.1.tar.gz:framework \
19
		Orthanc-1.7.1.tar.gz:framework \
20
		e2fsprogs-1.44.5.tar.gz:thirdparty
21
DIST_SUBDIR=	orthanc
22
EXTRACT_ONLY=	OrthancWebViewer-${PORTVERSION}.tar.gz
23
24
MAINTAINER=	maintainer.freebsd@xpoundit.com
25
COMMENT=	Plugin to extend Orthanc with a Web viewer of medical images
26
27
LICENSE=	AGPLv3
28
LICENSE_FILE=	${WRKSRC}/COPYING
29
30
BUILD_DEPENDS=	${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc
31
LIB_DEPENDS=	libboost_atomic.so:devel/boost-libs \
32
		libexpat.so:textproc/expat2 \
33
		libgdcmCommon.so:devel/gdcm \
34
		libicudata.so:devel/icu \
35
		libjsoncpp.so:devel/jsoncpp \
36
		libopenjp2.so:graphics/openjpeg \
37
		libsqlite3.so:databases/sqlite3
38
39
USES=		cmake localbase python:build ssl
40
41
WRKSRC=		${WRKDIR}/OrthancWebViewer-${PORTVERSION}
42
CMAKE_ARGS=	-DUSE_SYSTEM_UUID=OFF \
43
		-DORTHANC_FRAMEWORK_SOURCE=path \
44
		-DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.7.1
45
CFLAGS+=	-I${LOCALBASE}/include \
46
		-DORTHANC_ENABLE_LOGGING_PLUGIN \
47
		-DNDEBUG
48
CXXFLAGS+=	-DNDEBUG
49
USE_LDCONFIG=	yes
50
PLIST_FILES=	share/orthanc/plugins/libOrthancWebViewer.so \
51
		share/orthanc/plugins/libOrthancWebViewer.so.${PORTVERSION}
52
53
post-extract:
54
	${MKDIR} ${WRKSRC}/ThirdPartyDownloads
55
	${CP} ${DISTDIR}/${DIST_SUBDIR}/jsPanel-2.3.3-fixed.zip ${WRKSRC}/ThirdPartyDownloads
56
	${CP} ${DISTDIR}/${DIST_SUBDIR}/cornerstone-0.11.0.zip ${WRKSRC}/ThirdPartyDownloads
57
	${CP} ${DISTDIR}/${DIST_SUBDIR}/jquery-ui-1.11.3.zip ${WRKSRC}/ThirdPartyDownloads
58
	${CP} ${DISTDIR}/${DIST_SUBDIR}/pako-0.2.5.zip ${WRKSRC}/ThirdPartyDownloads
59
	${CP} ${DISTDIR}/${DIST_SUBDIR}/js-url-1.8.6.zip ${WRKSRC}/ThirdPartyDownloads
60
	${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads
61
	${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.7.1.tar.gz ${WRKSRC}/ThirdPartyDownloads
62
	${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.7.1.tar.gz
63
64
post-patch:
65
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/*.cmake
66
67
post-build:
68
	@cd ${BUILD_WRKSRC} && ./UnitTests
69
70
.include <bsd.port.mk>
(-)science/orthanc-webviewer/distinfo (+19 lines)
Line 0 Link Here
1
TIMESTAMP = 1593007705
2
SHA256 (orthanc/OrthancWebViewer-2.6.tar.gz) = 6c02c57d6d7764131ff4286d947a17f638fff0d62af33fb435ef7b71f2aa5999
3
SIZE (orthanc/OrthancWebViewer-2.6.tar.gz) = 95228
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.6.1.tar.gz) = 86f6e1a79bc93f082fd5243dd4daaf5a2ea05fcdf515cf35f100829c5fe5c4df
15
SIZE (orthanc/Orthanc-1.6.1.tar.gz) = 1633929
16
SHA256 (orthanc/Orthanc-1.7.1.tar.gz) = b131c12a0b70a531e5fb2a38ffb258cbced2ab304231a52e491de22d69df8ffc
17
SIZE (orthanc/Orthanc-1.7.1.tar.gz) = 1640397
18
SHA256 (orthanc/e2fsprogs-1.44.5.tar.gz) = 2e211fae27ef74d5af4a4e40b10b8df7f87c655933bd171aab4889bfc4e6d1cc
19
SIZE (orthanc/e2fsprogs-1.44.5.tar.gz) = 7619237
(-)science/orthanc-webviewer/pkg-descr (+11 lines)
Line 0 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

Return to bug 242549