2013-06-01 14:18:23 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2013/06/01 12:18:23 shattered Exp $
|
2004-02-02 16:49:17 +01:00
|
|
|
#
|
|
|
|
|
2013-06-01 14:18:23 +02:00
|
|
|
DISTNAME= tpb-0.6.4
|
|
|
|
#KGREVISION= 5
|
2004-02-02 16:49:17 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://savannah.nongnu.org/download/tpb/
|
|
|
|
|
|
|
|
MAINTAINER= soren@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.nongnu.org/tpb/
|
|
|
|
COMMENT= Utility to enable the IBM ThinkPad(tm) special keys
|
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM= *-*-i386
|
|
|
|
|
2005-11-15 15:48:13 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2006-06-15 17:18:03 +02:00
|
|
|
USE_TOOLS+= msgfmt
|
2004-02-02 16:49:17 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2004-02-19 18:49:57 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/tpb
|
|
|
|
CONF_FILES= ${EGDIR}/tpbrc ${PKG_SYSCONFDIR}/tpbrc
|
|
|
|
|
2010-01-27 21:24:57 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/tpb
|
|
|
|
|
2004-02-02 16:49:17 +01:00
|
|
|
post-install:
|
2004-02-19 18:49:57 +01:00
|
|
|
.for f in callback_example.sh nvram.txt
|
2010-01-27 21:24:57 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/tpb
|
2004-02-02 16:49:17 +01:00
|
|
|
.endfor
|
|
|
|
|
2006-06-08 18:09:11 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2007-02-15 15:47:20 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
2010-11-18 22:00:58 +01:00
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
2007-02-15 15:47:20 +01:00
|
|
|
.include "../../x11/xosd/buildlink3.mk"
|
2006-03-09 22:04:39 +01:00
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
2004-02-19 18:22:17 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-02-02 16:49:17 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|