1995-07-15 23:43:35 +00:00
|
|
|
# New ports collection makefile for: mc
|
|
|
|
# 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
|
|
|
#
|
|
|
|
|
2000-04-14 08:49:30 +00:00
|
|
|
PORTNAME= mc
|
2000-05-24 03:03:01 +00:00
|
|
|
PORTVERSION= 4.5.48
|
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
|
|
|
|
2000-01-29 22:11:15 +00:00
|
|
|
MAINTAINER= reg@FreeBSD.org
|
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
|
2000-04-17 00:19:02 +00:00
|
|
|
.if defined(WITH_NCURSES_PORT)
|
1999-01-31 18:12:50 +00:00
|
|
|
LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses
|
2000-02-13 09:09:53 +00:00
|
|
|
.elif defined(WITH_SLANG)
|
2000-04-16 11:56:27 +00:00
|
|
|
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
|
2000-02-13 09:09:53 +00:00
|
|
|
BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
|
|
|
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
|
1999-01-31 18:12:50 +00:00
|
|
|
.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
|
2000-02-13 09:09:53 +00:00
|
|
|
.if defined(WITH_SLANG)
|
|
|
|
CONFIGURE_ARGS= --with-slang --without-gnome --with-edit
|
|
|
|
.else
|
1999-01-31 18:12:50 +00:00
|
|
|
CONFIGURE_ARGS= --with-ncurses --without-gnome --without-edit
|
2000-02-13 09:09:53 +00:00
|
|
|
.endif
|
1999-01-31 18:12:50 +00:00
|
|
|
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
|
|
|
|
2000-02-13 09:09:53 +00:00
|
|
|
.if defined(WITH_SLANG)
|
|
|
|
PLIST= ${WRKDIR}/PLIST
|
|
|
|
pre-install:
|
|
|
|
@${CAT} ${PKGDIR}/PLIST > ${PLIST}
|
|
|
|
@${ECHO} bin/mcedit >> ${PLIST}
|
|
|
|
.endif
|
1999-12-23 18:37:52 +00:00
|
|
|
|
1995-07-15 23:43:35 +00:00
|
|
|
.include <bsd.port.mk>
|