summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella/Makefile
blob: 67e44c1545d5c3ba1ef3b7a85c57c156eb986fd4 (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
# $NetBSD: Makefile,v 1.57 2007/01/20 14:50:03 cbiere Exp $

DISTNAME=	gtk-gnutella-0.96.3
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://gtk-gnutella.sourceforge.net/
COMMENT=	GTK-based gnutella client

USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake msgfmt pkg-config
HAS_CONFIGURE=		yes
CONFIGURE_SCRIPT=	./Configure
CONFIGURE_ARGS+=	-d -e -r -s
CONFIGURE_ARGS+=	-D prefix=${PREFIX:Q}
CONFIGURE_ARGS+=	-D privlib="${PREFIX}/share/gtk-gnutella"
CONFIGURE_ARGS+=	-D sysman="${PREFIX}/man"
CONFIGURE_ARGS+=	-D locale="${PREFIX}/${PKGLOCALEDIR}/locale"
CONFIGURE_ARGS+=	-D cc=${CC:Q}
CONFIGURE_ARGS+=	-D ccflags="${CFLAGS:Unone}"
CONFIGURE_ARGS+=	-D yacc="yacc"
CONFIGURE_ARGS+=	-D official="true"
CONFIGURE_ARGS+=	-U optimize

.include "options.mk"

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"