# $OpenBSD: Makefile.inc,v 1.6 2019/10/02 18:29:33 jasper Exp $ CATEGORIES ?= graphics/orthanc MODULES += devel/cmake MAINTAINER ?= Jasper Lievisse Adriaanse # Orthanc is GPLv3, some plugins are AGPLv3 PERMIT_PACKAGE = Yes BUILD_DEPENDS += archivers/unzip .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