freebsd-ports/sysutils/usbhotkey/Makefile
Piotr Kubaj b38610a919 sysutils/usbhotkey: unbreak on powerpc64 elfv1
Builds with GCC9. While here, add USES=localbase:ldflags.
2020-12-31 01:43:42 +00:00

28 lines
601 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
USES= compiler:c11 gmake localbase:ldflags
USE_RUBY= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include/ruby-${RUBY_VER} \
-I${LOCALBASE}/include/ruby-${RUBY_VER}/${RUBY_ARCH}
LIBS+= -lX11
CONFIGURE_ARGS= --without-Imlib
.include <bsd.port.mk>