mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
00789911dc
- Remove :oldver from USES=libtool and bump dependent ports
36 lines
789 B
Makefile
36 lines
789 B
Makefile
# Created by: Nikos Ntarmos <ntarmos@ceid.upatras.gr>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= usbhotkey
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 1
|
|
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:${PORTSDIR}/devel/libhid \
|
|
libXtst.so:${PORTSDIR}/x11/libXtst
|
|
|
|
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
|
|
|
|
OPTIONS_DEFINE= GUI
|
|
OPTIONS_DEFAULT= GUI
|
|
GUI_DESC= Enable GUI bits (via Imlib)
|
|
|
|
GUI_LIB_DEPENDS= libImlib.so:${PORTSDIR}/graphics/imlib
|
|
GUI_CONFIGURE_OFF= --without-Imlib
|
|
|
|
.include <bsd.port.mk>
|