1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/mc-light/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Roman Y. Bogdanov <sam@brj.pp.ru>
# $FreeBSD$
PORTNAME= mc-light
PORTVERSION= 4.1.40.p9
PORTREVISION= 9
CATEGORIES= misc shells
MASTER_SITES= http://mc.linuxinside.com/Releases/
DISTNAME= mc-${PORTVERSION:S/.p9/-pre9/}
2010-09-24 09:49:56 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight Midnight Commander clone
RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk
2010-09-09 19:14:28 +00:00
CONFLICTS= mc-4.7*
USES= pkgconfig iconv gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-included-slang \
--with-gettext \
--with-vfs \
--with-netrc \
--without-gpm-mouse \
--with-edit
OPTIONS_DEFINE= NLS SUBSHELL MC_IN_MC
OPTIONS_SUB= yes
SUBSHELL_DESC= Build with subshell support (only for bash!)
SUBSHELL_CONFIGURE_WITH= subshell
MC_IN_MC_DESC= Allow run mc inside mc (useful for mcedit)
MC_IN_MC_CPPFLAGS= -DMC_IN_MC_ALLOWED
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} '/destdir/ s|gnulocaledir|DESTDIR)$$(&|' \
${WRKSRC}/po/Makefile.in.in
post-install:
.for i in a arfs audio cpio deb esp ftplist hp48 iso lha lslR mailfs patchfs rar rpm trpm uarj uha zip zoo
${CHMOD} 755 ${STAGEDIR}${PREFIX}/share/mc/extfs/${i}
.endfor
2012-06-29 12:42:04 +00:00
.include <bsd.port.mk>