pkgsrc/ham/fldigi/Makefile
mef fea9bf4c07 (Upstream update 3.21.82 to 3.21.83)
=Version 3.21.83=
2014-06-26  Robert Stiles  <kk5vd@yahoo.com>
        10acfb7: Doxygen Inclusion

2014-06-16  David Freese  <w1hkj@w1hkj.com>
        03b141a: ARQ stx handshake
        ba246eb: Virtual ports
        1c38c93: New User Exit Behavior
2014-09-05 07:29:28 +00:00

67 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2014/09/05 07:29:28 mef Exp $
# $Id: Makefile,v 1.45 2014/09/05 07:29:28 mef Exp $
DISTNAME= fldigi-3.21.83
CATEGORIES= ham
MASTER_SITES= http://www.w1hkj.com/downloads/fldigi/
LICENSE= gnu-gpl-v3
MAINTAINER= makoto@ki.nu
HOMEPAGE= http://www.w1hkj.com/Fldigi.html
#HOMEPAGE= http://lists.berlios.de/mailman/listinfo/fldigi-devel
COMMENT= Digital radio modem
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
# NetBSD 5.1 fails to find strip - install: exec of strip failed:
CONFIGURE_ENV+= STRIP=${STRIP}
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
SUBST_CLASSES+= perl
SUBST_STAGE.perl= post-configure
SUBST_FILES.perl= scripts/fldigi-shell
SUBST_MESSAGE.perl= Replacing Perl PATH
SUBST_SED.perl= -e s\|/usr/bin/perl\|${PERL5:Q}\|g
SUBST_CLASSES+= asciidoc
SUBST_STAGE.asciidoc= post-configure
SUBST_FILES.asciidoc= doc/Makefile.am doc/Makefile.in doc/Makefile
SUBST_MESSAGE.asciidoc= Replacing asciidoc PATH
SUBST_SED.asciidoc= -e s\|/usr/share\|${PREFIX}/share\|g
SUBST_CLASSES+= brag-os
SUBST_STAGE.brag-os= post-patch
SUBST_FILES.brag-os= src/misc/newinstall.cxx
SUBST_MESSAGE.brag-os= Show OS name correctly with Brag button
SUBST_SED.brag-os= -e s/@@OS@@/${OPSYS}/
# Following binary contains configure parameter, which is OK.
CHECK_WRKREF_SKIP+= bin/flarq
CHECK_WRKREF_SKIP+= bin/fldigi
.include "../../mk/bsd.prefs.mk"
.if ${LOWER_OPSYS} == "netbsd"
CONFIGURE_ENV+= ac_cv_header_execinfo_h=no
.endif
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CXXFLAGS+= -std=c++11 -Wno-error=c++11-narrowing
.endif
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/portaudio-devel/buildlink3.mk"
.include "../../audio/pulseaudio/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../ham/hamlib/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../textproc/xmlrpc-c/buildlink3.mk"
.include "../../x11/fltk13/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"