Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 12:27:12 GMT
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c092b75d0643 - main - misc/countrycodes: Move manpages to share/man
Message-ID:  <202401211227.40LCRC3X057991@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c092b75d06436f64c0e6e7e802d83edb8dc9bd03

commit c092b75d06436f64c0e6e7e802d83edb8dc9bd03
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 12:27:09 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 12:27:09 +0000

    misc/countrycodes: Move manpages to share/man
---
 misc/countrycodes/Makefile             | 6 ++++--
 misc/countrycodes/files/patch-Makefile | 8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/misc/countrycodes/Makefile b/misc/countrycodes/Makefile
index dacceb7c4ea9..b74723bf7ead 100644
--- a/misc/countrycodes/Makefile
+++ b/misc/countrycodes/Makefile
@@ -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
diff --git a/misc/countrycodes/files/patch-Makefile b/misc/countrycodes/files/patch-Makefile
index 8e6ea391ab0c..6feacbe1e117 100644
--- a/misc/countrycodes/files/patch-Makefile
+++ b/misc/countrycodes/files/patch-Makefile
@@ -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)
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401211227.40LCRC3X057991>