aboutsummaryrefslogtreecommitdiff
path: root/comms/xlog/Makefile
blob: d89cd056adbf825a79961e810c32c9974d6a3b7b (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
# New ports collection makefile for:	xlog
# Date created:		2002-11-05
# Whom:			Patrick Gardella <patrick@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	xlog
PORTVERSION=	1.6.2
CATEGORIES=	comms hamradio
MASTER_SITES=	http://pg4i.chronos.org.uk/download/ \
		http://www.qsl.net/pg4i/download/

MAINTAINER=	matt@chronos.org.uk
COMMENT=	Amateur Radio logging application

USE_GETTEXT=	yes
USE_GNOME=	libgnomeprint gtk20
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-mime-update

LIB_DEPENDS+=	hamlib:${PORTSDIR}/comms/hamlib

MAN1=		xlog.1

.if defined (WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
WITHNLS=	"@comment "
.else
WITHNLS=	""
.endif

PLIST_SUB+=	WITHNLS=${WITHNLS}

post-patch:
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
		's|-D.*_DISABLE_DEPRECATED||g'

.include <bsd.port.mk>