misc/countrycodes: Move manpages to share/man

This commit is contained in:
Emanuel Haupt 2024-01-21 13:27:09 +01:00
parent 4eb5db88a8
commit c092b75d06
2 changed files with 8 additions and 6 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= countrycodes
PORTVERSION= 1.0.6
DISTVERSION= 1.0.6
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
@ -10,7 +11,8 @@ WWW= https://sourceforge.net/projects/countrycodes/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
PLIST_FILES= bin/iso3166 man/man1/iso3166.1.gz
PLIST_FILES= bin/iso3166 \
share/man/man1/iso3166.1.gz
PORTDOCS= README
OPTIONS_DEFINE= DOCS

View file

@ -1,15 +1,15 @@
--- Makefile.orig 2017-02-26 15:02:56 UTC
+++ Makefile
@@ -9,7 +9,7 @@
@@ -9,7 +9,7 @@ bindir ?= ${prefix}/bin
prefix ?= /usr/local
bindir ?= ${prefix}/bin
-mandir ?= ${prefix}/man/man1
+mandir ?= ${MANPREFIX}/man/man1
+mandir ?= ${MANPREFIX}/share/man/man1
# For system that doesn't support mkdir -p.
# If you have Linux, don't bother.
@@ -23,13 +23,13 @@ BINMODE=755
@@ -23,13 +23,13 @@ LOGDIRMODE=700
LOGDIRMODE=700
# Compiler to use
@ -26,7 +26,7 @@
# The makefile standards document I read says that I have to put it here...
SHELL = /bin/sh
@@ -66,11 +66,11 @@ clean:
@@ -66,11 +66,11 @@ strip:
strip:
strip $(PROGRAM)