Skip to content

Commit

Permalink
dns/wrapsrv: Move man pages to share/man
Browse files Browse the repository at this point in the history
Sponsored by:	DomainTools LLC
  • Loading branch information
DonLewisFreeBSD committed Mar 7, 2024
1 parent 6529680 commit c9854eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dns/wrapsrv/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORTNAME= wrapsrv
PORTVERSION= 1.0.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight

Expand All @@ -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
Expand Down
8 changes: 3 additions & 5 deletions dns/wrapsrv/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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

Expand Down

0 comments on commit c9854eb

Please sign in to comment.