aboutsummaryrefslogtreecommitdiff
path: root/x11/simplestroke
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-07-30 16:15:07 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-07-30 16:15:07 +0000
commit5a696ab0ec7b420ac10994cd9165b2a0b6cb291d (patch)
tree50f3af9edaf7b8771483677101bcb83c55268059 /x11/simplestroke
parent26d589206e4382a4bcd47ef56296162871d2c15e (diff)
downloadports-5a696ab0ec7b420ac10994cd9165b2a0b6cb291d.tar.gz
ports-5a696ab0ec7b420ac10994cd9165b2a0b6cb291d.zip
x11/simplestroke: Update to 1.2.1
Adds an evdev backend so that it can run everywhere and not just under Xorg.
Notes
Notes: svn path=/head/; revision=507651
Diffstat (limited to 'x11/simplestroke')
-rw-r--r--x11/simplestroke/Makefile34
-rw-r--r--x11/simplestroke/distinfo6
2 files changed, 30 insertions, 10 deletions
diff --git a/x11/simplestroke/Makefile b/x11/simplestroke/Makefile
index b3cd16e6ff3a..0d727bd4aba8 100644
--- a/x11/simplestroke/Makefile
+++ b/x11/simplestroke/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= simplestroke
-PORTVERSION= 1.1
DISTVERSIONPREFIX= v
+DISTVERSION= 1.2.1
CATEGORIES= x11
MAINTAINER= tobik@FreeBSD.org
@@ -12,15 +12,35 @@ COMMENT= Detect mouse gestures
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
+USES= pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= t6
-USES= pkgconfig
-USE_XORG= x11 xtst
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= LDFLAGS="${LDFLAGS}" \
+ PREFIX="${PREFIX}"
+MAKE_ARGS= INSTALL_LIB="${INSTALL_LIB}" \
+ INSTALL_MAN="${INSTALL_MAN}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}"
+
+PLIST_FILES= "${_MAYBE_SUID}bin/simplestroke" \
+ "${_MAYBE_SUID}bin/simplestroke-daemon" \
+ man/man1/simplestroke-daemon.1.gz \
+ man/man1/simplestroke.1.gz
+
+OPTIONS_DEFINE= SUID X11
+OPTIONS_DEFAULT= SUID X11
+OPTIONS_SUB= yes
+
+SUID_DESC= Install with setuid bit for opening evdev(4) devices
+X11_DESC= XTEST based mouse tracker
+
+SUID_VARS_OFF= _MAYBE_SUID=""
+SUID_VARS= _MAYBE_SUID="@(,,4755) "
+
+X11_USE= XORG=x11,xtst
-PLIST_FILES= bin/simplestroke \
- bin/simplestroke-daemon \
- man/man1/simplestroke.1.gz \
- man/man1/simplestroke-daemon.1.gz
+pre-configure-X11-off:
+ @${ECHO_CMD} HAVE_X11=0 > ${WRKSRC}/configure.local
.include <bsd.port.mk>
diff --git a/x11/simplestroke/distinfo b/x11/simplestroke/distinfo
index c65ff022f051..8a2131dd4c05 100644
--- a/x11/simplestroke/distinfo
+++ b/x11/simplestroke/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1493576120
-SHA256 (t6-simplestroke-v1.1_GH0.tar.gz) = 113b9557138fbcd060f7627ec5229765db4a574a335a961b1236897a02bbc4d5
-SIZE (t6-simplestroke-v1.1_GH0.tar.gz) = 7996
+TIMESTAMP = 1563961867
+SHA256 (t6-simplestroke-v1.2.1_GH0.tar.gz) = 083a7b902d46499150068b1400828c1cf4499fee2e35c5ed1ad64cbfcfdfcb9e
+SIZE (t6-simplestroke-v1.2.1_GH0.tar.gz) = 25748