openbsd-ports/net/gtk-gnutella/Makefile

60 lines
1.5 KiB
Makefile
Raw Normal View History

2009-03-16 17:29:34 -04:00
# $OpenBSD: Makefile,v 1.42 2009/03/16 21:29:34 sthen Exp $
COMMENT= Gtk-based GUI client for the Gnutella Network
DISTNAME= gtk-gnutella-0.96.5
2009-03-16 17:29:34 -04:00
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
HOMEPAGE= http://gtk-gnutella.sourceforge.net/
2009-03-16 17:29:34 -04:00
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2009-03-16 17:29:34 -04:00
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
EXTRACT_SUFX= .tar.bz2
2006-09-18 07:59:59 -04:00
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
xml2::textproc/libxml
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
MODULES= devel/gettext
CONFIGURE_STYLE= simple
CONFIGURE_SCRIPT=Configure
# -d don't run interactively
# -e fixes bulk package build
CONFIGURE_ARGS= -d -e \
-D mansrc="${PREFIX}/man/man1" \
-D prefix="${PREFIX}" \
-D privlib="${PREFIX}/share/gtk-gnutella" \
-D cc="${CC}" \
-D ccflags="${CFLAGS} -I${LOCALBASE}/include" \
-D gtkversion="2" \
-D ldflags="-L${LOCALBASE}/lib -liconv" \
-D official="true" \
-D yacc="yacc" \
2007-01-07 13:25:43 -05:00
-U d_dbus \
2006-01-25 16:27:31 -05:00
-U d_gnutls \
2007-01-07 13:25:43 -05:00
-U d_remotectrl \
-U d_sqlite \
-U optimize
2006-01-25 16:27:31 -05:00
MAKE_FLAGS= GNUTLS_LDFLAGS= GNUTLS_CFLAGS=
DESTDIRNAME= INSTALL_PREFIX
INSTALL_TARGET= install install.man
2006-11-13 07:51:14 -05:00
USE_X11= Yes
NO_REGRESS= Yes
.include <bsd.port.mk>