2010-10-12 19:23:36 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2010/10/12 17:23:36 joerg Exp $
|
2004-02-02 16:49:17 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tpb-0.6.1
|
2006-06-08 18:09:11 +02:00
|
|
|
PKGREVISION= 4
|
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
|
|
|
|
|
2010-10-12 19:23:36 +02:00
|
|
|
BROKEN= Doesn't support newer x11/xosd
|
|
|
|
|
2010-01-27 21:24:57 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-02-02 16:49:17 +01:00
|
|
|
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"
|
|
|
|
.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"
|