Skip to content

Commit

Permalink
x11/lemonbar-xft: Moved man to share/man
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Feb 26, 2024
1 parent 07e6bdc commit 38a0aec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion x11/lemonbar-xft/Makefile
@@ -1,5 +1,6 @@
PORTNAME= lemonbar-xft
DISTVERSION= g20201213
PORTREVISION= 1
CATEGORIES= x11

MAINTAINER= DtxdF@disroot.org
Expand All @@ -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
Expand Down
12 changes: 4 additions & 8 deletions x11/lemonbar-xft/files/patch-Makefile
@@ -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
Expand All @@ -9,19 +9,15 @@
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
- install -D -m 755 lemonbar ${DESTDIR}${BINDIR}/lemonbar
- 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

0 comments on commit 38a0aec

Please sign in to comment.