Added
Link Here
|
1 |
# Created by: maintainer.freebsd@xpoundit.com |
2 |
|
3 |
PORTNAME= orthanc-dicomweb |
4 |
DISTVERSION= 1.6 |
5 |
CATEGORIES= science |
6 |
MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-dicom-web/:main \ |
7 |
https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ |
8 |
https://orthanc.osimis.io/ThirdPartyDownloads/:thirdparty \ |
9 |
https://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/:thirdpartydicomweb |
10 |
DISTFILES= OrthancDicomWeb-${PORTVERSION}.tar.gz:main \ |
11 |
Orthanc-1.9.3.tar.gz:framework \ |
12 |
e2fsprogs-1.44.5.tar.gz:thirdparty \ |
13 |
bootstrap-4.3.1.zip:thirdpartydicomweb \ |
14 |
vuejs-2.6.10.tar.gz:thirdpartydicomweb \ |
15 |
axios-0.19.0.tar.gz:thirdpartydicomweb \ |
16 |
Font-Awesome-4.7.0.tar.gz:thirdpartydicomweb \ |
17 |
bootstrap-vue-2.0.0-rc.24-dist.tar.gz:thirdpartydicomweb \ |
18 |
babel-polyfill-6.26.0.min.js.gz:thirdpartydicomweb |
19 |
DIST_SUBDIR= orthanc |
20 |
EXTRACT_ONLY= OrthancDicomWeb-${PORTVERSION}.tar.gz |
21 |
|
22 |
MAINTAINER= maintainer.freebsd@xpoundit.com |
23 |
COMMENT= Plugin to bring support of the DICOMweb standard into Orthanc |
24 |
|
25 |
LICENSE= AGPLv3 |
26 |
LICENSE_FILE= ${WRKSRC}/COPYING |
27 |
|
28 |
BUILD_DEPENDS= ${LOCALBASE}/include/orthanc/OrthancCPlugin.h:science/orthanc |
29 |
LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \ |
30 |
libexpat.so:textproc/expat2 \ |
31 |
libgdcmCommon.so:devel/gdcm \ |
32 |
libicudata.so:devel/icu \ |
33 |
libjsoncpp.so:devel/jsoncpp \ |
34 |
libopenjp2.so:graphics/openjpeg \ |
35 |
libpugixml.so:textproc/pugixml |
36 |
RUN_DEPENDS= Orthanc:science/orthanc |
37 |
|
38 |
USES= cmake localbase python:build |
39 |
|
40 |
WRKSRC= ${WRKDIR}/OrthancDicomWeb-${PORTVERSION} |
41 |
|
42 |
CMAKE_OFF= USE_SYSTEM_UUID |
43 |
CMAKE_ARGS= -DORTHANC_FRAMEWORK_ROOT=${WRKSRC}/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources \ |
44 |
-DORTHANC_FRAMEWORK_SOURCE=path |
45 |
CFLAGS+= -DORTHANC_ENABLE_LOGGING_PLUGIN -DNDEBUG |
46 |
CXXFLAGS+= -DNDEBUG |
47 |
|
48 |
PLIST_SUB+= PORTVERSION=${PORTVERSION} |
49 |
|
50 |
post-extract: |
51 |
${MKDIR} ${WRKSRC}/ThirdPartyDownloads |
52 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/e2fsprogs-1.44.5.tar.gz ${WRKSRC}/ThirdPartyDownloads |
53 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/bootstrap-4.3.1.zip ${WRKSRC}/ThirdPartyDownloads |
54 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/vuejs-2.6.10.tar.gz ${WRKSRC}/ThirdPartyDownloads |
55 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/axios-0.19.0.tar.gz ${WRKSRC}/ThirdPartyDownloads |
56 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/Font-Awesome-4.7.0.tar.gz ${WRKSRC}/ThirdPartyDownloads |
57 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/bootstrap-vue-2.0.0-rc.24-dist.tar.gz ${WRKSRC}/ThirdPartyDownloads |
58 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/babel-polyfill-6.26.0.min.js.gz ${WRKSRC}/ThirdPartyDownloads |
59 |
${CP} ${DISTDIR}/${DIST_SUBDIR}/Orthanc-1.9.3.tar.gz ${WRKSRC}/ThirdPartyDownloads |
60 |
${TAR} -C ${WRKSRC}/ThirdPartyDownloads -xf ${WRKSRC}/ThirdPartyDownloads/Orthanc-1.9.3.tar.gz |
61 |
|
62 |
do-test: |
63 |
@cd ${BUILD_WRKSRC} && ./UnitTests |
64 |
|
65 |
.include <bsd.port.mk> |