summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella/Makefile
blob: 94ba94f87d63d451260c2abe19605f7e6294e21c (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
# $NetBSD: Makefile,v 1.56 2006/08/23 09:49:36 jmmv Exp $

DISTNAME=	gtk-gnutella-0.96.1
PKGREVISION=	1
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 "../../sysutils/dbus/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"