2007-11-28 08:10:24 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/11/28 13:14:12 ajacoutot Exp $
|
2004-12-01 12:08:55 -05:00
|
|
|
|
|
|
|
# requires nvram(4) device
|
2007-08-02 13:23:29 -04:00
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
2004-12-01 12:08:55 -05:00
|
|
|
|
2007-09-15 17:14:00 -04:00
|
|
|
COMMENT= utility to use ibm thinkpad(tm) special keys
|
2004-12-01 12:08:55 -05:00
|
|
|
|
2005-11-25 10:51:00 -05:00
|
|
|
DISTNAME= tpb-0.6.4
|
2007-06-01 12:44:10 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2004-12-01 12:08:55 -05:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.nongnu.org/tpb/
|
|
|
|
MASTER_SITES= http://savannah.nongnu.org/download/tpb/
|
|
|
|
|
2007-06-01 12:44:10 -04:00
|
|
|
MAINTAINER= joshua stein <jcs@openbsd.org>
|
|
|
|
|
2004-12-01 12:08:55 -05:00
|
|
|
# gpl
|
|
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
|
|
PERMIT_PACKAGE_FTP= yes
|
|
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --with-xosd-config=${LOCALBASE}/bin/xosd-config
|
|
|
|
|
|
|
|
USE_X11= yes
|
2007-11-28 08:10:24 -05:00
|
|
|
MODULES= devel/gettext
|
2006-08-03 19:55:10 -04:00
|
|
|
LIB_DEPENDS= xosd.>=4::x11/xosd
|
2004-12-01 12:08:55 -05:00
|
|
|
WANTLIB= ICE SM X11 Xext Xinerama Xt c ossaudio pthread
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tpb
|
|
|
|
@${INSTALL_DATA} ${WRKDIST}/doc/tpbrc ${PREFIX}/share/examples/tpb/
|
|
|
|
@${INSTALL_DATA} ${WRKDIST}/doc/callback_example.sh \
|
|
|
|
${PREFIX}/share/examples/tpb/
|
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tpb
|
|
|
|
@${INSTALL_DATA} ${WRKDIST}/doc/nvram.txt ${PREFIX}/share/doc/tpb/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|