cvs commit: ports/games/wesnoth-devel Makefile

Jeremy Messenger mezz.freebsd at gmail.com
Fri Jul 1 23:37:09 UTC 2011


On Fri, Jul 1, 2011 at 6:09 PM, Jeremy Messenger <mezz.freebsd at gmail.com> wrote:
> On Fri, Jul 1, 2011 at 6:02 PM, Pan Tsu <inyaoo at gmail.com> wrote:
>> Pav Lucistnik <pav at FreeBSD.org> writes:
>>
>>> pav         2011-07-01 20:59:46 UTC
>>>
>>>   FreeBSD ports repository
>>>
>>>   Modified files:
>>>     games/wesnoth-devel  Makefile
>>>   Log:
>>>   - Mark BROKEN: incomplete plist
>>>
>>>   Reported by:    pointyhat
>>
>> Can you try the following diff?
>
> Umm... Why not do a real runtime dependency then create a symlink in
> ${DATADIR}/fonts/? I didn't check full in ports, just merely judge
> from your patch.
>
> Cheers,
> Mezz
>
>
>> %%
>> Index: games/wesnoth-devel/Makefile
>> ===================================================================
>> RCS file: /a/.cvsup/ports/games/wesnoth-devel/Makefile,v
>> retrieving revision 1.98
>> diff -u -p -r1.98 Makefile
>> --- games/wesnoth-devel/Makefile        1 Jul 2011 20:59:46 -0000       1.98
>> +++ games/wesnoth-devel/Makefile        1 Jul 2011 22:48:43 -0000
>> @@ -15,10 +15,8 @@ PKGNAMESUFFIX=       -devel
>>  MAINTAINER=    philip at FreeBSD.org
>>  COMMENT=       A fantasy turn-based strategy game
>>
>> +EXTRACT_DEPENDS=${WRKSRC}/fonts/Junicode-Regular.ttf:${PORTSDIR}/x11-fonts/junicode:extract
>>  LIB_DEPENDS=   boost_thread.4:${PORTSDIR}/devel/boost-libs
>> -RUN_DEPENDS=   ${NONEXISTENT}:${PORTSDIR}/x11-fonts/junicode:extract
>> -
>> -BROKEN=                incomplete plist
>>
>>  LICENSE=       GPLv2 GPLv3
>>  LICENSE_COMB=  dual
>> @@ -164,10 +162,12 @@ CMAKE_ARGS+=      -DDOCDIR=none
>>  IGNORE=                game data is required, undefine NOPORTDATA
>>  .endif
>>
>> -post-install:
>> +post-extract:  .SILENT
>>        ${INSTALL_DATA} $$(${MAKE} -V WRKSRC \
>>                -C ${PORTSDIR}/x11-fonts/junicode)/fonts/Junicode-Regular.ttf \
------------------------------------------------------------^^^

By the way, there is typo. See that ')'.

>> -               ${DATADIR}/fonts
>> +               ${WRKSRC}/fonts
>> +
>> +post-install:
>>        -update-desktop-database ${PREFIX}/share/applications
>>
>>  .include <bsd.port.mk>
>> %%


-- 
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org


More information about the cvs-all mailing list