Date: Tue, 4 Feb 2014 13:58:13 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342534 - head/games/tanglet Message-ID: <201402041358.s14DwD8L084412@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402041358.s14DwD8L084412>