Date: Fri, 15 Dec 2017 17:08:56 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456409 - head/graphics/darknock Message-ID: <201712151708.vBFH8u37086022@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Dec 15 17:08:56 2017 New Revision: 456409 URL: https://svnweb.freebsd.org/changeset/ports/456409 Log: - Fix whitespace - Switch to options helpers Modified: head/graphics/darknock/Makefile Modified: head/graphics/darknock/Makefile ============================================================================== --- head/graphics/darknock/Makefile Fri Dec 15 17:07:50 2017 (r456408) +++ head/graphics/darknock/Makefile Fri Dec 15 17:08:56 2017 (r456409) @@ -20,22 +20,18 @@ USE_QT4= gui linguisttools_build moc_build rcc_build u PORTDOCS= changelog PLIST_FILES= bin/darknock share/pixmaps/darknock.png -DESKTOP_ENTRIES= "${PORTNAME}" \ - "${COMMENT}" \ - "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ - "${PORTNAME}" \ - "Graphics;Qt;" \ - "true" +DESKTOP_ENTRIES="${PORTNAME}" \ + "" \ + "${PREFIX}/share/pixmaps/${PORTNAME}.png" \ + "${PORTNAME}" \ + "Graphics;Qt;" \ + "true" OPTIONS_DEFINE= DOCS NLS -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MNLS} .for lang in fr it pl ro sv tr -PLIST_FILES+= %%DATADIR%%/locale/darknock_${lang}.qm +NLS_PLIST_FILES+= %%DATADIR%%/locale/darknock_${lang}.qm .endfor -.endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share/darknock|${DATADIR}|g' \ @@ -47,13 +43,13 @@ pre-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps -.if ${PORT_OPTIONS:MNLS} + +do-install-NLS-on: @${MKDIR} ${STAGEDIR}${DATADIR}/locale ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale -.endif -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/changelog ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712151708.vBFH8u37086022>