2006-01-25 16:27:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2006/01/25 21:27:31 sturm Exp $
|
2001-06-07 14:45:32 -04:00
|
|
|
|
|
|
|
COMMENT= "Gtk-based GUI client for the Gnutella Network"
|
|
|
|
|
2006-01-25 16:27:31 -05:00
|
|
|
DISTNAME= gtk-gnutella-0.96
|
2001-10-25 17:42:32 -04:00
|
|
|
CATEGORIES= net
|
2001-06-07 14:45:32 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://gtk-gnutella.sourceforge.net/
|
|
|
|
|
2002-11-22 11:43:44 -05:00
|
|
|
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
2001-06-07 14:45:32 -04:00
|
|
|
|
2002-11-03 11:40:02 -05:00
|
|
|
# GPL
|
2001-06-07 14:45:32 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2006-01-19 14:23:42 -05:00
|
|
|
WANTLIB= X11 Xext Xft Xrender atk-1.0.0.0 c fontconfig.2 freetype.13 \
|
|
|
|
glib-2.0.0.0 gmodule-2.0.0.0 gobject-2.0.0.0 m z \
|
|
|
|
pango-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0 pangoft2-1.0.0.0
|
2001-06-07 14:45:32 -04:00
|
|
|
|
2005-06-04 12:11:33 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2003-06-19 09:49:21 -04:00
|
|
|
|
2005-06-04 12:11:33 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
|
|
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
|
|
|
|
xml2::textproc/libxml
|
2003-06-19 09:49:21 -04:00
|
|
|
|
2006-01-19 14:23:42 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2005-06-04 12:11:33 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_SCRIPT=Configure
|
2004-05-15 10:35:01 -04:00
|
|
|
# -d don't run interactively
|
|
|
|
# -e fixes bulk package build
|
2005-06-04 12:11:33 -04:00
|
|
|
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" \
|
2006-01-25 16:27:31 -05:00
|
|
|
-U d_gnutls \
|
2005-06-04 12:11:33 -04:00
|
|
|
-U optimize
|
|
|
|
|
2006-01-25 16:27:31 -05:00
|
|
|
MAKE_FLAGS= GNUTLS_LDFLAGS= GNUTLS_CFLAGS=
|
|
|
|
FAKE_FLAGS= ${MAKE_FLAGS} INSTALL_PREFIX=${DESTDIR}
|
2005-06-04 12:11:33 -04:00
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
2004-12-26 11:24:49 -05:00
|
|
|
|
2001-06-07 14:45:32 -04:00
|
|
|
.include <bsd.port.mk>
|