1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/misc/mc/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: mc
# Date created: 15 Jul 1995
# Whom: torstenb@FreeBSD.org
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
2000-04-14 08:49:30 +00:00
PORTNAME= mc
2000-07-05 22:06:35 +00:00
PORTVERSION= 4.5.51
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/mc
MAINTAINER= reg@FreeBSD.org
1999-10-09 18:50:35 +00:00
LIB_DEPENDS= glib12.3:${PORTSDIR}/devel/glib12 \
intl.1:${PORTSDIR}/devel/gettext
.if defined(WITH_NCURSES_PORT)
LIB_DEPENDS+= ncurses.4:${PORTSDIR}/devel/ncurses
.elif defined(WITH_SLANG)
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
.endif
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(WITH_SLANG)
CONFIGURE_ARGS= --with-slang --without-gnome --with-edit
.else
CONFIGURE_ARGS= --with-ncurses --without-gnome --without-edit
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAKE="gmake" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
1998-09-18 02:29:28 +00:00
1998-05-02 21:19:55 +00:00
MAN1= midc.1
MAN8= mcserv.8
.if defined(WITH_SLANG)
PLIST= ${WRKDIR}/PLIST
pre-install:
@${CAT} ${PKGDIR}/PLIST > ${PLIST}
@${ECHO} bin/mcedit >> ${PLIST}
.endif
.include <bsd.port.mk>