diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-01-11 08:30:47 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2024-01-11 08:31:16 +0000 |
commit | 7c999aa2c8fff4ae016f17ecb9ac93217f74d6c9 (patch) | |
tree | 0c2e417380e67f55746e02b7311390a13a03d1f2 /x11/xdo | |
parent | 5433d7556e05de5f8b605a90f025c3c05aed3b3a (diff) | |
download | ports-7c999aa2c8fff4ae016f17ecb9ac93217f74d6c9.tar.gz ports-7c999aa2c8fff4ae016f17ecb9ac93217f74d6c9.zip |
x11/xdo: do not patch to handle manpages
While here move manpages to share/man
Diffstat (limited to 'x11/xdo')
-rw-r--r-- | x11/xdo/Makefile | 3 | ||||
-rw-r--r-- | x11/xdo/files/patch-Makefile | 13 |
2 files changed, 2 insertions, 14 deletions
diff --git a/x11/xdo/Makefile b/x11/xdo/Makefile index 2de38a6f66b1..153a42d6f18b 100644 --- a/x11/xdo/Makefile +++ b/x11/xdo/Makefile @@ -16,7 +16,8 @@ USES= gmake localbase:ldflags xorg USE_XORG= xcb USE_GITHUB= yes GH_ACCOUNT= baskerville +MAKE_ARGS= MANPREFIX="${PREFIX}/share/man" -PLIST_FILES= bin/xdo man/man1/xdo.1.gz +PLIST_FILES= bin/xdo share/man/man1/xdo.1.gz .include <bsd.port.mk> diff --git a/x11/xdo/files/patch-Makefile b/x11/xdo/files/patch-Makefile index a3927dd599ac..1ca74e437d75 100644 --- a/x11/xdo/files/patch-Makefile +++ b/x11/xdo/files/patch-Makefile @@ -9,16 +9,3 @@ CFLAGS += -std=c99 -pedantic -Wall -Wextra LDLIBS := -lxcb -lxcb-util -lxcb-icccm -lxcb-ewmh -lxcb-xtest -@@ -26,9 +26,9 @@ $(NAME): $(OBJ) - - install: - mkdir -p "$(DESTDIR)$(BINPREFIX)" -- cp -p $(NAME) "$(DESTDIR)$(BINPREFIX)" -- mkdir -p "$(DESTDIR)$(MANPREFIX)/man1" -- cp -p doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)/man1" -+ $(BSD_INSTALL_PROGRAM) $(NAME) "$(DESTDIR)$(BINPREFIX)" -+ mkdir -p "$(DESTDIR)$(MANPREFIX)/man/man1" -+ $(BSD_INSTALL_MAN) doc/$(NAME).1 "$(DESTDIR)$(MANPREFIX)/man/man1" - - uninstall: - rm -f "$(DESTDIR)$(BINPREFIX)/$(NAME)" |