summaryrefslogtreecommitdiff
path: root/net/ed2k-gtk-gui/Makefile
blob: c536383eeb15e88587eeb5ba46716bf533da4c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $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"