summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
Diffstat (limited to 'ham')
-rw-r--r--ham/freedv/Makefile8
-rw-r--r--ham/freedv/PLIST12
2 files changed, 13 insertions, 7 deletions
diff --git a/ham/freedv/Makefile b/ham/freedv/Makefile
index df1f84f40bd..0f12fd2e211 100644
--- a/ham/freedv/Makefile
+++ b/ham/freedv/Makefile
@@ -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 @@ CMAKE_ARG_PATH=..
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 --git a/ham/freedv/PLIST b/ham/freedv/PLIST
index e555cfab442..c302b4a8f01 100644
--- a/ham/freedv/PLIST
+++ b/ham/freedv/PLIST
@@ -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