1995-07-15 23:43:35 +00:00
|
|
|
# New ports collection makefile for: mc
|
1999-12-24 10:46:10 +00:00
|
|
|
# Version required: 4.5.42
|
1995-07-15 23:43:35 +00:00
|
|
|
# Date created: 15 Jul 1995
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: torstenb@FreeBSD.org
|
1995-07-15 23:43:35 +00:00
|
|
|
#
|
1999-08-25 07:23:21 +00:00
|
|
|
# $FreeBSD$
|
1995-07-15 23:43:35 +00:00
|
|
|
#
|
|
|
|
|
1999-12-24 10:46:10 +00:00
|
|
|
DISTNAME= mc-4.5.42
|
1995-11-26 10:48:46 +00:00
|
|
|
CATEGORIES= misc
|
1999-01-31 18:12:50 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 19:08:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/mc
|
1997-06-20 12:22:36 +00:00
|
|
|
|
1999-01-31 18:12:50 +00:00
|
|
|
MAINTAINER= reg@shale.csir.co.za
|
1995-07-15 23:43:35 +00:00
|
|
|
|
1999-10-09 18:50:35 +00:00
|
|
|
LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 \
|
1999-03-19 04:40:10 +00:00
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
1999-01-31 18:12:50 +00:00
|
|
|
.if defined(USE_NCURSES_PORT)
|
|
|
|
LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses
|
|
|
|
.endif
|
|
|
|
|
1999-05-29 04:33:04 +00:00
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
|
1999-01-31 18:12:50 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-ncurses --without-gnome --without-edit
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
MAKE="gmake" \
|
1999-05-29 04:33:04 +00:00
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
1999-01-31 18:12:50 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-18 02:29:28 +00:00
|
|
|
|
1998-05-02 21:19:55 +00:00
|
|
|
MAN1= midc.1
|
1996-11-17 09:06:37 +00:00
|
|
|
MAN8= mcserv.8
|
1995-07-15 23:43:35 +00:00
|
|
|
|
1999-12-23 18:37:52 +00:00
|
|
|
post-patch:
|
|
|
|
${PERL} -i -p -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/vfs/extfs/uzip.in
|
|
|
|
|
1995-07-15 23:43:35 +00:00
|
|
|
.include <bsd.port.mk>
|