openbsd-ports/comms/fldigi/Makefile
2022-03-11 18:26:24 +00:00

55 lines
1.3 KiB
Makefile

COMMENT= soundcard-based software modem for Amateur Radio use
# skip alpha-test versions (x.x.x.x format version numbers)
PORTROACH= limit:^[0-9]+\.[0-9]+\.[0-9]+$$
DISTNAME= fldigi-4.0.18
REVISION= 2
CATEGORIES= comms hamradio
HOMEPAGE= http://www.w1hkj.com/
# GPLv3+
PERMIT_PACKAGE= Yes
WANTLIB += X11 Xau Xcursor Xdmcp Xext Xfixes Xft Xinerama c fltk
WANTLIB += fltk_images fontconfig hamlib iconv intl jpeg m png
WANTLIB += portaudio pthread samplerate sndfile ${COMPILER_LIBCXX} z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fldigi/}
COMPILER = base-clang ports-gcc base-gcc
RUN_DEPENDS= devel/desktop-file-utils
BUILD_DEPENDS= textproc/asciidoc
LIB_DEPENDS= audio/libsamplerate \
audio/libsndfile \
audio/portaudio-svn \
comms/hamlib \
devel/gettext,-runtime \
graphics/png \
x11/fltk
SEPARATE_BUILD= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-oss \
--without-pulseaudio
# XXX
# const char* szBeginner = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
# ./dialogs/guide.cxx:1:26: error: expected expression
CONFIGURE_ARGS += --without-asciidoc
# needs -lexecinfo
CONFIGURE_ENV= ac_cv_header_execinfo_h=no
MAKE_FLAGS= ASCIIDOC_ICONS_DIR=${SYSCONFDIR}/asciidoc/images/icons
# supplied empty *.1 files are newer than .txt files
post-extract:
touch ${WRKSRC}/doc/*txt
.include <bsd.port.mk>