git: 3a55ccece224 - main - audio/beep: Update manpages path
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 16:44:39 UTC
The branch main has been updated by garga:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a55ccece224a3fef2094cd71954ee097f0ff7cb
commit 3a55ccece224a3fef2094cd71954ee097f0ff7cb
Author: Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2024-01-08 13:57:50 +0000
Commit: Renato Botelho <garga@FreeBSD.org>
CommitDate: 2024-01-08 16:43:48 +0000
audio/beep: Update manpages path
Move manpages to ${PREFIX}/share/man
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
audio/beep/Makefile | 4 ++--
audio/beep/files/patch-Makefile | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/audio/beep/Makefile b/audio/beep/Makefile
index 5b629763596c..20135f2e12ca 100644
--- a/audio/beep/Makefile
+++ b/audio/beep/Makefile
@@ -1,6 +1,6 @@
PORTNAME= beep
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= LOCAL/garga/${PORTNAME}
@@ -13,7 +13,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
ONLY_FOR_ARCHS= amd64 i386
-PLIST_FILES= bin/beep man/man1/beep.1.gz
+PLIST_FILES= bin/beep share/man/man1/beep.1.gz
post-patch:
@${REINPLACE_CMD} 's|machine/speaker\.h|dev/speaker/speaker.h|' \
diff --git a/audio/beep/files/patch-Makefile b/audio/beep/files/patch-Makefile
index dafc18050252..dd314e189618 100644
--- a/audio/beep/files/patch-Makefile
+++ b/audio/beep/files/patch-Makefile
@@ -11,3 +11,12 @@
PROG= beep
SRCS= ${PROG}.c ${PROG}.h
LDADD=
+@@ -7,7 +12,7 @@ BINDIR= ${PREFIX}/bin
+
+ PREFIX?= /usr/local
+ BINDIR= ${PREFIX}/bin
+-MANDIR= ${PREFIX}/man/man
++MANDIR= ${PREFIX}/share/man/man
+
+ .if defined(DEBUG)
+ CFLAGS= -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual \