# $NetBSD: Makefile,v 1.39 2000/10/04 11:04:58 toshii Exp $ # FreeBSD Id: Makefile,v 1.16 1997/11/30 19:37:48 vanilla Exp # DISTNAME= mc-4.5.50 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/mc/} MAINTAINER= tron@netbsd.org HOMEPAGE= http://www.gnome.org/mc/ DEPENDS+= libslang-*:../../devel/libslang DEPENDS+= glib-1.2.*:../../devel/glib CONFLICTS+= gmc-* GNU_CONFIGURE= YES USE_GMAKE= YES CONFIGURE_ARGS+= --with-netrc --with-slang --without-x \ --without-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.prefs.mk" .if ${OPSYS} == "SunOS" PLIST_SUBST+= LOCALEBASE=lib .else PLIST_SUBST+= LOCALEBASE=share .endif .include "../../mk/bsd.pkg.mk"