1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/comms/unixcw/Makefile
Diane Bruce 13966ac24e 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

57 lines
1.2 KiB
Makefile

# ports collection makefile for: unixcw
# Date created: 24 Dec 2007
# Whom: Diane Bruce <db@db.net>
#
# $FreeBSD$
#
PORTNAME= unixcw
PORTVERSION= 2.3
CATEGORIES= comms hamradio
MASTER_SITES= http://www.ibiblio.org/pub/linux/apps/ham/morse/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
EXTRACT_SUFX= .tgz
MAINTAINER= db@FreeBSD.org
COMMENT= Libs for cw on unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib"
MAN1= cw.1 cwgen.1 cwcp.1
MAN3= cwlib.3
.if defined(WITH_XCWCP)
MAN1+= xcwcp.1
USE_QT_VER= 3
CONFIGURE_ARGS+= QTLIB=qt-mt
PLIST_SUB+= XCWCP=""
.else
PLIST_SUB+= XCWCP="@comment "
.endif
MAN7= cw.7 CW.7
MANCOMPRESSED= yes
USE_AUTOTOOLS= autoconf:261
USE_LDCONFIG= yes
USE_GMAKE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BUILD_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
.endif
pre-extract:
.if !defined(WITH_XCWCP)
@${ECHO_CMD}
@${ECHO_CMD} "****** To build xcwcp, interrupt the build ******"
@${ECHO_CMD} "****** now, set WITH_XCWCP and start again. ******"
@${ECHO_CMD}
@sleep 3
.endif
post-patch:
@${REINPLACE_CMD} -e "s|%%LIBDATA%%|${PREFIX}/libdata|" \
${WRKSRC}/src/cwlib/Makefile
.include <bsd.port.post.mk>