From owner-svn-ports-head@FreeBSD.ORG Tue Feb 4 13:58:14 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 E5537B21; Tue, 4 Feb 2014 13:58:13 +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 C357F1FEB; Tue, 4 Feb 2014 13:58:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s14DwDS5084414; Tue, 4 Feb 2014 13:58:13 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s14DwD8L084412; Tue, 4 Feb 2014 13:58:13 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201402041358.s14DwD8L084412@svn.freebsd.org> From: Rusmir Dusko Date: Tue, 4 Feb 2014 13:58:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342534 - head/games/tanglet 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:58:14 -0000 Author: nemysis Date: Tue Feb 4 13:58:13 2014 New Revision: 342534 URL: http://svnweb.freebsd.org/changeset/ports/342534 QAT: https://qat.redports.org/buildarchive/r342534/ 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/tanglet/Makefile head/games/tanglet/pkg-plist Modified: head/games/tanglet/Makefile ============================================================================== --- head/games/tanglet/Makefile Tue Feb 4 13:58:03 2014 (r342533) +++ head/games/tanglet/Makefile Tue Feb 4 13:58:13 2014 (r342534) @@ -14,24 +14,32 @@ COMMENT= Single player word finding game LICENSE= GPLv3 USE_BZIP2= yes -USES= desktop-file-utils qmake +USES= qmake USE_QT4= moc_build rcc_build gui iconengines_run imageformats_run LDFLAGS+= -lz INSTALLS_ICONS= yes PORTDOCS= CREDITS ChangeLog NEWS -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes .include post-patch: @${REINPLACE_CMD} -i '' -e '/PKGCONFIG += zlib/d' \ - ${WRKSRC}/tanglet.pro + ${WRKSRC}/${PORTNAME}.pro + +.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/ + ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} Modified: head/games/tanglet/pkg-plist ============================================================================== --- head/games/tanglet/pkg-plist Tue Feb 4 13:58:03 2014 (r342533) +++ head/games/tanglet/pkg-plist Tue Feb 4 13:58:13 2014 (r342534) @@ -44,20 +44,20 @@ share/pixmaps/tanglet.xpm %%DATADIR%%/data/nl/dictionary %%DATADIR%%/data/nl/name %%DATADIR%%/data/nl/words -%%DATADIR%%/translations/tanglet_cs.qm -%%DATADIR%%/translations/tanglet_de.qm -%%DATADIR%%/translations/tanglet_en.qm -%%DATADIR%%/translations/tanglet_es.qm -%%DATADIR%%/translations/tanglet_es_CL.qm -%%DATADIR%%/translations/tanglet_fr.qm -%%DATADIR%%/translations/tanglet_he.qm -%%DATADIR%%/translations/tanglet_hu.qm -%%DATADIR%%/translations/tanglet_it.qm -%%DATADIR%%/translations/tanglet_nl.qm -%%DATADIR%%/translations/tanglet_ro.qm -%%DATADIR%%/translations/tanglet_tr.qm -%%DATADIR%%/translations/tanglet_uk.qm -@dirrm %%DATADIR%%/translations +%%NLS%%%%DATADIR%%/translations/tanglet_cs.qm +%%NLS%%%%DATADIR%%/translations/tanglet_de.qm +%%NLS%%%%DATADIR%%/translations/tanglet_en.qm +%%NLS%%%%DATADIR%%/translations/tanglet_es.qm +%%NLS%%%%DATADIR%%/translations/tanglet_es_CL.qm +%%NLS%%%%DATADIR%%/translations/tanglet_fr.qm +%%NLS%%%%DATADIR%%/translations/tanglet_he.qm +%%NLS%%%%DATADIR%%/translations/tanglet_hu.qm +%%NLS%%%%DATADIR%%/translations/tanglet_it.qm +%%NLS%%%%DATADIR%%/translations/tanglet_nl.qm +%%NLS%%%%DATADIR%%/translations/tanglet_ro.qm +%%NLS%%%%DATADIR%%/translations/tanglet_tr.qm +%%NLS%%%%DATADIR%%/translations/tanglet_uk.qm +%%NLS%%@dirrm %%DATADIR%%/translations @dirrm %%DATADIR%%/data/nl @dirrm %%DATADIR%%/data/hu @dirrm %%DATADIR%%/data/he