aboutsummaryrefslogtreecommitdiffstats
path: root/comms/unixcw/Makefile
blob: 6963ea7a183f7c126fca7bf18283af6081132ad9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $FreeBSD$

# NOTE: comms/xcwcp is a sub-port of this.  When making changes, ensure
#       it still works as well.

PORTNAME?=  unixcw
PORTVERSION=    3.4.2
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

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}

post-install:
      ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcw.so.6.4.1

.include <bsd.port.mk>