From owner-svn-ports-head@freebsd.org Sat Sep 5 22:48:50 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A92AB9CA4C6; Sat, 5 Sep 2015 22:48:50 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.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 99DB1927; Sat, 5 Sep 2015 22:48:50 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t85MmodR095779; Sat, 5 Sep 2015 22:48:50 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t85Mmogd095778; Sat, 5 Sep 2015 22:48:50 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201509052248.t85Mmogd095778@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 5 Sep 2015 22:48:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396199 - head/games/anki X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2015 22:48:50 -0000 Author: jbeich Date: Sat Sep 5 22:48:49 2015 New Revision: 396199 URL: https://svnweb.freebsd.org/changeset/ports/396199 Log: games/anki: convert to target option helpers Modified: head/games/anki/Makefile (contents, props changed) Modified: head/games/anki/Makefile ============================================================================== --- head/games/anki/Makefile Sat Sep 5 22:48:36 2015 (r396198) +++ head/games/anki/Makefile Sat Sep 5 22:48:49 2015 (r396199) @@ -33,8 +33,6 @@ NLS_USES= gettext-runtime gettext-tools NO_ARCH= yes -.include - post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|; \ s|/usr/share/anki|${DATADIR}|' \ @@ -43,10 +41,9 @@ post-patch: 's|/usr/share/anki/locale|${PREFIX}/share/locale|' \ ${WRKSRC}/anki/lang.py -.if ! ${PORT_OPTIONS:MNLS} +post-patch-NLS-off: @${REINPLACE_CMD} -i '' '/mkdir -p qt-locale/,/cp -av locale/s/^/#/' \ ${WRKSRC}/Makefile -.endif do-build: @${PYTHON_CMD} -m compileall ${WRKSRC}