summaryrefslogtreecommitdiffstats
path: root/misc/mc-light/Makefile
blob: c2ba230d0875cca4bf0cfc874924c8e77529a335 (plain)
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
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	mc-light
# Date created:				31.08.2004
# Whom:					Roman Y. Bogdanov <sam@brj.pp.ru>
#
# $FreeBSD$
#

PORTNAME=	mc-light
PORTVERSION=	4.1.40.p9
PORTREVISION=	1
CATEGORIES=	misc shells
MASTER_SITES=	http://mc.linuxinside.com/Releases/
DISTNAME=	mc-${PORTVERSION:S/.p9/-pre9/}

MAINTAINER=	sam@brj.pp.ru
COMMENT=	A lightweight Midnight Commander clone

RUN_DEPENDS+=	gawk:${PORTSDIR}/lang/gawk
CONFLICTS=	mc-4.6*

USE_GMAKE=	yes
USE_GNOME=	pkgconfig gnometarget
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-included-slang \
		--with-gettext \
		--with-vfs \
		--with-netrc \
		--without-subshell \
		--without-gpm-mouse \
		--with-edit

MAN1=		mc.1 mcedit.1
MAN8=		mcserv.8

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud