pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/freedv icons are not installed on Darwin, so omit ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/888db7c005c9
branches:  trunk
changeset: 645341:888db7c005c9
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Tue Jan 27 08:29:52 2015 +0000

description:
icons are not installed on Darwin, so omit them from PLIST

diffstat:

 ham/freedv/Makefile |   8 +++++++-
 ham/freedv/PLIST    |  12 ++++++------
 2 files changed, 13 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r cfd7928986fb -r 888db7c005c9 ham/freedv/Makefile
--- a/ham/freedv/Makefile       Tue Jan 27 08:19:22 2015 +0000
+++ b/ham/freedv/Makefile       Tue Jan 27 08:29:52 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2015/01/27 08:19:22 dbj Exp $
+# $NetBSD: Makefile,v 1.5 2015/01/27 08:29:52 dbj Exp $
 #
 
 VERSION=       0.97.0.1696
@@ -31,6 +31,12 @@
 SUBST_STAGE.fixbinconst=       pre-configure
 SUBST_FILES.fixbinconst+=      src/varicode_table.h
 
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+=   icons
+.if ${OPSYS} != "Darwin"
+PLIST.icons=   yes
+.endif
 pre-configure:
        ${MKDIR} ${WRKSRC}/build
 
diff -r cfd7928986fb -r 888db7c005c9 ham/freedv/PLIST
--- a/ham/freedv/PLIST  Tue Jan 27 08:19:22 2015 +0000
+++ b/ham/freedv/PLIST  Tue Jan 27 08:29:52 2015 +0000
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2014/09/10 12:16:15 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2015/01/27 08:29:52 dbj Exp $
 bin/freedv
-share/applications/freedv.desktop
-share/icons/hicolor/128x128/apps/freedv.png
-share/icons/hicolor/256x256/apps/freedv.png
-share/icons/hicolor/48x48/apps/freedv.png
-share/icons/hicolor/64x64/apps/freedv.png
+${PLIST.icons}share/applications/freedv.desktop
+${PLIST.icons}share/icons/hicolor/128x128/apps/freedv.png
+${PLIST.icons}share/icons/hicolor/256x256/apps/freedv.png
+${PLIST.icons}share/icons/hicolor/48x48/apps/freedv.png
+${PLIST.icons}share/icons/hicolor/64x64/apps/freedv.png



Home | Main Index | Thread Index | Old Index