From owner-svn-ports-head@FreeBSD.ORG Tue Feb 4 13:57:46 2014 Return-Path: Delivered-To: svn-ports-head@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 5CB5888D; Tue, 4 Feb 2014 13:57:46 +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 381D61FDC; Tue, 4 Feb 2014 13:57:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s14Dvke4084102; Tue, 4 Feb 2014 13:57:46 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s14DvjaF084100; Tue, 4 Feb 2014 13:57:45 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201402041357.s14DvjaF084100@svn.freebsd.org> From: Rusmir Dusko Date: Tue, 4 Feb 2014 13:57:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342531 - head/games/connectagram 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.17 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: Tue, 04 Feb 2014 13:57:46 -0000 Author: nemysis Date: Tue Feb 4 13:57:45 2014 New Revision: 342531 URL: http://svnweb.freebsd.org/changeset/ports/342531 QAT: https://qat.redports.org/buildarchive/r342531/ Log: - Remove USES desktop-file-utils - Add NLS Option and REINPLACE - Add OPTIONS_SUB - Strip executable - Recreate pkg-plist with make makeplist Modified: head/games/connectagram/Makefile head/games/connectagram/pkg-plist Modified: head/games/connectagram/Makefile ============================================================================== --- head/games/connectagram/Makefile Tue Feb 4 13:44:56 2014 (r342530) +++ head/games/connectagram/Makefile Tue Feb 4 13:57:45 2014 (r342531) @@ -13,18 +13,30 @@ COMMENT= Word unscrambling game LICENSE= GPLv3 USE_BZIP2= yes -USES= desktop-file-utils qmake +USES= qmake USE_QT4= moc_build rcc_build gui network iconengines_run \ imageformats_run INSTALLS_ICONS= yes PORTDOCS= CREDITS ChangeLog +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} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}) @(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} patterns ${STAGEDIR}${DATADIR}) + @(cd ${WRKSRC}/icons && ${COPYTREE_SHARE} hicolor ${STAGEDIR}${PREFIX}/share/icons/) ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ Modified: head/games/connectagram/pkg-plist ============================================================================== --- head/games/connectagram/pkg-plist Tue Feb 4 13:44:56 2014 (r342530) +++ head/games/connectagram/pkg-plist Tue Feb 4 13:57:45 2014 (r342531) @@ -8,14 +8,14 @@ share/applications/connectagram.desktop %%DATADIR%%/patterns/3.png %%DATADIR%%/patterns/4.png %%DATADIR%%/patterns/5.png -%%DATADIR%%/translations/connectagram_cs.qm -%%DATADIR%%/translations/connectagram_de.qm -%%DATADIR%%/translations/connectagram_el.qm -%%DATADIR%%/translations/connectagram_en.qm -%%DATADIR%%/translations/connectagram_fr.qm -%%DATADIR%%/translations/connectagram_ro.qm -%%DATADIR%%/translations/connectagram_ru.qm -%%DATADIR%%/translations/connectagram_tr.qm +%%NLS%%%%DATADIR%%/translations/connectagram_cs.qm +%%NLS%%%%DATADIR%%/translations/connectagram_de.qm +%%NLS%%%%DATADIR%%/translations/connectagram_el.qm +%%NLS%%%%DATADIR%%/translations/connectagram_en.qm +%%NLS%%%%DATADIR%%/translations/connectagram_fr.qm +%%NLS%%%%DATADIR%%/translations/connectagram_ro.qm +%%NLS%%%%DATADIR%%/translations/connectagram_ru.qm +%%NLS%%%%DATADIR%%/translations/connectagram_tr.qm share/icons/hicolor/128x128/apps/connectagram.png share/icons/hicolor/16x16/apps/connectagram.png share/icons/hicolor/22x22/apps/connectagram.png @@ -27,7 +27,7 @@ share/icons/hicolor/64x64/apps/connectag share/icons/hicolor/scalable/apps/connectagram.svg share/pixmaps/connectagram.png share/pixmaps/connectagram.xpm -@dirrm %%DATADIR%%/translations +%%NLS%%@dirrm %%DATADIR%%/translations @dirrm %%DATADIR%%/patterns @dirrm %%DATADIR%%/data/fr @dirrm %%DATADIR%%/data/en