git: 9021729acb69 - main - comms/cwdaemon: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 19:25:44 UTC
The branch main has been updated by bofh:

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

commit 9021729acb695feabb6a75d2c84aaef66cdc1891
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 18:35:07 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 19:25:24 +0000

    comms/cwdaemon: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 comms/cwdaemon/Makefile  | 11 ++++++++---
 comms/cwdaemon/pkg-plist |  2 +-
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/comms/cwdaemon/Makefile b/comms/cwdaemon/Makefile
index a303bfff0379..12249785be20 100644
--- a/comms/cwdaemon/Makefile
+++ b/comms/cwdaemon/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cwdaemon
 PORTVERSION=	0.10.2
+PORTREVISION=	1
 CATEGORIES=	comms hamradio
 
 MAINTAINER=	hamradio@FreeBSD.org
@@ -9,12 +10,16 @@ LICENSE=	GPLv2
 
 LIB_DEPENDS=	libcw.so:comms/unixcw
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/doc
-USES=		pkgconfig autoreconf
+USES=		autoreconf pkgconfig shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	acerion
 
+SHEBANG_FILES=	examples/example.pl
+
+GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/doc
+
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-install:
diff --git a/comms/cwdaemon/pkg-plist b/comms/cwdaemon/pkg-plist
index 7b0c026ee87e..fb9c079677f0 100644
--- a/comms/cwdaemon/pkg-plist
+++ b/comms/cwdaemon/pkg-plist
@@ -1,5 +1,5 @@
 sbin/cwdaemon
-man/man8/cwdaemon.8.gz
+share/man/man8/cwdaemon.8.gz
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/cwdaemon.png
 %%PORTDOCS%%%%DOCSDIR%%/cwsetup.sh