pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/fldigi ham/fldigi: avoid hard coding bundled dylib...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4b1e5a770031
branches: trunk
changeset: 443090:4b1e5a770031
user: dbj <dbj%pkgsrc.org@localhost>
date: Sun Dec 06 20:40:59 2020 +0000
description:
ham/fldigi: avoid hard coding bundled dylib versions in PLIST.Darwin
diffstat:
ham/fldigi/Makefile | 19 ++++++++++++++-----
ham/fldigi/PLIST.Darwin | 29 +----------------------------
2 files changed, 15 insertions(+), 33 deletions(-)
diffs (80 lines):
diff -r 85651412d91f -r 4b1e5a770031 ham/fldigi/Makefile
--- a/ham/fldigi/Makefile Sun Dec 06 19:50:38 2020 +0000
+++ b/ham/fldigi/Makefile Sun Dec 06 20:40:59 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.123 2020/12/06 00:22:04 dbj Exp $
+# $NetBSD: Makefile,v 1.124 2020/12/06 20:40:59 dbj Exp $
DISTNAME= fldigi-4.1.01
PKGREVISION= 12
@@ -45,8 +45,9 @@
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
-PLIST_SUBST+= FLDIGI_VERSION=${PKGVERSION_NOREV}
-PLIST_SUBST+= FLARQ_VERSION="4.3.7"
+
+FLDIGI_VERSION= ${PKGVERSION_NOREV}
+FLARQ_VERSION= 4.3.7
post-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} appbundle
@@ -62,8 +63,16 @@
cd ${WRKSRC}/src/${DISTNAME} && \
pax -rw -pp -pm *.app ${DESTDIR}${PREFIX}/Applications
-CHECK_SHLIBS_SKIP+= Applications/*/Contents/Frameworks/*.dylib
-CHECK_WRKREF_SKIP+= Applications/*/Contents/MacOS/*
+PLIST_SUBST+= FLDIGI_VERSION=${FLDIGI_VERSION}
+PLIST_SUBST+= FLARQ_VERSION=${FLARQ_VERSION}
+GENERATE_PLIST+= (cd ${DESTDIR}${PREFIX} && ${LS} \
+ Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/lib*.dylib \
+ Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/lib*.dylib);
+
+CHECK_SHLIBS_SKIP+= Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/lib*.dylib
+CHECK_SHLIBS_SKIP+= Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/lib*.dylib
+CHECK_WRKREF_SKIP+= Applications/flarq-${FLARQ_VERSION}.app/Contents/MacOS/flarq
+CHECK_WRKREF_SKIP+= Applications/fldigi-${FLDIGI_VERSION}.app/Contents/MacOS/fldigi
.endif
.include "../../audio/libsamplerate/buildlink3.mk"
diff -r 85651412d91f -r 4b1e5a770031 ham/fldigi/PLIST.Darwin
--- a/ham/fldigi/PLIST.Darwin Sun Dec 06 19:50:38 2020 +0000
+++ b/ham/fldigi/PLIST.Darwin Sun Dec 06 20:40:59 2020 +0000
@@ -1,35 +1,8 @@
-@comment $NetBSD: PLIST.Darwin,v 1.1 2020/12/06 00:22:04 dbj Exp $
-Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/libfltk.1.dylib
-Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/libfltk_images.1.dylib
-Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/libflxmlrpc.1.dylib
-Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/libintl.8.dylib
-Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/libjpeg.9.dylib
-Applications/flarq-${FLARQ_VERSION}.app/Contents/Frameworks/libpng16.16.dylib
+@comment $NetBSD: PLIST.Darwin,v 1.2 2020/12/06 20:40:59 dbj Exp $
Applications/flarq-${FLARQ_VERSION}.app/Contents/Info.plist
Applications/flarq-${FLARQ_VERSION}.app/Contents/MacOS/flarq
Applications/flarq-${FLARQ_VERSION}.app/Contents/PkgInfo
Applications/flarq-${FLARQ_VERSION}.app/Contents/Resources/flarq.icns
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libFLAC.8.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libdbus-1.3.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libfltk.1.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libfltk_images.1.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libflxmlrpc.1.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libgdbm.6.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libhamlib.2.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libintl.8.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libjpeg.9.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libogg.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libopus.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libpng16.16.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libportaudio.2.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libpulse-simple.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libpulse.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libpulsecommon-13.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libsamplerate.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libsndfile.1.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libusb-1.0.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libvorbis.0.dylib
-Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Frameworks/libvorbisenc.2.dylib
Applications/fldigi-${FLDIGI_VERSION}.app/Contents/Info.plist
Applications/fldigi-${FLDIGI_VERSION}.app/Contents/MacOS/fldigi
Applications/fldigi-${FLDIGI_VERSION}.app/Contents/PkgInfo
Home |
Main Index |
Thread Index |
Old Index