Date: Mon, 20 Jan 2014 10:32:52 +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: r340383 - head/games/anki Message-ID: <201401201032.s0KAWqfF011462@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Mon Jan 20 10:32:52 2014 New Revision: 340383 URL: http://svnweb.freebsd.org/changeset/ports/340383 QAT: https://qat.redports.org/buildarchive/r340383/ Log: - Change REINPLACE_CMD, make PREFIX safe Reported by: makc Modified: head/games/anki/Makefile Modified: head/games/anki/Makefile ============================================================================== --- head/games/anki/Makefile Mon Jan 20 10:26:49 2014 (r340382) +++ head/games/anki/Makefile Mon Jan 20 10:32:52 2014 (r340383) @@ -39,11 +39,11 @@ post-patch: @${REINPLACE_CMD} -e \ 's|^Categories=.*|Categories=Education;Languages;KDE;Qt;Game;|' \ ${WRKSRC}/${PORTNAME}.desktop - @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}| ; \ - s|/usr/share/anki|/usr/local/share/anki|' \ + @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|; \ + s|/usr/share/anki|${DATADIR}|' \ ${WRKSRC}/runanki @${REINPLACE_CMD} -e \ - 's|/usr/share/anki/locale|/usr/local/share/locale|' \ + 's|/usr/share/anki/locale|${PREFIX}/share/locale|' \ ${WRKSRC}/anki/lang.py @${FIND} ${WRKSRC} -name "*.bak" -delete -or -name "*.orig" -delete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401201032.s0KAWqfF011462>