aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2024-01-21 15:00:33 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-01-21 15:03:06 +0000
commit40bee3cbc85f61c6c0f3c088a4cdaae611b8deea (patch)
tree6d83f74689fe28c544fafdc03a06926b1704d86b
parent27c87a9897f6db98e8afc07c6584a53f3e8e9e27 (diff)
downloadports-40bee3cbc85f61c6c0f3c088a4cdaae611b8deea.tar.gz
ports-40bee3cbc85f61c6c0f3c088a4cdaae611b8deea.zip
x11/xdotool: Move manpages to share/man
While here, cleanup
-rw-r--r--x11/xdotool/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/x11/xdotool/Makefile b/x11/xdotool/Makefile
index 9779d759b1ec..df7745cb217c 100644
--- a/x11/xdotool/Makefile
+++ b/x11/xdotool/Makefile
@@ -1,5 +1,6 @@
PORTNAME= xdotool
DISTVERSION= 3.20211022.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11
MASTER_SITES= https://github.com/jordansissel/xdotool/releases/download/v${DISTVERSION}/
@@ -14,22 +15,18 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon
USES= gmake perl5 pkgconfig xorg
-
USE_LDCONFIG= yes
USE_PERL5= build
USE_XORG= x11 xi xinerama xtst
+MAKE_ARGS= INSTALLMAN=$(PREFIX)/share/man
+
PLIST_FILES= bin/xdotool \
include/xdo.h \
lib/libxdo.so \
lib/libxdo.so.3 \
libdata/pkgconfig/libxdo.pc \
- man/man1/xdotool.1.gz
-
-# Older GCC on RELENG_6 doesn't like -Wno-missing-field-initializers
-#post-patch:
-# @${REINPLACE_CMD} -e 's,-Wno-missing-field-initializers,,' \
-# ${WRKSRC}/Makefile
+ share/man/man1/xdotool.1.gz
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdotool \