1995-07-15 19:43:35 -04:00
|
|
|
# New ports collection makefile for: mc
|
2000-04-08 02:33:31 -04:00
|
|
|
# Version required: 4.5.44
|
1995-07-15 19:43:35 -04:00
|
|
|
# Date created: 15 Jul 1995
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: torstenb@FreeBSD.org
|
1995-07-15 19:43:35 -04:00
|
|
|
#
|
1999-08-25 03:23:21 -04:00
|
|
|
# $FreeBSD$
|
1995-07-15 19:43:35 -04:00
|
|
|
#
|
|
|
|
|
2000-04-08 02:33:31 -04:00
|
|
|
DISTNAME= mc-4.5.44
|
1995-11-26 05:48:46 -05:00
|
|
|
CATEGORIES= misc
|
1999-01-31 13:12:50 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-04 14:08:13 -05:00
|
|
|
MASTER_SITE_SUBDIR= stable/sources/mc
|
1997-06-20 08:22:36 -04:00
|
|
|
|
2000-01-29 17:11:15 -05:00
|
|
|
MAINTAINER= reg@FreeBSD.org
|
1995-07-15 19:43:35 -04:00
|
|
|
|
1999-10-09 14:50:35 -04:00
|
|
|
LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 \
|
1999-03-18 23:40:10 -05:00
|
|
|
intl.1:${PORTSDIR}/devel/gettext
|
1999-01-31 13:12:50 -05:00
|
|
|
.if defined(USE_NCURSES_PORT)
|
|
|
|
LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses
|
2000-02-13 04:09:53 -05:00
|
|
|
.elif defined(WITH_SLANG)
|
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
|
|
|
|
BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
|
|
|
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
1999-01-31 13:12:50 -05:00
|
|
|
.endif
|
|
|
|
|
1999-05-29 00:33:04 -04:00
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
|
1999-01-31 13:12:50 -05:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-02-13 04:09:53 -05:00
|
|
|
.if defined(WITH_SLANG)
|
|
|
|
CONFIGURE_ARGS= --with-slang --without-gnome --with-edit
|
|
|
|
.else
|
1999-01-31 13:12:50 -05:00
|
|
|
CONFIGURE_ARGS= --with-ncurses --without-gnome --without-edit
|
2000-02-13 04:09:53 -05:00
|
|
|
.endif
|
1999-01-31 13:12:50 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
MAKE="gmake" \
|
1999-05-29 00:33:04 -04:00
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
1999-01-31 13:12:50 -05:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-09-17 22:29:28 -04:00
|
|
|
|
1998-05-02 17:19:55 -04:00
|
|
|
MAN1= midc.1
|
1996-11-17 04:06:37 -05:00
|
|
|
MAN8= mcserv.8
|
1995-07-15 19:43:35 -04:00
|
|
|
|
2000-02-13 04:09:53 -05:00
|
|
|
.if defined(WITH_SLANG)
|
|
|
|
PLIST= ${WRKDIR}/PLIST
|
|
|
|
pre-install:
|
|
|
|
@${CAT} ${PKGDIR}/PLIST > ${PLIST}
|
|
|
|
@${ECHO} bin/mcedit >> ${PLIST}
|
|
|
|
.endif
|
1999-12-23 13:37:52 -05:00
|
|
|
|
1995-07-15 19:43:35 -04:00
|
|
|
.include <bsd.port.mk>
|