aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Druzenko <vvd@FreeBSD.org>2024-03-05 21:59:31 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-03-05 23:35:47 +0000
commit02eb103023e2135c1b780a4a8ed120da2804b552 (patch)
tree78bec3e48ed4dbf945157541124630a974c6757e
parent39af87bea82cfc298d571ccf0aaf56c52a8d9ca4 (diff)
downloadports-02eb103023e2135c1b780a4a8ed120da2804b552.tar.gz
ports-02eb103023e2135c1b780a4a8ed120da2804b552.zip
ports-mgmt/dialog4ports: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--ports-mgmt/dialog4ports/Makefile4
-rw-r--r--ports-mgmt/dialog4ports/files/patch-Makefile8
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
+