From owner-svn-ports-all@FreeBSD.ORG Tue Feb 4 13:57:55 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6951E962; Tue, 4 Feb 2014 13:57:55 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3D3211FDE; Tue, 4 Feb 2014 13:57:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s14DvtUB084201; Tue, 4 Feb 2014 13:57:55 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s14DvsSF084199; Tue, 4 Feb 2014 13:57:54 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201402041357.s14DvsSF084199@svn.freebsd.org> From: Rusmir Dusko Date: Tue, 4 Feb 2014 13:57:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342532 - head/games/gottet 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.17 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: Tue, 04 Feb 2014 13:57:55 -0000 Author: nemysis Date: Tue Feb 4 13:57:54 2014 New Revision: 342532 URL: http://svnweb.freebsd.org/changeset/ports/342532 QAT: https://qat.redports.org/buildarchive/r342532/ Log: - Add NLS Option and REINPLACE - Add OPTIONS_SUB - Strip executable - Recreate pkg-plist with make makeplist Modified: head/games/gottet/Makefile head/games/gottet/pkg-plist Modified: head/games/gottet/Makefile ============================================================================== --- head/games/gottet/Makefile Tue Feb 4 13:57:45 2014 (r342531) +++ head/games/gottet/Makefile Tue Feb 4 13:57:54 2014 (r342532) @@ -20,9 +20,20 @@ INSTALLS_ICONS= yes PORTDOCS= CREDITS ChangeLog -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +.include + +post-patch: +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \ + ${WRKSRC}/${PORTNAME}.pro +.endif post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ Modified: head/games/gottet/pkg-plist ============================================================================== --- head/games/gottet/pkg-plist Tue Feb 4 13:57:45 2014 (r342531) +++ head/games/gottet/pkg-plist Tue Feb 4 13:57:54 2014 (r342532) @@ -1,9 +1,9 @@ bin/gottet share/applications/gottet.desktop -%%DATADIR%%/translations/gottet_en.qm -%%DATADIR%%/translations/gottet_fr.qm -%%DATADIR%%/translations/gottet_he.qm -%%DATADIR%%/translations/gottet_ro.qm +%%NLS%%%%DATADIR%%/translations/gottet_en.qm +%%NLS%%%%DATADIR%%/translations/gottet_fr.qm +%%NLS%%%%DATADIR%%/translations/gottet_he.qm +%%NLS%%%%DATADIR%%/translations/gottet_ro.qm share/icons/hicolor/128x128/apps/gottet.png share/icons/hicolor/16x16/apps/gottet.png share/icons/hicolor/22x22/apps/gottet.png @@ -15,5 +15,5 @@ share/icons/hicolor/64x64/apps/gottet.pn share/icons/hicolor/scalable/apps/gottet.svg share/pixmaps/gottet.png share/pixmaps/gottet.xpm -@dirrm %%DATADIR%%/translations -@dirrm %%DATADIR%% +%%NLS%%@dirrmtry %%DATADIR%%/translations +%%NLS%%@dirrmtry %%DATADIR%%