aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 18:35:07 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-24 19:25:24 +0000
commit9021729acb695feabb6a75d2c84aaef66cdc1891 (patch)
tree0e077ec93d60ad1aeeeb3fb9f05fe3e1f76df839
parentc5fef461e54af62ee47cacb45085698c84ccea34 (diff)
downloadports-9021729acb695feabb6a75d2c84aaef66cdc1891.tar.gz
ports-9021729acb695feabb6a75d2c84aaef66cdc1891.zip
comms/cwdaemon: Moved man to share/man
Approved by: portmgr (blanket)
-rw-r--r--comms/cwdaemon/Makefile11
-rw-r--r--comms/cwdaemon/pkg-plist2
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