freebsd-ports/sysutils/g15daemon/Makefile
2022-03-04 10:56:06 -05:00

32 lines
710 B
Makefile

PORTNAME= g15daemon
PORTVERSION= 3.0.4
CATEGORIES= sysutils
MASTER_SITES= https://gitlab.com/menelkir/${PORTNAME}/-/archive/${PORTVERSION}/
MAINTAINER= dmenelkir@gmail.com
COMMENT= Daemon for Logitech G15 Keyboards
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto
LIB_DEPENDS+= libg15.so:sysutils/libg15 \
libg15render.so:sysutils/libg15render \
libinput.so:x11/libinput
USES= gmake localbase libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${LOCALBASE}/etc
USE_RC_SUBR= g15daemon
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
${WRKSRC}/g15daemon/main.c
.include <bsd.port.mk>