aboutsummaryrefslogtreecommitdiff
path: root/comms/gnocky/Makefile
blob: 84294a11309538b2ca062fc9fa662f6b3ea70638 (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
# New ports collection makefile for:	Gnocky
# Date created:				16 Jul 2008
# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gnocky
PORTVERSION=	0.0.6
PORTREVISION=	5
CATEGORIES=	comms
MASTER_SITES=	http://www.gnokii.org/download/gnocky/

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	A graphical (GTK+2) frontend for gnokii

LIB_DEPENDS=	gnokii.5:${PORTSDIR}/comms/gnokii

USE_GNOME=	gtk20 libglade2
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

OPTIONS=	NLS	"Build with Native Language Support"	on

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.post.mk>