The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-12-12 12:26:03 +00:00
|
|
|
# NOTE: comms/xcwcp is a sub-port of this. When making changes, ensure
|
|
|
|
# it still works as well.
|
|
|
|
|
2014-12-12 21:23:03 +00:00
|
|
|
PORTNAME?= unixcw
|
2015-10-10 19:15:56 +00:00
|
|
|
PORTVERSION= 3.5.0
|
2014-12-12 21:23:03 +00:00
|
|
|
CATEGORIES= comms hamradio
|
|
|
|
MASTER_SITES= SF/unixcw/unixcw-${PORTVERSION}
|
2014-12-12 12:26:03 +00:00
|
|
|
DISTNAME= unixcw_${PORTVERSION}.orig
|
The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
|
2014-11-22 23:38:50 +00:00
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
2014-12-12 12:26:03 +00:00
|
|
|
COMMENT?= Libs for cw on unix
|
The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
|
2013-12-28 22:18:48 +00:00
|
|
|
LICENSE= GPLv2
|
2015-10-10 19:15:56 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2013-12-28 22:18:48 +00:00
|
|
|
|
The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2015-10-10 19:15:56 +00:00
|
|
|
.ifndef CONFIGURE_ARGS
|
2014-12-12 12:26:03 +00:00
|
|
|
CONFIGURE_ARGS= --disable-xcwcp
|
|
|
|
.endif
|
The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \
|
2013-12-28 22:18:48 +00:00
|
|
|
--libdir="${LOCALBASE}/lib" \
|
|
|
|
--disable-alsa --disable-pulseaudio
|
|
|
|
|
The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
USE_LDCONFIG= yes
|
2016-02-07 00:03:17 +00:00
|
|
|
USES+= gmake libtool ncurses pkgconfig
|
2013-12-28 22:18:48 +00:00
|
|
|
USE_CSTD= gnu99
|
2014-12-12 21:23:03 +00:00
|
|
|
WRKSRC= ${WRKDIR}/unixcw-${PORTVERSION}
|
2015-10-10 19:15:56 +00:00
|
|
|
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}
|
The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
|
2016-02-07 00:03:17 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|curses|ncurses|g' ${WRKSRC}/configure \
|
|
|
|
${WRKSRC}/src/cwcp/Makefile.in
|
|
|
|
|
2014-12-12 12:26:03 +00:00
|
|
|
post-install:
|
2015-10-10 19:15:56 +00:00
|
|
|
.ifndef XCWCP
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcw.so.${MAJOR_LIB_VER}.${MINOR_LIB_VER}
|
|
|
|
.endif
|
The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:
o Morse code character translation tables, and lookup functions
o Morse code low-level timing calculations
o A 'sidetone' generation and queueing system, using either the system sound
card, the console speaker, or both
o Optional keying control for an external device, say a transmitter, or an
oscillator
o CW character and string send routines, tied in with the character lookup
o CW receive routines, also tied in to the character lookup
o Adaptive speed tracking of received CW
o An iambic keyer, with both Curtis 8044 types A and B timing
o Straight key emulation
Submitted by: self
2008-01-01 18:13:56 +00:00
|
|
|
|
2009-01-05 17:27:29 +00:00
|
|
|
.include <bsd.port.mk>
|