git: c9854ebbf803 - main - dns/wrapsrv: Move man pages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Mar 2024 06:27:50 UTC
The branch main has been updated by truckman:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c9854ebbf8031c0e10ecfb11fff57860b40b26a7
commit c9854ebbf8031c0e10ecfb11fff57860b40b26a7
Author: Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2024-03-07 06:26:28 +0000
Commit: Don Lewis <truckman@FreeBSD.org>
CommitDate: 2024-03-07 06:26:28 +0000
dns/wrapsrv: Move man pages to share/man
Sponsored by: DomainTools LLC
---
dns/wrapsrv/Makefile | 4 ++--
dns/wrapsrv/files/patch-Makefile | 8 +++-----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/dns/wrapsrv/Makefile b/dns/wrapsrv/Makefile
index 8a05e8260202..9b7589b79241 100644
--- a/dns/wrapsrv/Makefile
+++ b/dns/wrapsrv/Makefile
@@ -1,6 +1,6 @@
PORTNAME= wrapsrv
PORTVERSION= 1.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
@@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BUILD_DEPENDS= docbook2mdoc:textproc/docbook2mdoc
-PLIST_FILES= bin/wrapsrv man/man1/wrapsrv.1.gz
+PLIST_FILES= bin/wrapsrv share/man/man1/wrapsrv.1.gz
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wrapsrv
diff --git a/dns/wrapsrv/files/patch-Makefile b/dns/wrapsrv/files/patch-Makefile
index df5b30399864..abe1905d3ef9 100644
--- a/dns/wrapsrv/files/patch-Makefile
+++ b/dns/wrapsrv/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig 2014-07-30 21:21:46 UTC
+++ Makefile
-@@ -1,25 +1,22 @@
+@@ -1,10 +1,7 @@
-CC = gcc
-WARN = -Wall -Wextra -Werror
-CFLAGS = -O2 -g $(WARN)
@@ -12,10 +12,8 @@
+PREFIX ?= /usr/local
BINDIR ?= $(DESTDIR)$(PREFIX)/bin
--MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
-+MANDIR ?= $(DESTDIR)$(PREFIX)/man/man1
-
- BIN = wrapsrv
+ MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
+@@ -13,13 +10,13 @@ SRC = wrapsrv.c
MAN = wrapsrv.1
SRC = wrapsrv.c