rsadowski 477b60cc1b Update Orthanc
- Update Orthanc to 1.11.1
- Update OrthancPostgreSQL to 4.0
- Update OrthancWebViewer to 2.8

Most patches from FreeBSD.

Feedback and OK op, maintainer timeout
2022-07-13 18:44:40 +00:00

27 lines
708 B
Makefile

CATEGORIES ?= graphics/orthanc
MODULES += devel/cmake
MAINTAINER ?= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# Orthanc is GPLv3, some plugins are AGPLv3
PERMIT_PACKAGE = Yes
BUILD_DEPENDS += archivers/unzip
FRAMEWORK_VERSION ?= 1.11.1
FRAMEWORK_DISTFILE ?= Orthanc-${FRAMEWORK_VERSION}.tar.gz
.if defined(PLUGIN)
DISTNAME ?= Orthanc${PLUGIN}-${VERSION}
PKGNAME ?= orthanc-plugin-${PLUGIN:L}-${VERSION}
HOMEPAGE ?= https://www.orthanc-server.com/static.php?page=plugin-${PLUGIN:L}
MASTER_SITES ?= https://www.orthanc-server.com/downloads/get.php\?path=/plugin-${PLUGIN:L}/
pre-configure:
sed -i 's,share/orthanc/plugins,libexec/orthanc/plugins,g' \
${WRKSRC}/CMakeLists.txt
.endif