# $NetBSD: Makefile,v 1.4 2004/04/14 16:15:26 jmmv Exp $ DISTNAME= ed2k-gtk-gui-0.6.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ed2k-gtk-gui/} MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://ed2k-gtk-gui.sourceforge.net/ COMMENT= GUI for the eDonkey2000 and Overnet USE_BUILDLINK3= yes USE_DIRS+= xdg-1.1 USE_X11= yes USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes SUBST_CLASSES+= shell SUBST_MESSAGE.shell= "Fixing hardcoded shell." SUBST_STAGE.shell= post-patch SUBST_FILES.shell= ed2k_gui/misc.c SUBST_SED.shell= -e 's,/bin/bash,/bin/sh,g' SUBST_CLASSES+= gtk24 SUBST_MESSAGE.gtk24= "Fixing build with GTK+ 2.4." SUBST_STAGE.gtk24= post-patch SUBST_FILES.gtk24= ed2k_gui/Makefile.in SUBST_SED.gtk24= -e 's|-D.*_DISABLE_DEPRECATED||g' .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/pkgconfig/buildlink3.mk" .include "../../net/gnet/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk"