| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.2 2012/04/08 19:09:17 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2012/05/14 07:03:08 sbd Exp $ |
2 | | | 2 | |
3 | DISTNAME= kde-workspace-${_KDE_VERSION} | | 3 | DISTNAME= kde-workspace-${_KDE_VERSION} |
4 | PKGNAME= ${DISTNAME:S/-4/4-4/} | | 4 | PKGNAME= ${DISTNAME:S/-4/4-4/} |
5 | CATEGORIES= x11 | | 5 | CATEGORIES= x11 |
6 | COMMENT= Base workspace for the KDE 4 integrated X11 desktop | | 6 | COMMENT= Base workspace for the KDE 4 integrated X11 desktop |
7 | | | 7 | |
8 | .include "../../meta-pkgs/kde4/Makefile.kde4" | | 8 | .include "../../meta-pkgs/kde4/Makefile.kde4" |
9 | | | 9 | |
10 | DISTFILES= ${DEFAULT_DISTFILES} Daemon.png Daemon.README | | 10 | DISTFILES= ${DEFAULT_DISTFILES} Daemon.png Daemon.README |
11 | DISTFILES+= NetBSD-flag-1.0.png | | 11 | DISTFILES+= NetBSD-flag-1.0.png |
12 | SITES.Daemon.png= ${MASTER_SITE_LOCAL} | | 12 | SITES.Daemon.png= ${MASTER_SITE_LOCAL} |
13 | SITES.Daemon.README= ${MASTER_SITE_LOCAL} | | 13 | SITES.Daemon.README= ${MASTER_SITE_LOCAL} |
14 | SITES.NetBSD-flag-1.0.png= ${MASTER_SITE_LOCAL} | | 14 | SITES.NetBSD-flag-1.0.png= ${MASTER_SITE_LOCAL} |
| @@ -46,27 +46,27 @@ SPECIAL_PERMS+= ${PREFIX}/lib/kde4/libe | | | @@ -46,27 +46,27 @@ SPECIAL_PERMS+= ${PREFIX}/lib/kde4/libe |
46 | ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 6555 | | 46 | ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 6555 |
47 | | | 47 | |
48 | REPLACE_PERL+= \ | | 48 | REPLACE_PERL+= \ |
49 | kcontrol/keys/convertShortcuts.pl \ | | 49 | kcontrol/keys/convertShortcuts.pl \ |
50 | kwin/data/kwin3_plugin.pl \ | | 50 | kwin/data/kwin3_plugin.pl \ |
51 | kwin/data/pluginlibFix.pl | | 51 | kwin/data/pluginlibFix.pl |
52 | | | 52 | |
53 | PY_PATCHPLIST= yes | | 53 | PY_PATCHPLIST= yes |
54 | | | 54 | |
55 | .include "../../mk/bsd.prefs.mk" | | 55 | .include "../../mk/bsd.prefs.mk" |
56 | .include "options.mk" | | 56 | .include "options.mk" |
57 | | | 57 | |
58 | PLIST_VARS+= utempter noutempter | | 58 | PLIST_VARS+= utempter noutempter |
59 | .if ${OPSYS} == "Linux" | | 59 | .if ${OPSYS} == "Linux" && exists(/usr/include/utempter.h) |
60 | PLIST.utempter= yes | | 60 | PLIST.utempter= yes |
61 | .else | | 61 | .else |
62 | PLIST.noutempter= yes | | 62 | PLIST.noutempter= yes |
63 | .endif | | 63 | .endif |
64 | | | 64 | |
65 | SUBST_CLASSES+= paths | | 65 | SUBST_CLASSES+= paths |
66 | SUBST_FILES.paths= kdm/kcm/main.cpp | | 66 | SUBST_FILES.paths= kdm/kcm/main.cpp |
67 | SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' | | 67 | SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' |
68 | SUBST_STAGE.paths= post-patch | | 68 | SUBST_STAGE.paths= post-patch |
69 | | | 69 | |
70 | SUBST_CLASSES+= qtpath | | 70 | SUBST_CLASSES+= qtpath |
71 | SUBST_FILES.qtpath= startkde.cmake | | 71 | SUBST_FILES.qtpath= startkde.cmake |
72 | SUBST_VARS.qtpath= QTDIR | | 72 | SUBST_VARS.qtpath= QTDIR |