summaryrefslogtreecommitdiff
path: root/sysutils/gmc/Makefile
blob: 52f35202c02f51f417999a779b2fac01cdbbe3c1 (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
# $NetBSD: Makefile,v 1.22 2000/06/01 17:46:15 rh Exp $

DISTNAME=	mc-4.5.50
PKGNAME=	g${DISTNAME}
CATEGORIES=	sysutils gnome
MASTER_SITES=	${MASTER_SITE_GNOME:=stable/sources/mc/}

MAINTAINER=	tron@netbsd.org
HOMEPAGE=	http://www.gnome.org/mc/

DEPENDS+=	gnome-core-*:../../x11/gnome-core
DEPENDS+=	libslang-*:../../devel/libslang

CONFLICTS+=	mc-*

GNU_CONFIGURE=		YES
USE_GMAKE=		yes
USE_X11BASE=		yes
CONFIGURE_ARGS+=	--with-netrc --with-slang --without-x --with-gnome \
			--without-tk

# Funny stuff to get this to use the system libslang.
CONFIGURE_ENV+=		LIBS="-lm -ltermcap" CPPFLAGS="-I${LOCALBASE}/include"
CFLAGS+=		-Dunix -I${LOCALBASE}/include -DxBSD
LDFLAGS+=		-L${LOCALBASE}/lib

.include "../../mk/bsd.pkg.mk"