From owner-svn-ports-all@FreeBSD.ORG Fri Jun 13 09:12:17 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B265BD05; Fri, 13 Jun 2014 09:12:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8781823C0; Fri, 13 Jun 2014 09:12:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5D9CHxi093613; Fri, 13 Jun 2014 09:12:17 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5D9CH0B093611; Fri, 13 Jun 2014 09:12:17 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201406130912.s5D9CH0B093611@svn.freebsd.org> From: Pawel Pekala Date: Fri, 13 Jun 2014 09:12:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357660 - head/misc/mc-light X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 09:12:17 -0000 Author: pawel Date: Fri Jun 13 09:12:16 2014 New Revision: 357660 URL: http://svnweb.freebsd.org/changeset/ports/357660 QAT: https://qat.redports.org/buildarchive/r357660/ Log: - Add staging support - Use options subs, helpers Modified: head/misc/mc-light/Makefile head/misc/mc-light/pkg-plist Modified: head/misc/mc-light/Makefile ============================================================================== --- head/misc/mc-light/Makefile Fri Jun 13 08:59:03 2014 (r357659) +++ head/misc/mc-light/Makefile Fri Jun 13 09:12:16 2014 (r357660) @@ -15,10 +15,6 @@ RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk CONFLICTS= mc-4.7* -OPTIONS_DEFINE= NLS SUBSHELL MC_IN_MC -SUBSHELL_DESC= Build with subshell support (only for bash!) -MC_IN_MC_DESC= Allow run mc inside mc (useful for mcedit) - USES= pkgconfig iconv gmake GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-included-slang \ @@ -28,31 +24,25 @@ CONFIGURE_ARGS+=--with-included-slang \ --without-gpm-mouse \ --with-edit -MAN1= mc.1 mcedit.1 -MAN8= mcserv.8 +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 -NO_STAGE= yes -.include +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext -.if ! ${PORT_OPTIONS:MSUBSHELL} -CONFIGURE_ARGS+=--without-subshell -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:MMC_IN_MC} -CPPFLAGS+= -DMC_IN_MC_ALLOWED -.endif +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 ${PREFIX}/share/mc/extfs/${i} + ${CHMOD} 755 ${STAGEDIR}${PREFIX}/share/mc/extfs/${i} .endfor .include Modified: head/misc/mc-light/pkg-plist ============================================================================== --- head/misc/mc-light/pkg-plist Fri Jun 13 08:59:03 2014 (r357659) +++ head/misc/mc-light/pkg-plist Fri Jun 13 09:12:16 2014 (r357660) @@ -2,6 +2,9 @@ bin/mc bin/mcedit bin/mcmfmt bin/mcserv +man/man1/mc.1.gz +man/man1/mcedit.1.gz +man/man8/mcserv.8.gz share/mc/FAQ share/mc/bin/mcfn_install share/mc/codepages/7bit.cp