Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jul 2011 18:09:01 -0500
From:      Jeremy Messenger <mezz.freebsd@gmail.com>
To:        Pan Tsu <inyaoo@gmail.com>
Cc:        cvs-ports@freebsd.org, Pav Lucistnik <pav@freebsd.org>, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: cvs commit: ports/games/wesnoth-devel Makefile
Message-ID:  <BANLkTim-Bo889uaGCPkzP5abqUJxYNyJhQ@mail.gmail.com>
In-Reply-To: <86wrg1zjt2.fsf@gmail.com>
References:  <201107012059.p61Kxkme036450__17604.1052364328$1309554009$gmane$org@repoman.freebsd.org> <86wrg1zjt2.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 1, 2011 at 6:02 PM, Pan Tsu <inyaoo@gmail.com> wrote:
> Pav Lucistnik <pav@FreeBSD.org> writes:
>
>> pav =A0 =A0 =A0 =A0 2011-07-01 20:59:46 UTC
>>
>> =A0 FreeBSD ports repository
>>
>> =A0 Modified files:
>> =A0 =A0 games/wesnoth-devel =A0Makefile
>> =A0 Log:
>> =A0 - Mark BROKEN: incomplete plist
>>
>> =A0 Reported by: =A0 =A0pointyhat
>
> 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
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /a/.cvsup/ports/games/wesnoth-devel/Makefile,v
> retrieving revision 1.98
> diff -u -p -r1.98 Makefile
> --- games/wesnoth-devel/Makefile =A0 =A0 =A0 =A01 Jul 2011 20:59:46 -0000=
 =A0 =A0 =A0 1.98
> +++ games/wesnoth-devel/Makefile =A0 =A0 =A0 =A01 Jul 2011 22:48:43 -0000
> @@ -15,10 +15,8 @@ PKGNAMESUFFIX=3D =A0 =A0 =A0 -devel
> =A0MAINTAINER=3D =A0 =A0philip@FreeBSD.org
> =A0COMMENT=3D =A0 =A0 =A0 A fantasy turn-based strategy game
>
> +EXTRACT_DEPENDS=3D${WRKSRC}/fonts/Junicode-Regular.ttf:${PORTSDIR}/x11-f=
onts/junicode:extract
> =A0LIB_DEPENDS=3D =A0 boost_thread.4:${PORTSDIR}/devel/boost-libs
> -RUN_DEPENDS=3D =A0 ${NONEXISTENT}:${PORTSDIR}/x11-fonts/junicode:extract
> -
> -BROKEN=3D =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0incomplete plist
>
> =A0LICENSE=3D =A0 =A0 =A0 GPLv2 GPLv3
> =A0LICENSE_COMB=3D =A0dual
> @@ -164,10 +162,12 @@ CMAKE_ARGS+=3D =A0 =A0 =A0-DDOCDIR=3Dnone
> =A0IGNORE=3D =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0game data is required, undefi=
ne NOPORTDATA
> =A0.endif
>
> -post-install:
> +post-extract: =A0.SILENT
> =A0 =A0 =A0 =A0${INSTALL_DATA} $$(${MAKE} -V WRKSRC \
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-C ${PORTSDIR}/x11-fonts/junicode)/fonts/J=
unicode-Regular.ttf \
> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 ${DATADIR}/fonts
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 ${WRKSRC}/fonts
> +
> +post-install:
> =A0 =A0 =A0 =A0-update-desktop-database ${PREFIX}/share/applications
>
> =A0.include <bsd.port.mk>
> %%
>



--=20
mezz.freebsd@gmail.com - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTim-Bo889uaGCPkzP5abqUJxYNyJhQ>