| @@ -1,63 +1,63 @@ | | | @@ -1,63 +1,63 @@ |
1 | # $NetBSD: Makefile,v 1.89 2017/05/14 15:22:46 mef Exp $ | | 1 | # $NetBSD: Makefile,v 1.90 2017/08/05 09:09:44 mef Exp $ |
2 | | | 2 | |
3 | DISTNAME= fldigi-4.0.4 | | 3 | DISTNAME= fldigi-4.0.8 |
4 | CATEGORIES= ham | | 4 | CATEGORIES= ham |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fldigi/} | | 5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fldigi/} |
6 | | | 6 | |
7 | MAINTAINER= makoto@ki.nu | | 7 | MAINTAINER= makoto@ki.nu |
8 | HOMEPAGE= http://www.w1hkj.com/ | | 8 | HOMEPAGE= http://www.w1hkj.com/ |
9 | COMMENT= Digital radio modem | | 9 | COMMENT= Digital radio modem |
10 | LICENSE= gnu-gpl-v3 | | 10 | LICENSE= gnu-gpl-v3 |
11 | | | 11 | |
12 | USE_TOOLS+= gmake pkg-config | | 12 | USE_TOOLS+= gmake pkg-config |
13 | USE_LANGUAGES= c c++11 | | 13 | USE_LANGUAGES= c c++11 |
14 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
15 | | | 15 | |
16 | # NetBSD 5.1 fails to find strip - install: exec of strip failed: | | 16 | # NetBSD 5.1 fails to find strip - install: exec of strip failed: |
17 | CONFIGURE_ENV+= STRIP=${STRIP} | | 17 | CONFIGURE_ENV+= STRIP=${STRIP} |
18 | | | 18 | |
19 | BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc | | 19 | BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc |
20 | | | 20 | |
21 | SUBST_CLASSES+= perl | | 21 | SUBST_CLASSES+= perl |
22 | SUBST_STAGE.perl= post-configure | | 22 | SUBST_STAGE.perl= post-configure |
23 | SUBST_FILES.perl= scripts/fldigi-shell | | 23 | SUBST_FILES.perl= scripts/fldigi-shell |
24 | SUBST_MESSAGE.perl= Replacing Perl PATH | | 24 | SUBST_MESSAGE.perl= Replacing Perl PATH |
25 | SUBST_SED.perl= -e s\|/usr/bin/perl\|${PERL5:Q}\|g | | 25 | SUBST_SED.perl= -e s\|/usr/bin/perl\|${PERL5:Q}\|g |
26 | | | 26 | |
27 | SUBST_CLASSES+= asciidoc | | 27 | SUBST_CLASSES+= asciidoc |
28 | SUBST_STAGE.asciidoc= post-configure | | 28 | SUBST_STAGE.asciidoc= post-configure |
29 | SUBST_FILES.asciidoc= doc/Makefile.am doc/Makefile.in doc/Makefile | | 29 | SUBST_FILES.asciidoc= doc/Makefile.am doc/Makefile.in doc/Makefile |
30 | SUBST_MESSAGE.asciidoc= Replacing asciidoc PATH | | 30 | SUBST_MESSAGE.asciidoc= Replacing asciidoc PATH |
31 | SUBST_SED.asciidoc= -e s\|/usr/share\|${PREFIX}/share\|g | | 31 | SUBST_SED.asciidoc= -e s\|/usr/share\|${PREFIX}/share\|g |
32 | | | 32 | |
33 | SUBST_CLASSES+= brag-os | | 33 | SUBST_CLASSES+= brag-os |
34 | SUBST_STAGE.brag-os= post-patch | | 34 | SUBST_STAGE.brag-os= post-patch |
35 | SUBST_FILES.brag-os= src/misc/newinstall.cxx | | 35 | SUBST_FILES.brag-os= src/misc/newinstall.cxx |
36 | SUBST_MESSAGE.brag-os= Show OS name correctly with Brag button | | 36 | SUBST_MESSAGE.brag-os= Show OS name correctly with Brag button |
37 | SUBST_SED.brag-os= -e s/@@OS@@/${OPSYS}/ | | 37 | SUBST_SED.brag-os= -e s/@@OS@@/${OPSYS}/ |
38 | | | 38 | |
39 | # Following binary contains configure parameter, which is OK. | | 39 | # Following binary contains configure parameter, which is OK. |
40 | CHECK_WRKREF_SKIP+= bin/flarq | | 40 | CHECK_WRKREF_SKIP+= bin/flarq |
41 | CHECK_WRKREF_SKIP+= bin/fldigi | | 41 | CHECK_WRKREF_SKIP+= bin/fldigi |
42 | | | 42 | |
43 | CONFIGURE_ENV.NetBSD+= ac_cv_header_execinfo_h=no | | 43 | CONFIGURE_ENV.NetBSD+= ac_cv_header_execinfo_h=no |
44 | | | 44 | |
45 | .include "../../mk/compiler.mk" | | 45 | .include "../../mk/compiler.mk" |
46 | .if !empty(PKGSRC_COMPILER:Mclang) | | 46 | .if !empty(PKGSRC_COMPILER:Mclang) |
47 | CXXFLAGS+= -Wno-error=c++11-narrowing | | 47 | CXXFLAGS+= -Wno-error=c++11-narrowing |
48 | .endif | | 48 | .endif |
49 | | | 49 | |
50 | .include "../../audio/libsamplerate/buildlink3.mk" | | 50 | .include "../../audio/libsamplerate/buildlink3.mk" |
51 | .include "../../audio/libsndfile/buildlink3.mk" | | 51 | .include "../../audio/libsndfile/buildlink3.mk" |
52 | .include "../../audio/portaudio-devel/buildlink3.mk" | | 52 | .include "../../audio/portaudio-devel/buildlink3.mk" |
53 | .include "../../audio/pulseaudio/buildlink3.mk" | | 53 | .include "../../audio/pulseaudio/buildlink3.mk" |
54 | .include "../../graphics/png/buildlink3.mk" | | 54 | .include "../../graphics/png/buildlink3.mk" |
55 | .include "../../ham/hamlib/buildlink3.mk" | | 55 | .include "../../ham/hamlib/buildlink3.mk" |
56 | .include "../../ham/flxmlrpc/buildlink3.mk" | | 56 | .include "../../ham/flxmlrpc/buildlink3.mk" |
57 | .include "../../mk/oss.buildlink3.mk" | | 57 | .include "../../mk/oss.buildlink3.mk" |
58 | .include "../../textproc/xmlrpc-c/buildlink3.mk" | | 58 | .include "../../textproc/xmlrpc-c/buildlink3.mk" |
59 | #include "../../textproc/json-c/buildlink3.mk" | | 59 | #include "../../textproc/json-c/buildlink3.mk" |
60 | .include "../../x11/fltk13/buildlink3.mk" | | 60 | .include "../../x11/fltk13/buildlink3.mk" |
61 | | | 61 | |
62 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 62 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
63 | .include "../../mk/bsd.pkg.mk" | | 63 | .include "../../mk/bsd.pkg.mk" |