197f08abf4
was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket) Reported by: swills
32 lines
734 B
Makefile
32 lines
734 B
Makefile
# Created by: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= usbhotkey
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Utility to remap USB keyboards under X11
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libhid.so:devel/libhid \
|
|
libXtst.so:x11/libXtst
|
|
|
|
BROKEN_powerpc64= fails to compile: ruby.h: wrong number of arguments specified for 'deprecated' attribute
|
|
|
|
USES= gmake
|
|
USE_RUBY= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include \
|
|
-I${LOCALBASE}/include/ruby-${RUBY_VER} \
|
|
-I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
LIBS+= -lX11
|
|
|
|
CONFIGURE_ARGS= --without-Imlib
|
|
|
|
.include <bsd.port.mk>
|