From owner-svn-ports-all@FreeBSD.ORG Sun Feb 22 06:17:14 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8AE1F8A6; Sun, 22 Feb 2015 06:17:14 +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 7679715D; Sun, 22 Feb 2015 06:17:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1M6HD1g034846; Sun, 22 Feb 2015 06:17:13 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1M6HDpB034845; Sun, 22 Feb 2015 06:17:13 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201502220617.t1M6HDpB034845@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 22 Feb 2015 06:17:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379581 - head/devel/bpython 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-1 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: Sun, 22 Feb 2015 06:17:14 -0000 Author: sunpoet Date: Sun Feb 22 06:17:13 2015 New Revision: 379581 URL: https://svnweb.freebsd.org/changeset/ports/379581 QAT: https://qat.redports.org/buildarchive/r379581/ Log: - Fix build whe NLS option is off Modified: head/devel/bpython/Makefile Modified: head/devel/bpython/Makefile ============================================================================== --- head/devel/bpython/Makefile Sun Feb 22 05:56:19 2015 (r379580) +++ head/devel/bpython/Makefile Sun Feb 22 06:17:13 2015 (r379581) @@ -26,6 +26,8 @@ PORTEXAMPLES= light.theme sample.theme NLS_USES= gettext +.include + post-patch: @${REINPLACE_CMD} -e '/build\/man\/bpython/d; /data\/bpython.desktop/d' ${WRKSRC}/setup.py @@ -35,11 +37,13 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/data/bpython.desktop ${STAGEDIR}${DESKTOPDIR}/ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ +.if ${PORT_OPTIONS:MNLS} .for lang in it_IT nl_NL ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/ .endfor .for lang in de es_ES it_IT nl_NL ${INSTALL_DATA} ${WRKSRC}/bpython/translations/${lang}/LC_MESSAGES/bpython.mo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/ .endfor +.endif .include