* configure require libXt to check X11, as PR 42085 * Set LICENSE=gnu-gpl-v2 * add DESTDIR support. * need lex and yacc * marked as MAKE_JOBS_SAFE=no * set SETUID_ROOT_PERMS to executables.
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2009/09/18 09:37:01 obache Exp $
|
|
#
|
|
|
|
DISTNAME= toshutils-991217
|
|
PKGREVISION= 4
|
|
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"
|