2017-08-11 19:56:58 +00:00

26 lines
690 B
Makefile

# $OpenBSD: Makefile.inc,v 1.4 2017/08/11 19:56:58 jasper Exp $
CATEGORIES ?= graphics/orthanc
MODULES += devel/cmake
MAINTAINER ?= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# Orthanc is GPLv3, some plugins are AGPLv3
PERMIT_PACKAGE_CDROM = Yes
BUILD_DEPENDS += archivers/unzip
.if defined(PLUGIN)
DISTNAME ?= Orthanc${PLUGIN}-${VERSION}
PKGNAME ?= orthanc-plugin-${PLUGIN:L}-${VERSION}
HOMEPAGE ?= http://www.orthanc-server.com/static.php?page=plugin-${PLUGIN:L}
MASTER_SITES ?= http://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