aboutsummaryrefslogtreecommitdiffstats
path: root/comms/tlf/Makefile
blob: f17116571ff408d35979f8ecd4c701c13f6e0c9f (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
34
35
36
37
38
# ports collection makefile for:    tlf
# Date created:     10 July 2004
# Whom:         db
#
# $FreeBSD$
#

PORTNAME=   tlf
PORTVERSION=    0.9.31
CATEGORIES= comms hamradio
MASTER_SITES=   http://sharon.esrac.ele.tue.nl/pub/linux/ham/tlf/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
DISTNAME=   tlf-0.9.31-2

MAINTAINER= db@FreeBSD.org
COMMENT=    Amateur Radio curses based logging program

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_AUTOTOOLS=  autoconf:262 libtool:15 aclocal:19 automake:19
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
        --libdir="${LOCALBASE}/lib"
CONFIGURE_ENV=  LDFLAGS="${PTHREAD_LIBS}"
OPTIONS=    HAMLIB "Use hamlib" ON

MAN1=       tlf.1

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_HAMLIB)
LIB_DEPENDS+=   hamlib:${PORTSDIR}/comms/hamlib
CONFIGURE_ARGS+=    --enable-hamlib
.else
CONFIGURE_ARGS+=    --disable-hamlib
.endif

.include <bsd.port.post.mk>