Lines 1-7
Link Here
|
1 |
# Created by: Alexander Vereeken <Alexander88207@protonmail.com> |
1 |
# Created by: Alexander Vereeken <Alexander88207@protonmail.com> |
2 |
|
2 |
|
3 |
PORTNAME= headsetcontrol |
3 |
PORTNAME= headsetcontrol |
4 |
PORTVERSION= 2.3 |
4 |
PORTVERSION= 2.4 |
5 |
CATEGORIES= audio |
5 |
CATEGORIES= audio |
6 |
|
6 |
|
7 |
MAINTAINER= Alexander88207@protonmail.com |
7 |
MAINTAINER= Alexander88207@protonmail.com |
Lines 11-17
LICENSE= GPLv3
Link Here
|
11 |
LICENSE_FILE= ${WRKSRC}/license |
11 |
LICENSE_FILE= ${WRKSRC}/license |
12 |
|
12 |
|
13 |
BUILD_DEPENDS= hidapi>=0:comms/hidapi |
13 |
BUILD_DEPENDS= hidapi>=0:comms/hidapi |
14 |
LIB_DEPENDS+= libhidapi.so:comms/hidapi |
14 |
LIB_DEPENDS= libhidapi.so:comms/hidapi |
15 |
|
15 |
|
16 |
USES= cmake |
16 |
USES= cmake |
17 |
|
17 |
|
Lines 19-40
USE_GITHUB= yes
Link Here
|
19 |
GH_ACCOUNT= Sapd |
19 |
GH_ACCOUNT= Sapd |
20 |
GH_PROJECT= HeadsetControl |
20 |
GH_PROJECT= HeadsetControl |
21 |
|
21 |
|
22 |
post-patch: |
22 |
PLIST_FILES= ${LOCALBASE}/bin/headsetcontrol |
23 |
@${REINPLACE_CMD} -e 's|/etc/udev/|/usr/local/etc/udev/|g' ${WRKSRC}/CMakeLists.txt |
|
|
24 |
|
25 |
PLIST_FILES= ${LOCALBASE}/bin/headsetcontrol \ |
26 |
${LOCALBASE}/etc/udev/rules.d/50-corsair-void-pro-usb.rules \ |
27 |
${LOCALBASE}/etc/udev/rules.d/50-corsair-void-pro.rules \ |
28 |
${LOCALBASE}/etc/udev/rules.d/50-corsair-void.rules \ |
29 |
${LOCALBASE}/etc/udev/rules.d/50-corsair_void_rgb_usb.rules \ |
30 |
${LOCALBASE}/etc/udev/rules.d/50-logitech-g430.rules \ |
31 |
${LOCALBASE}/etc/udev/rules.d/50-logitech-g533.rules \ |
32 |
${LOCALBASE}/etc/udev/rules.d/50-logitech-g633.rules \ |
33 |
${LOCALBASE}/etc/udev/rules.d/50-logitech-g930.rules \ |
34 |
${LOCALBASE}/etc/udev/rules.d/50-logitech-g933.rules \ |
35 |
${LOCALBASE}/etc/udev/rules.d/50-logitech-g935.rules \ |
36 |
${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-7-2019.rules \ |
37 |
${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-7.rules \ |
38 |
${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-pro-2019.rules |
39 |
|
23 |
|
40 |
.include <bsd.port.mk> |
24 |
.include <bsd.port.mk> |