mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Migrate to OPTIONS
- Add MC_IN_MC knob. It allows to run mcedit inside mc. Approved by: maintainer
This commit is contained in:
parent
06a8870de6
commit
15e8d95cd1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136604
1 changed files with 12 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= mc-light
|
PORTNAME= mc-light
|
||||||
PORTVERSION= 4.1.40.p9
|
PORTVERSION= 4.1.40.p9
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= misc shells
|
CATEGORIES= misc shells
|
||||||
MASTER_SITES= http://mc.linuxinside.com/Releases/
|
MASTER_SITES= http://mc.linuxinside.com/Releases/
|
||||||
DISTNAME= mc-${PORTVERSION:S/.p9/-pre9/}
|
DISTNAME= mc-${PORTVERSION:S/.p9/-pre9/}
|
||||||
|
@ -19,6 +19,10 @@ RUN_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
|
||||||
|
|
||||||
CONFLICTS= mc-4.6*
|
CONFLICTS= mc-4.6*
|
||||||
|
|
||||||
|
OPTIONS= NLS "Enable gettext support" on \
|
||||||
|
SUBSHELL "Build with subshell support (only for bash!)" off \
|
||||||
|
MC_IN_MC "Allow run mc inside mc (useful for mcedit)" off
|
||||||
|
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_ICONV= yes
|
USE_ICONV= yes
|
||||||
USE_GNOME= pkgconfig gnometarget
|
USE_GNOME= pkgconfig gnometarget
|
||||||
|
@ -33,6 +37,8 @@ CONFIGURE_ARGS+=--with-included-slang \
|
||||||
MAN1= mc.1 mcedit.1
|
MAN1= mc.1 mcedit.1
|
||||||
MAN8= mcserv.8
|
MAN8= mcserv.8
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if !defined(WITH_SUBSHELL)
|
.if !defined(WITH_SUBSHELL)
|
||||||
CONFIGURE_ARGS+=--without-subshell
|
CONFIGURE_ARGS+=--without-subshell
|
||||||
.endif
|
.endif
|
||||||
|
@ -45,9 +51,13 @@ CONFIGURE_ARGS+=--disable-nls
|
||||||
PLIST_SUB+= NLS="@comment "
|
PLIST_SUB+= NLS="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_MC_IN_MC)
|
||||||
|
CONFIGURE_ENV+= CPPFLAGS=-DMC_IN_MC_ALLOWED
|
||||||
|
.endif
|
||||||
|
|
||||||
post-install:
|
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
|
.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 ${PREFIX}/share/mc/extfs/${i}
|
${CHMOD} 755 ${PREFIX}/share/mc/extfs/${i}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue