blob: 6d163dd696bcf152dec4eddfb6ecd654ff526a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.43 2005/07/21 16:29:57 wiz Exp $
.include "Makefile.common"
PKGREVISION= # empty1
GKRELLM_PKGBASE= gkrellm
WRKSRC= ${GKRELLM_SRCDIR}
COMMENT= GTK2 based system monitor
DEPENDS+= gkrellm-share-${GKRELLM_VERSION}:../../sysutils/gkrellm-share
USE_PKGINSTALL= YES
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "NetBSD")
SPECIAL_PERMS+= ${PREFIX}/bin/gkrellm ${ROOT_USER} kmem 2711
.endif
NOT_FOR_PLATFORM= IRIX-*
MAKE_ENV+= MODULES=src LINK_FLAGS=${EXPORT_SYMBOLS_LDFLAGS}
MAKE_ENV+= BINOWNER=${BINOWN} BINGROUP=${BINGRP}
SUBST_STAGE.gkprefix= post-patch
SUBST_FILES.gkprefix= src/gkrellm.h
SUBST_SED.gkprefix= -e '/SYSTEM_/{s!/usr!${PREFIX}!;}'
SUBST_CLASSES+= gkprefix
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm2
${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm2/plugins
${INSTALL_DATA_DIR} ${PREFIX}/share/gkrellm2/themes
.include "../../x11/gtk2/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pkg-config/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|