From 33c8ea4b5a532f8114bceed624bdc36ecef02d0a Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 10 Jul 2021 16:48:00 +0000 Subject: 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) --- ham/rtl-sdr/Makefile | 12 +++++++++++- ham/rtl-sdr/PLIST | 9 ++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'ham') 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 -- cgit v1.2.3