2004-12-15 19:31:20 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2004/12/16 00:31:21 alek Exp $
|
2001-06-07 14:45:32 -04:00
|
|
|
|
|
|
|
COMMENT= "Gtk-based GUI client for the Gnutella Network"
|
|
|
|
|
2004-09-20 16:12:11 -04:00
|
|
|
DISTNAME= gtk-gnutella-0.94
|
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
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= X11 Xext Xi c glib iconv intl m z
|
2001-06-07 14:45:32 -04:00
|
|
|
|
2003-06-19 09:49:21 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-04-09 06:20:47 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2003-06-19 09:49:21 -04:00
|
|
|
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+ \
|
|
|
|
xml2::textproc/libxml
|
|
|
|
|
2004-04-09 06:20:47 -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
|
|
|
|
CONFIGURE_ARGS= -d -e \
|
2004-04-16 17:23:30 -04:00
|
|
|
-D mansrc="${PREFIX}/man/man1" \
|
2004-04-09 06:20:47 -04:00
|
|
|
-D prefix="${PREFIX}" \
|
|
|
|
-D privlib="${PREFIX}/share/gtk-gnutella" \
|
|
|
|
-D cc="${CC}" \
|
|
|
|
-D ccflags="${CFLAGS} -I${LOCALBASE}/include" \
|
2004-09-20 16:12:11 -04:00
|
|
|
-D ldflags="-L${LOCALBASE}/lib -liconv" \
|
2004-04-09 06:20:47 -04:00
|
|
|
-D official="true" \
|
2004-09-21 14:50:01 -04:00
|
|
|
-D yacc="yacc" \
|
2004-04-09 06:20:47 -04:00
|
|
|
-U optimize
|
2003-06-19 09:49:21 -04:00
|
|
|
|
2004-04-09 06:20:47 -04:00
|
|
|
FAKE_FLAGS= INSTALL_PREFIX=${DESTDIR}
|
|
|
|
INSTALL_TARGET= install install.man
|
2001-06-07 14:45:32 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|