aboutsummaryrefslogtreecommitdiffstats
path: root/comms/tlf/Makefile
blob: 921b99b1845c341b10bd7e68258650b26c5dddab (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
39
# ports collection makefile for:    tlf
# Date created:     10 July 2004
# Whom:         db
#
# $FreeBSD$
#

PORTNAME=   tlf
PORTVERSION=    0.9.31
PORTREVISION=   1
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:267 libtool:22 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>