diff options
author | Renato Botelho <garga@FreeBSD.org> | 2024-01-08 13:57:50 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2024-01-08 16:43:48 +0000 |
commit | 3a55ccece224a3fef2094cd71954ee097f0ff7cb (patch) | |
tree | b9f1a78f2374b3b54955d1af24df021bce38e709 | |
parent | db333b1961d750cd40d9fc7bd82326acd635a397 (diff) | |
download | ports-3a55ccece224a3fef2094cd71954ee097f0ff7cb.tar.gz ports-3a55ccece224a3fef2094cd71954ee097f0ff7cb.zip |
audio/beep: Update manpages path
Move manpages to ${PREFIX}/share/man
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r-- | audio/beep/Makefile | 4 | ||||
-rw-r--r-- | 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 \ |