aboutsummaryrefslogtreecommitdiff
path: root/sysutils/afio
diff options
context:
space:
mode:
authorChris Hutchinson <portmaster@bsdforge.com>2024-03-01 18:09:54 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-03-01 18:11:59 +0000
commit138eb13e8b73d136518d79ebd2820b827d8e1419 (patch)
treeef9d6dd1d42c1268d92243992e3d5dfe10482c22 /sysutils/afio
parenta246148506e536a1fa82f700ff41cc47b03b8afa (diff)
downloadports-138eb13e8b73d136518d79ebd2820b827d8e1419.tar.gz
ports-138eb13e8b73d136518d79ebd2820b827d8e1419.zip
*: Move manpages to share/man
PR: 277322
Diffstat (limited to 'sysutils/afio')
-rw-r--r--sysutils/afio/Makefile3
-rw-r--r--sysutils/afio/files/patch-Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/afio/Makefile b/sysutils/afio/Makefile
index 81b4a0f2e087..ea922bd73719 100644
--- a/sysutils/afio/Makefile
+++ b/sysutils/afio/Makefile
@@ -1,5 +1,6 @@
PORTNAME= afio
PORTVERSION= 2.5.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://members.chello.nl/~k.holtman/
@@ -16,7 +17,7 @@ ALL_TARGET= ${PORTNAME}
SUB_FILES= pkg-message
-PLIST_FILES= bin/afio man/man1/afio.1.gz
+PLIST_FILES= bin/afio share/man/man1/afio.1.gz
PORTDOCS= HISTORY README SCRIPTS
PORTEXAMPLES= *
diff --git a/sysutils/afio/files/patch-Makefile b/sysutils/afio/files/patch-Makefile
index f9ab01181701..5c075f55baee 100644
--- a/sysutils/afio/files/patch-Makefile
+++ b/sysutils/afio/files/patch-Makefile
@@ -56,7 +56,7 @@
- cp afio /usr/local/bin
- cp afio.1 /usr/share/man/man1
+ ${BSD_INSTALL_PROGRAM} afio ${DESTDIR}${PREFIX}/bin
-+ ${BSD_INSTALL_MAN} afio.1 ${DESTDIR}${PREFIX}/man/man1
++ ${BSD_INSTALL_MAN} afio.1 ${DESTDIR}${PREFIX}/share/man/man1
# generate default list of -E extensions from manpage
# note: on sun, I had to change awk command below to nawk or gawk