aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mc/Makefile
blob: ab875f1ee11e3c288dad8a55189f88ee5a9e6d18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    mc
# Version required: 4.5.23
# Date created:     15 Jul 1995
# Whom:         torstenb@FreeBSD.ORG
#
# $Id: Makefile,v 1.29 1999/03/15 04:39:10 nectar Exp $
#

DISTNAME=   mc-4.5.23
CATEGORIES= misc
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= gnome-1.0/sources

MAINTAINER= reg@shale.csir.co.za

LIB_DEPENDS=    glib12.1:${PORTSDIR}/devel/glib12 \
        intl.1:${PORTSDIR}/devel/gettext

.if defined(USE_NCURSES_PORT)
LIB_DEPENDS+=   ncurses.4:${PORTSDIR}/devel/ncurses
.endif

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-ncurses --without-gnome --without-edit
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        MAKE="gmake" \
        GLIB_CONFIG="${LOCALBASE}/bin/glib12-config" \
        LIBS="-L${LOCALBASE}/lib"

MAN1=       midc.1
MAN8=       mcserv.8

.include <bsd.port.mk>