29 lines
863 B
Makefile
29 lines
863 B
Makefile
# $NetBSD: Makefile,v 1.17 1999/10/07 17:41:58 tron Exp $
|
|
|
|
DISTNAME= mc-4.5.38
|
|
PKGNAME= gmc-4.5.38
|
|
CATEGORIES= sysutils gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/mc/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.gnome.org/mc/
|
|
|
|
DEPENDS+= gnome-core-1.0.9:../../x11/gnome-core
|
|
DEPENDS+= libslang-1.3.8:../../devel/libslang
|
|
|
|
CONFLICTS+= mc-*
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_GMAKE= yes
|
|
USE_X11BASE= yes
|
|
# XXX the cat-id-tbl is not up to date, so the catgets is broken.
|
|
CONFIGURE_ARGS+= --without-catgets --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
|
|
MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|