summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2021-07-10 16:48:00 +0000
committerdholland <dholland@pkgsrc.org>2021-07-10 16:48:00 +0000
commit33c8ea4b5a532f8114bceed624bdc36ecef02d0a (patch)
treec060d41a2d70ff6e384d6c28473675545153e78b /ham
parent23cb81edaca9dd18cff65cdd46681ee89ceda521 (diff)
downloadpkgsrc-33c8ea4b5a532f8114bceed624bdc36ecef02d0a.tar.gz
ham/rtl-sdr: apply patch from mef@ to fix PR pkg/55348.
Install the man pages. PKGREVISION -> 1. (with minor adjustments to the proposed patch)
Diffstat (limited to 'ham')
-rw-r--r--ham/rtl-sdr/Makefile12
-rw-r--r--ham/rtl-sdr/PLIST9
2 files changed, 19 insertions, 2 deletions
diff --git a/ham/rtl-sdr/Makefile b/ham/rtl-sdr/Makefile
index e649d1f56ff..5c3c81bd887 100644
--- a/ham/rtl-sdr/Makefile
+++ b/ham/rtl-sdr/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2019/11/03 19:32:08 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2021/07/10 16:48:00 dholland Exp $
DISTNAME= rtl-sdr-0.6.0
+PKGREVISION= 1
CATEGORIES= ham
MASTER_SITES= ${MASTER_SITE_GITHUB:=steve-m/}
GITHUB_PROJECT= librtlsdr
@@ -22,9 +23,18 @@ CMAKE_ARG_PATH= ..
PKGCONFIG_OVERRIDE+= librtlsdr.pc.in
LDFLAGS.SunOS+= -lsocket -lnsl
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
pre-configure:
${MKDIR} ${WRKSRC}/build
+
+PAGES= rtl_adsb.1 rtl_eeprom.1 rtl_fm.1 rtl_power.1 rtl_sdr.1 \
+ rtl_tcp.1 rtl_test.1
+post-install:
+.for i in ${PAGES}
+ ${INSTALL} ${WRKSRC}/debian/${i} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+.endfor
+
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/ham/rtl-sdr/PLIST b/ham/rtl-sdr/PLIST
index 5574f8d4d52..5378939d8d1 100644
--- a/ham/rtl-sdr/PLIST
+++ b/ham/rtl-sdr/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/01/26 09:10:39 dbj Exp $
+@comment $NetBSD: PLIST,v 1.3 2021/07/10 16:48:00 dholland Exp $
bin/rtl_adsb
bin/rtl_eeprom
bin/rtl_fm
@@ -13,3 +13,10 @@ lib/librtlsdr.so
lib/librtlsdr.so.0
lib/librtlsdr.so.${PKGVERSION}
lib/pkgconfig/librtlsdr.pc
+man/man1/rtl_adsb.1
+man/man1/rtl_eeprom.1
+man/man1/rtl_fm.1
+man/man1/rtl_power.1
+man/man1/rtl_sdr.1
+man/man1/rtl_tcp.1
+man/man1/rtl_test.1