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 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@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 \
> - ${DATADIR}/fonts
> + ${WRKSRC}/fonts
> +
> +post-install:
> -update-desktop-database ${PREFIX}/share/applications
>
> .include <bsd.port.mk>
> %%
>
--
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>
