pkgsrc/sysutils/mc/Makefile.common
jlam f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00

56 lines
1.4 KiB
Makefile

# $NetBSD: Makefile.common,v 1.11 2001/09/27 23:18:43 jlam Exp $
DISTNAME= mc-4.5.51
CATEGORIES+= sysutils
MASTER_SITES+= ${MASTER_SITE_GNOME:=stable/sources/mc/}
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.gnome.org/mc/
DEPENDS+= libslang-[0-9]*:../../devel/libslang
DEPENDS+= glib>=1.2.0:../../devel/glib
BUILD_USES_MSGFMT= yes
BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
CONFLICTS+= mc-[0-9]* gmc-[0-9]*
FILESDIR= ${.CURDIR}/../../sysutils/mc/files
PATCHDIR= ${.CURDIR}/../../sysutils/mc/patches
USE_GMAKE= yes
USE_LIBINTL= yes
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ARGS+= --with-netrc --with-slang
CONFIGURE_ARGS+= --with-samba
CONFIGURE_ARGS+= --without-tk
# Don't pick up readline if it's installed in the build environment.
#
CONFIGURE_ENV+= ac_cv_header_history_h=no
CONFIGURE_ENV+= ac_cv_header_readline_h=no
CONFIGURE_ENV+= ac_cv_header_readline_history_h=no
CONFIGURE_ENV+= ac_cv_header_readline_readline_h=no
CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
CONFIGURE_ENV+= LOCALEDIR="${LOCALEDIR}"
LIBS+= -lm -ltermcap # -lslang
LIBS+= -lintl # check for gettext is broken
CPPFLAGS+= -I${LOCALBASE}/include # slang.h
CPPFLAGS+= -Dunix
.include "../../mk/bsd.prefs.mk"
# The directory in which locale files are found is:
#
# ${PREFIX}/${LOCALEDIR}/locale/<lang>/LC_MESSAGES
#
.if ${OPSYS} == "SunOS"
LOCALEDIR= lib
.else
LOCALEDIR= share
.endif
.include "../../mk/bsd.pkg.mk"