summaryrefslogtreecommitdiff
path: root/ham/tlf/Makefile
blob: 5bc555f1da228e8aecb8d519bf1ead59dd5f3797 (plain)
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
# $NetBSD: Makefile,v 1.16 2011/02/28 14:52:52 wiz Exp $
#

DISTNAME=	tlf-0.9.30
CATEGORIES=	ham
MASTER_SITES=	http://sharon.pi8zaa.ampr.org/pub/linux/ham/tlf/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://home.iae.nl/users/reinc/TLF-0.2.html
COMMENT=	Advanced hamradio logging and contest program

PKG_DESTDIR_SUPPORT=	user-destdir

USE_NCURSES=	yes
USE_TOOLS+=	gmake msgfmt
GNU_CONFIGURE=	yes
PTHREAD_OPTS+=	require
PTHREAD_AUTO_VARS=	yes

CONFIGURE_ARGS+=	--enable-hamlib

INSTALLATION_DIRS+=	share/tlf

post-patch:
	${ECHO} SC_DEVICE=/dev/tty00 >> ${WRKSRC:Q}/share/logcfg.dat

.include "../../mk/bsd.prefs.mk"

LIBS+=		${LIBOSSAUDIO}

.include "../../mk/curses.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../ham/hamlib/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"