1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

x11/libinput: simplify port

- drop unnecessary OLD_CMD (this is one of the standard replacements,
  at least in combination with allowing all current Pythons)
- don't add to MESON_ARGS, assign instead (they start out unset)
- allow all relevant Pythons (any of the supported Python 3 versions)
- use HTTPs by default (the http link redirects there anyway)
- shebang all the Python scripts, even the ones not actually installed.
This commit is contained in:
Adriaan de Groot 2021-10-11 00:59:21 +02:00
parent 92cc763927
commit bdcc091752

View File

@ -1,7 +1,8 @@
PORTNAME= libinput
PORTVERSION= 1.19.1
DISTVERSION= 1.19.1
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://freedesktop.org/software/${PORTNAME}/
MASTER_SITES= https://freedesktop.org/software/${PORTNAME}/
MAINTAINER= x11@FreeBSD.org
COMMENT= Generic input library
@ -16,12 +17,11 @@ LIB_DEPENDS= libevdev.so:devel/libevdev \
libudev.so:devel/libudev-devd \
libmtdev.so:devel/libmtdev
USES= localbase meson pkgconfig python:3.4+,run shebangfix tar:xz
USES= localbase meson pkgconfig python:run shebangfix tar:xz
USE_LDCONFIG= yes
MESON_ARGS+= -Ddocumentation=false -Dtests=false
MESON_ARGS= -Ddocumentation=false -Dtests=false
python_OLD_CMD= "/usr/bin/env python3"
SHEBANG_FILES= tools/libinput-analyze-per-slot-delta.py \
tools/libinput-analyze-recording.py \
tools/libinput-analyze-touch-down-state.py \
@ -31,6 +31,10 @@ SHEBANG_FILES= tools/libinput-analyze-per-slot-delta.py \
tools/libinput-measure-touchpad-size.py \
tools/libinput-measure-touchpad-tap.py \
tools/libinput-replay.py
# The following files are not installed, but might be
# run as part of the test suite.
SHEBANG_FILES+= tools/test_tool_option_parsing.py \
tools/libinput-record-verify-yaml.py
OPTIONS_DEFINE= DEBUG_GUI LIBWACOM
OPTIONS_DEFAULT=LIBWACOM