update Fri Feb 12 12:37:00 PST 2010
[pkgsrc.git] / sysutils / toshutils / Makefile
1 # $NetBSD: Makefile,v 1.16 2009/09/18 09:37:01 obache Exp $
2 #
3
4 DISTNAME=       toshutils-991217
5 PKGREVISION=    4
6 CATEGORIES=     sysutils
7 MASTER_SITES=   # http://www.buzzard.me.uk/toshiba/downloads/
8
9 MAINTAINER=     pkgsrc-users@NetBSD.org
10 HOMEPAGE=       http://www.buzzard.me.uk/toshiba/
11 COMMENT=        NetBSD port of the Toshiba(tm) Linux Utilities
12 LICENSE=        gnu-gpl-v2
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 ONLY_FOR_PLATFORM= *-*-i386
17
18 MAKE_JOBS_SAFE= no
19
20 GNU_CONFIGURE=  YES
21
22 USE_TOOLS+=     lex yacc
23
24 INSTALLATION_DIRS=      bin ${PKGMANDIR}/man1 share/doc/toshutils
25
26 post-install:
27 .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
28         ${INSTALL_MAN} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/toshutils
29 .endfor
30
31 .for p in alarm dispswitch fan hotkey tdocked thotswap tuxtime-conf
32 SPECIAL_PERMS+=         bin/${p} ${SETUID_ROOT_PERMS}
33 .endfor
34
35 BUILDLINK_DEPMETHOD.libXt=      build
36 .include "../../x11/libXt/buildlink3.mk"
37 .include "../../x11/gtk/buildlink3.mk"
38 .include "../../mk/bsd.pkg.mk"