git: 02eb103023e2 - main - ports-mgmt/dialog4ports: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Mar 2024 23:39:53 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=02eb103023e2135c1b780a4a8ed120da2804b552
commit 02eb103023e2135c1b780a4a8ed120da2804b552
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-03-05 21:59:31 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-03-05 23:35:47 +0000
ports-mgmt/dialog4ports: Move man pages to share/man
Approved by: portmgr (blanket)
---
ports-mgmt/dialog4ports/Makefile | 4 ++--
ports-mgmt/dialog4ports/files/patch-Makefile | 8 ++++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/ports-mgmt/dialog4ports/Makefile b/ports-mgmt/dialog4ports/Makefile
index 5b951ea9653a..e8167ac67393 100644
--- a/ports-mgmt/dialog4ports/Makefile
+++ b/ports-mgmt/dialog4ports/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dialog4ports
PORTVERSION= 0.1.6
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= ports-mgmt
MASTER_SITES= https://files.etoilebsd.net/dialog4ports/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
@@ -28,7 +28,7 @@ BROKEN= Requires libdialog in base
DEPRECATED= Consider using ports-mgmt/portconfig which is a dropin replacement
.if !defined(D4P_SLAVE)
-PLIST_FILES= bin/dialog4ports man/man1/${PORTNAME}.1.gz
+PLIST_FILES= bin/dialog4ports share/man/man1/${PORTNAME}.1.gz
.endif
.include <bsd.port.pre.mk>
diff --git a/ports-mgmt/dialog4ports/files/patch-Makefile b/ports-mgmt/dialog4ports/files/patch-Makefile
index 642df2acd2ce..66827294bd3a 100644
--- a/ports-mgmt/dialog4ports/files/patch-Makefile
+++ b/ports-mgmt/dialog4ports/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig 2016-07-08 14:49:08 UTC
+++ Makefile
-@@ -5,7 +5,12 @@ RM?= rm
+@@ -5,10 +5,15 @@ RM?= rm
MAN= ${PROG}.1.gz
PROG= dialog4ports
CFLAGS+= -Wall -pedantic
@@ -13,4 +13,8 @@
+LDADD+= -lm
PREFIX?= /usr/local
BINDIR= ${PREFIX}/bin
- MAN1DIR= ${PREFIX}/man/man1
+-MAN1DIR= ${PREFIX}/man/man1
++MAN1DIR= ${PREFIX}/share/man/man1
+ BSD_INSTALL_PROGRAM?= install -m 0555
+ BSD_INSTALL_DATA?= install -m 0444
+