mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
cf118ccf87
Reported by: lwhsu
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
PORTNAME= msiklm
|
|
DISTVERSION= g20200426
|
|
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= 9faa58
|
|
|
|
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>
|