pkgsrc/net/gtk-gnutella/Makefile
2021-09-29 19:00:02 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.113 2021/09/29 19:01:07 adam Exp $
DISTNAME= gtk-gnutella-1.1.11
PKGREVISION= 16
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
LICENSE= gnu-gpl-v2
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt pkg-config
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./build.sh
CONFIGURE_ARGS+= --configure-only
CONFIGURE_ARGS+= --prefix=${DESTDIR}/${PREFIX}
CONFIGURE_ARGS+= --localedir="${PREFIX}/${PKGLOCALEDIR}/locale"
CONFIGURE_ARGS+= --cc=${CC:Q}
CONFIGURE_ARGS+= --cflags=${CFLAGS:Unone:Q}
CONFIGURE_ARGS+= --yacc="yacc"
LDFLAGS.SunOS+= -lsocket -lnsl -liconv
.include "options.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"