freebsd-ports/comms/unixcw/Makefile
Diane Bruce e7302b2f89 Update to 3.5.0
2015-09-29 Kamil Ignacak
        * bugfix: fixing code that resets tone queue on flushing.  A bug
        was found on FreeBSD: after pressing Ctrl+C, application that
        wanted to stop and delete generator as part of SIGINT handling
        procedure, got stuck in cw_tq_flush_internal() function, waiting
        for tone queue to go idle. This never happened. Resetting all tone
        queue state variables in flush function ensures that the function
        completes and returns, and that client application can exit.

2015-09-12 Kamil Ignacak
        * xcwcp: the application souce code files are now ported to
        Qt5. Build system files have been modified to use Qt5 to build
        xcwcp.
        Discovery and adding -fPIC to compiler flags for xcwcp is right
        now very naive, perhaps that will have to be improved in the
        future.
2015-10-10 19:15:56 +00:00

40 lines
957 B
Makefile

# $FreeBSD$
# NOTE: comms/xcwcp is a sub-port of this. When making changes, ensure
# it still works as well.
PORTNAME?= unixcw
PORTVERSION= 3.5.0
CATEGORIES= comms hamradio
MASTER_SITES= SF/unixcw/unixcw-${PORTVERSION}
DISTNAME= unixcw_${PORTVERSION}.orig
MAINTAINER= hamradio@FreeBSD.org
COMMENT?= Libs for cw on unix
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
.ifndef CONFIGURE_ARGS
CONFIGURE_ARGS= --disable-xcwcp
.endif
CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib" \
--disable-alsa --disable-pulseaudio
USE_LDCONFIG= yes
USES+= gmake libtool pkgconfig
USE_CSTD= gnu99
WRKSRC= ${WRKDIR}/unixcw-${PORTVERSION}
MAJOR_LIB_VER= 6
MINOR_LIB_VER= 5.1
PLIST_SUB= MAJOR_LIB_VER=${MAJOR_LIB_VER}
PLIST_SUB+= MINOR_LIB_VER=${MINOR_LIB_VER}
post-install:
.ifndef XCWCP
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcw.so.${MAJOR_LIB_VER}.${MINOR_LIB_VER}
.endif
.include <bsd.port.mk>