pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/rtl-sdr ham/rtl-sdr: apply patch from mef@ to fix ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48d30ec97ed2
branches:  trunk
changeset: 455757:48d30ec97ed2
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Jul 10 16:48:00 2021 +0000

description:
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:

 ham/rtl-sdr/Makefile |  12 +++++++++++-
 ham/rtl-sdr/PLIST    |   9 ++++++++-
 2 files changed, 19 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r 5399a047b4f1 -r 48d30ec97ed2 ham/rtl-sdr/Makefile
--- a/ham/rtl-sdr/Makefile      Sat Jul 10 15:49:21 2021 +0000
+++ b/ham/rtl-sdr/Makefile      Sat Jul 10 16:48:00 2021 +0000
@@ -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 @@
 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 -r 5399a047b4f1 -r 48d30ec97ed2 ham/rtl-sdr/PLIST
--- a/ham/rtl-sdr/PLIST Sat Jul 10 15:49:21 2021 +0000
+++ b/ham/rtl-sdr/PLIST Sat Jul 10 16:48:00 2021 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index