View | Details | Raw Unified | Return to bug 201163
Collapse All | Expand All

(-)science/orthanc/Makefile (-4 / +15 lines)
Lines 3-10 Link Here
3
3
4
PORTNAME=	orthanc
4
PORTNAME=	orthanc
5
PORTVERSION=	0.9.0
5
PORTVERSION=	0.9.0
6
CATEGORIES=	science graphics net
6
PORTREVISION=	1
7
MASTER_SITES=	SF/orthancserver/:main \
7
CATEGORIES=	science graphics net www
8
MASTER_SITES=	http://orthanc-server.com/downloads/get.php?path=/orthanc/:main \
8
		http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/:mongoose
9
		http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/:mongoose
9
DISTFILES=	Orthanc-${PORTVERSION}.tar.gz:main \
10
DISTFILES=	Orthanc-${PORTVERSION}.tar.gz:main \
10
		mongoose-3.8.tgz:mongoose
11
		mongoose-3.8.tgz:mongoose
Lines 13-18 DIST_SUBDIR= ${PORTNAME} Link Here
13
MAINTAINER=	mp39590@gmail.com
14
MAINTAINER=	mp39590@gmail.com
14
COMMENT=	RESTful DICOM server for healthcare and medical research
15
COMMENT=	RESTful DICOM server for healthcare and medical research
15
16
17
# GPLv3 license, with the OpenSSL exception.
16
LICENSE=	GPLv3
18
LICENSE=	GPLv3
17
LICENSE_FILE=	${WRKSRC}/COPYING
19
LICENSE_FILE=	${WRKSRC}/COPYING
18
20
Lines 22-28 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ Link Here
22
		libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
24
		libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
23
		libglog.so:${PORTSDIR}/devel/glog \
25
		libglog.so:${PORTSDIR}/devel/glog \
24
		libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
26
		libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
25
		libdcmimage.so:${PORTSDIR}/devel/dcmtk \
27
		libboost_thread.so:${PORTSDIR}/devel/boost-libs \
28
		libboost_system.so:${PORTSDIR}/devel/boost-libs \
29
		libboost_date_time.so:${PORTSDIR}/devel/boost-libs \
30
		libboost_regex.so:${PORTSDIR}/devel/boost-libs \
31
		libboost_locale.so:${PORTSDIR}/devel/boost-libs \
32
		libdcmdsig.so:${PORTSDIR}/devel/dcmtk \
33
		libcharls.so:${PORTSDIR}/devel/dcmtk \
34
		libdcmjpls.so:${PORTSDIR}/devel/dcmtk \
26
		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
35
		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
27
		libpugixml.so:${PORTSDIR}/textproc/pugixml
36
		libpugixml.so:${PORTSDIR}/textproc/pugixml
28
37
Lines 53-58 post-extract: Link Here
53
	${CP} ${DISTDIR}/${DIST_SUBDIR}/mongoose-3.8.tgz ${WRKSRC}/ThirdPartyDownloads
62
	${CP} ${DISTDIR}/${DIST_SUBDIR}/mongoose-3.8.tgz ${WRKSRC}/ThirdPartyDownloads
54
	# Orthanc hardcodes /usr/local paths for libs and includes.
63
	# Orthanc hardcodes /usr/local paths for libs and includes.
55
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
64
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
65
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/JsonCppConfiguration.cmake
66
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Resources/CMake/SQLiteConfiguration.cmake
56
67
57
# There is no way to disable building of test units without a patch, on other
68
# There is no way to disable building of test units without a patch, on other
58
# hand it brings only one build dependency (devel/googletest) and running it was
69
# hand it brings only one build dependency (devel/googletest) and running it was
Lines 78-84 IGNORE= supported only on 10.1 by upstream, not all unit tests are passed Link Here
78
.endif
89
.endif
79
90
80
.if ${OSVERSION} > 1100000
91
.if ${OSVERSION} > 1100000
81
IGNORE=	unit tests are crashing, bug 200544
92
BROKEN=	unit tests are crashing, bug 200544
82
.endif
93
.endif
83
94
84
.include <bsd.port.post.mk>
95
.include <bsd.port.post.mk>
(-)science/orthanc/pkg-plist (-2 / +2 lines)
Lines 6-11 Link Here
6
include/orthanc/OrthancCDatabasePlugin.h
6
include/orthanc/OrthancCDatabasePlugin.h
7
include/orthanc/OrthancCPlugin.h
7
include/orthanc/OrthancCPlugin.h
8
include/orthanc/OrthancCppDatabasePlugin.h
8
include/orthanc/OrthancCppDatabasePlugin.h
9
%%DATADIR%%/plugins/%%LUA_LIBDIR%%ServeFolders.so
9
%%DATADIR%%/plugins/libServeFolders.so
10
%%DATADIR%%/plugins/%%LUA_LIBDIR%%ServeFolders.so.0.9.0
10
%%DATADIR%%/plugins/libServeFolders.so.0.9.0
11
sbin/Orthanc
11
sbin/Orthanc

Return to bug 201163