There are some whitespaces nits in the Makefile (space/tab/space etc)
otherwise OK with me.



On 2022/06/19 20:00, mazzurco.riccardo wrote:
> Thanks Yifei Zhan, Stuart Henderson, Omar Polo for the suggestions, I am 
> attaching an updated tarball with the fixes
> 
> ------- Original Message -------
> Il lunedì 13 giugno 2022 11:16 AM, Stuart Henderson <s...@spacehopper.org> ha 
> scritto:
> 
> > Please rename the distfile using the {} syntax of DISTFILES (see 
> > bsd.port.mk(5) or crib from another port), having a file named icon.png in 
> > the common distfiles directory is not ideal
> >
> > --
> > Sent from a phone, apologies for poor formatting.
> >
> > On 13 June 2022 05:41:48 Yifei Zhan <openbsd@zhan.science> wrote:
> >
> >> On 22/06/12 10:43AM, mazzurco.riccardo wrote:
> >>
> >>> Hi,
> >>> I attached a new port for Pixelorama - 
> >>> https://orama-interactive.itch.io/pixelorama
> >>> From the DESCR:
> >>
> >> Looks interesting to me :)
> >>
> >> A few tweaks:
> >>
> >> - The built in .desktop file sets Icon=icon.png, this won't work
> >> because that file doesn't exist. I tweaked Makefile to fetch the
> >> icon file from the upstream repo and install it before setting up
> >> .desktop file:
> >>
> >> MASTER_SITES = 
> >> https://github.com/Orama-Interactive/Pixelorama/releases/download/v$V/
> >> MASTER_SITES0 = 
> >> https://github.com/Orama-Interactive/Pixelorama/raw/v$V/Misc/Clickable/click/
> >> DISTFILES = ${DISTNAME}{Pixelorama.Linux-64bit}${EXTRACT_SUFX} \
> >> icon.png:0
> >>
> >> EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
> >>
> >> ---cut---
> >>
> >> ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/
> >> ${INSTALL_DATA} ${FULLDISTDIR}/icon.png 
> >> ${PREFIX}/share/pixmaps/pixelorama.png
> >> ${SUBST_DATA} ${FILESDIR}/pixelorama.desktop \
> >> ${PREFIX}/share/applications/pixelorama.desktop
> >>
> >> - .desktop file is modified to use the correct path:
> >>
> >> Icon=${TRUEPREFIX}/share/pixmaps/pixelorama.png
> >>
> >> - This port is tested on amd64 (the only supported arch, as this port
> >> uses pre-compiled file), works fine for me.
> >>
> >> - Formatting change for consistency.


Reply via email to