pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please review package wip/openttd

On Tuesday 29 March 2005 21:04, Thomas Klausner wrote:
> On Tue, Mar 29, 2005 at 01:50:14PM +0700, Ian Zagorskih wrote:
> > I think i have fixed all notes above. Please review wip/openttd package
> > again :)
> Only one thing:
> you suggest that the user should add the data files to
> ${PREFIX}/share/games/openttd, but the PLIST tries
> to delete that directory.
> You could try using OWN_DIRS or MAKE_DIRS for this
> (see mk/

If frankly, ATM i do not understand how exactly OWN_DIRS or MAKE_DIRS work. 
Just listing relevant dirs in this variables does not make any positive 
effect. Probably, a little hack like below isn't so bad?

@unexec ${RMDIR} %D/share/games/openttd/data 2>/dev/null || ${TRUE}
@unexec ${RMDIR} %D/share/games/openttd/gm 2>/dev/null || ${TRUE}
@unexec ${RMDIR} %D/share/games/openttd 2>/dev/null || ${TRUE}

PS: Though i would prefer to get rid of manuall shell commands execution and 
would like to use some generic pkgsrc framerowk.

// wbr

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
pkgsrc-wip-review mailing list

Home | Main Index | Thread Index | Old Index