1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

net/dtcpclient: Move manpages to ${PREFIX}/share

This commit is contained in:
Hajimu UMEMOTO 2024-01-22 02:28:21 +09:00
parent fe274440b1
commit a6be2b90d2
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= dtcpclient
PORTVERSION= 20151002
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.mahoroba.org/~ume/ipv6/
@ -13,7 +13,7 @@ LICENSE= BSD2CLAUSE
USES= uidfix
USE_RC_SUBR= dtcpclient
PLIST_FILES= man/man8/dtcpclient.8.gz \
PLIST_FILES= share/man/man8/dtcpclient.8.gz \
sbin/dtcpclient \
"@sample %%EXAMPLESDIR%%/dtcpclient.script etc/dtcpclient.script"

View File

@ -1,6 +1,12 @@
--- Makefile.orig 2015-10-02 08:23:57 UTC
+++ Makefile
@@ -45,7 +45,7 @@ MANDIR= $(PREFIX)/man/man
@@ -40,12 +40,12 @@ EXAMPLESDIR= $(PREFIX)/share/examples/dtcpclient
.if ($(OPSYS) == "NetBSD")
MANDIR= $(PREFIX)/man
.else
-MANDIR= $(PREFIX)/man/man
+MANDIR= $(PREFIX)/share/man/man
.endif
CFLAGS+= -Wall -DPREFIX=\"$(PREFIX)\"