2018-06-08 14:42:13 +02:00
|
|
|
# $NetBSD: Makefile.kde4,v 1.26 2018/06/08 12:42:13 he Exp $
|
2009-10-02 22:54:04 +02:00
|
|
|
#
|
|
|
|
# This Makefile fragment is included at the top of package Makefiles for
|
|
|
|
# KDE4-distributed packages (they all share common configure and build
|
|
|
|
# settings).
|
|
|
|
|
|
|
|
CATEGORIES+= kde
|
2014-11-13 11:22:48 +01:00
|
|
|
_KDE_VERSION= 4.14.3
|
|
|
|
MASTER_SITE_KDE_I18N= ${MASTER_SITE_KDE:=4.14.3/src/kde-l10n/}
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:=4.14.3/src/}
|
2012-04-15 07:54:50 +02:00
|
|
|
EXTRACT_SUFX?= .tar.xz
|
2012-06-16 06:45:28 +02:00
|
|
|
EXTRACT_USING= gtar
|
2009-10-02 22:54:04 +02:00
|
|
|
|
|
|
|
MAINTAINER?= markd@NetBSD.org
|
|
|
|
HOMEPAGE?= http://www.kde.org/
|
2009-10-11 10:13:38 +02:00
|
|
|
LICENSE?= gnu-gpl-v2 AND gnu-lgpl-v2
|
2009-10-02 22:54:04 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS+= automoc4>=0.9.87:../../devel/automoc4
|
2013-12-03 19:52:30 +01:00
|
|
|
TOOLS_DEPENDS.cmake= cmake>=2.8.12:../../devel/cmake
|
2009-10-02 22:54:04 +02:00
|
|
|
|
|
|
|
USE_TOOLS+= pkg-config perl
|
2018-06-08 14:42:13 +02:00
|
|
|
USE_LANGUAGES= c gnu++03
|
2009-10-02 22:54:04 +02:00
|
|
|
USE_CMAKE= yes
|
|
|
|
CMAKE_ARG_PATH= ..
|
|
|
|
CONFIGURE_DIRS= _KDE_build
|
|
|
|
|
2013-04-03 12:51:43 +02:00
|
|
|
# eventually allow CMAKE_BUILD_TYPE to be overridden
|
|
|
|
# set for current default
|
|
|
|
TARGET_NAME= relwithdebinfo
|
2013-04-04 00:04:16 +02:00
|
|
|
PLIST_SUBST+= TARGET=${TARGET_NAME}
|
2013-04-03 12:51:43 +02:00
|
|
|
|
2009-10-02 22:54:04 +02:00
|
|
|
pre-configure:
|
|
|
|
${MKDIR} ${WRKSRC}/_KDE_build
|