rsadowski 2a60d43d7b Add kde-applications.port.mk
Just move some stuff from Makefile.inc to kde-applications.port.mk.
2021-02-27 07:15:56 +00:00

33 lines
899 B
Makefile

# $OpenBSD: Makefile.inc,v 1.15 2021/02/27 07:15:56 rsadowski Exp $
DIST_SUBDIR = kde-applications
.if !defined(CATEGORIES)
ERRORS += "Fatal: missing CATEGORIES"
.endif
CATEGORIES += x11/kde-applications
MAINTAINER ?= Rafael Sadowski <rsadowski@openbsd.org>
# Do not rely on devel/cmake here: additional modules that are
# set up in ports may have, say, lang/python before devel/cmake,
# thus making lang/python evaluating first. And when lang/python
# sees empty CONFIGURE_STYLE, it forces that this is Python
# module port, and breaks build.
CONFIGURE_STYLE = cmake
MODULES := x11/kde-applications \
devel/kf5 \
${MODULES}
# usual KDE rules:
# LGPLv2.1+, GPLv2+, GPLv3
PERMIT_PACKAGE ?= Yes
VERSION ?= ${MODKDE_VERSION}
MASTER_SITES ?= ${MASTER_SITE_KDE:=stable/release-service/${VERSION}/src/}
RUN_DEPENDS += ${MODKDE5_RUN_DEPENDS}
BUILD_DEPENDS += ${MODKDE5_BUILD_DEPENDS}