diff options
author | dbj <dbj> | 2015-01-27 08:29:52 +0000 |
---|---|---|
committer | dbj <dbj> | 2015-01-27 08:29:52 +0000 |
commit | 28e083a875d7d6a95ed94a9c8a8933e5360e59d5 (patch) | |
tree | f2d89cc0bf48423ff15ea15405bfe79eb33cb669 /ham | |
parent | 36b374bd28474e557034c58d45548780b1ffad58 (diff) | |
download | pkgsrc-28e083a875d7d6a95ed94a9c8a8933e5360e59d5.tar.gz |
icons are not installed on Darwin, so omit them from PLIST
Diffstat (limited to 'ham')
-rw-r--r-- | ham/freedv/Makefile | 8 | ||||
-rw-r--r-- | ham/freedv/PLIST | 12 |
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 |