summaryrefslogtreecommitdiff
path: root/sysutils/toshutils/Makefile
blob: 499d70b0a500bf2deeed2a9cf63e9cf869201486 (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
# $NetBSD: Makefile,v 1.17 2011/04/22 13:44:45 obache Exp $
#

DISTNAME=	toshutils-991217
PKGREVISION=	5
CATEGORIES=	sysutils
MASTER_SITES=	# http://www.buzzard.me.uk/toshiba/downloads/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.buzzard.me.uk/toshiba/
COMMENT=	NetBSD port of the Toshiba(tm) Linux Utilities
LICENSE=	gnu-gpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir

ONLY_FOR_PLATFORM= *-*-i386

MAKE_JOBS_SAFE=	no

GNU_CONFIGURE=	YES

USE_TOOLS+=	lex yacc

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/doc/toshutils

post-install:
.for f in ac.gif battery.gif hand.gif display.html machine.html modules.html size.html space.html style.html tuxtime.html whatis.html hci.tex sci.tex toshiba.tex
	${INSTALL_MAN} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/toshutils
.endfor

.for p in alarm dispswitch fan hotkey tdocked thotswap tuxtime-conf
SPECIAL_PERMS+=		bin/${p} ${SETUID_ROOT_PERMS}
.endfor

BUILDLINK_DEPMETHOD.libXt=	build
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"