freebsd-ports/sysutils/msiklm/Makefile
Jason E. Hale db7a132818 - Update to latest commit from 20180507
- Drop FreeBSD 10.3 support

- Fix formatting in `msiklm help'
2018-05-09 14:05:22 +00:00

45 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= msiklm
DISTVERSION= g20180507
CATEGORIES= sysutils
MAINTAINER= jhale@FreeBSD.org
COMMENT= MSI keyboard light manager
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= This hardware is only found on x86 systems
LIB_DEPENDS= libhidapi.so:comms/hidapi
USES= dos2unix localbase:ldflags uidfix
DOS2UNIX_FILES= README.md
USE_GITHUB= yes
GH_ACCOUNT= Gibtnix
GH_PROJECT= MSIKLM
GH_TAGNAME= 329c4b1
MAKEFILE= ${FILESDIR}/Makefile.bsd
PORTDOCS= README.md
OPTIONS_DEFINE= DEVD DOCS SUID
OPTIONS_DEFAULT= DEVD SUID
DEVD_PLIST_FILES= etc/devd/msiklm.conf.sample
DEVD_SUB_FILES= msiklm.conf.sample pkg-message
SUID_DESC= Install msiklm with the setuid bit set
SUID_PLIST_FILES= "@(,,4555) bin/msiklm"
SUID_PLIST_FILES_OFF= bin/msiklm
post-install-DEVD-on:
${INSTALL_DATA} ${WRKDIR}/msiklm.conf.sample ${STAGEDIR}${PREFIX}/etc/devd
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>