1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/lemonbar-xft: Moved man to share/man

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-02-26 19:28:13 +01:00
parent 07e6bdccec
commit 38a0aec34d
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
2 changed files with 6 additions and 9 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= lemonbar-xft
DISTVERSION= g20201213
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= DtxdF@disroot.org
@ -20,7 +21,7 @@ USE_PERL5= build
CONFLICTS_INSTALL= lemonbar
PLIST_FILES= bin/lemonbar \
man/man1/lemonbar.1.gz
share/man/man1/lemonbar.1.gz
USE_GITLAB= yes
GL_ACCOUNT= protesilaos

View File

@ -1,6 +1,6 @@
--- Makefile 2022-08-04 15:25:38 UTC
--- Makefile.orig 2020-12-13 07:41:32 UTC
+++ Makefile
@@ -7,7 +7,7 @@ ifneq "$(GIT_DESC)" ""
@@ -7,7 +7,7 @@ CC ?= gcc
endif
CC ?= gcc
@ -9,7 +9,7 @@
LDFLAGS += -lxcb -lxcb-xinerama -lxcb-randr -lX11 -lX11-xcb -lXft -lfreetype -lz -lfontconfig
CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long \
-Wsign-conversion -Wconversion -Wimplicit-function-declaration
@@ -38,11 +38,12 @@ clean:
@@ -38,8 +38,9 @@ install: lemonbar doc
rm -f ./${EXEC}
install: lemonbar doc
@ -17,11 +17,7 @@
- install -D -m 644 lemonbar.1 ${DESTDIR}${PREFIX}/share/man/man1/lemonbar.1
+ install -d ${DESTDIR}${BINDIR}
+ install -m 755 lemonbar ${DESTDIR}${BINDIR}/lemonbar
+ install -m 644 lemonbar.1 ${DESTDIR}${PREFIX}/man/man1/lemonbar.1
+ install -m 644 lemonbar.1 ${DESTDIR}${PREFIX}/share/man/man1/lemonbar.1
uninstall:
rm -f ${DESTDIR}${BINDIR}/lemonbar
- rm -f $(DESTDIR)$(PREFIX)/share/man/man1/lemonbar.1
+ rm -f $(DESTDIR)$(PREFIX)/man/man1/lemonbar.1
.PHONY: all debug clean install