[Bug 197444] math/gambit: Update to version 14.1.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 17 05:24:38 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197444

--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 152743
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152743
math_gumbit.diff

>+post-patch:
>+	@${REINPLACE_CMD} -e \
>+		'/^Icon/s|=.*|=${PREFIX}/share/pixmaps/gambit.xpm|' \
>+		${WRKSRC}/gambit.desktop

Do you *not* see the icon without the change? According to the specs
relative paths to .xpm should be supported. Otherwise, many more ports
would be affected e.g., x11/xterm, multimedia/miro.

http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout

>+post-install:
>+	(cd ${WRKSRC} && ${INSTALL_DATA} gambit.desktop \
>+		${STAGEDIR}${PREFIX}/share/applications)
>+	(cd ${WRKSRC}/src/gui/bitmaps && ${INSTALL_DATA} gambit.xpm \
>+		${STAGEDIR}${PREFIX}/share/pixmaps)

Style nit: avoid `cd' for installing only one file in each directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list