aboutsummaryrefslogtreecommitdiff
path: root/x11/inputplug/Makefile
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-10-04 18:38:22 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-10-04 18:39:31 +0000
commit1c0ab17170abe120b51a92ea278a10a5987263c1 (patch)
tree432e668b4134bed58c2293981450fac4807fb788 /x11/inputplug/Makefile
parentcdc9311a8b96c3d4050a027e63d1528098b379ae (diff)
downloadports-1c0ab17170abe120b51a92ea278a10a5987263c1.tar.gz
ports-1c0ab17170abe120b51a92ea278a10a5987263c1.zip
x11/inputplug: Update to 0.4.0
Diffstat (limited to 'x11/inputplug/Makefile')
-rw-r--r--x11/inputplug/Makefile48
1 files changed, 41 insertions, 7 deletions
diff --git a/x11/inputplug/Makefile b/x11/inputplug/Makefile
index e08f9a1ef965..99d4f26bfd9c 100644
--- a/x11/inputplug/Makefile
+++ b/x11/inputplug/Makefile
@@ -1,5 +1,5 @@
PORTNAME= inputplug
-DISTVERSION= 0.3
+DISTVERSION= 0.4.0
CATEGORIES= x11
MAINTAINER= 0mp@FreeBSD.org
@@ -8,17 +8,51 @@ COMMENT= XInput event monitor daemon
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= mk-configure>=0:devel/mk-configure
-
-USES= localbase perl5 pkgconfig xorg
+USES= cargo gmake pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= andrewshadura
-USE_PERL5= build
USE_XORG= x11 xcb xi
-MAKE_CMD= mkcmake
-MAKE_ARGS= MANDIR="${PREFIX}/share/man"
+CARGO_CRATES= anyhow-1.0.44 \
+ autocfg-1.0.1 \
+ bitflags-1.2.1 \
+ cc-1.0.70 \
+ cfg-if-1.0.0 \
+ clap-2.33.3 \
+ gethostname-0.2.1 \
+ heck-0.3.3 \
+ lazy_static-1.4.0 \
+ libc-0.2.103 \
+ log-0.4.14 \
+ memoffset-0.6.4 \
+ nix-0.20.2 \
+ nix-0.22.2 \
+ pidfile-rs-0.1.0 \
+ pkg-config-0.3.20 \
+ proc-macro-error-1.0.4 \
+ proc-macro-error-attr-1.0.4 \
+ proc-macro2-1.0.29 \
+ quote-1.0.9 \
+ structopt-0.3.23 \
+ structopt-derive-0.4.16 \
+ syn-1.0.78 \
+ textwrap-0.11.0 \
+ thiserror-1.0.29 \
+ thiserror-impl-1.0.29 \
+ unicode-segmentation-1.8.0 \
+ unicode-width-0.1.9 \
+ unicode-xid-0.2.2 \
+ version_check-0.9.3 \
+ winapi-0.3.9 \
+ winapi-i686-pc-windows-gnu-0.4.0 \
+ winapi-wsapoll-0.1.1 \
+ winapi-x86_64-pc-windows-gnu-0.4.0 \
+ x11rb-0.8.1
PLIST_FILES= bin/inputplug \
share/man/man1/inputplug.1.gz
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
.include <bsd.port.mk>