svn commit: r315907 - head/Mk/Uses

Koop Mast kwm at rainbow-runner.nl
Wed Apr 17 08:15:13 UTC 2013


On 17-4-2013 9:08, Tijl Coosemans wrote:
> On 2013-04-16 23:21, Koop Mast wrote:
>> Added: head/Mk/Uses/shared-mime-info.mk
>> ==============================================================================
>> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
>> +++ head/Mk/Uses/shared-mime-info.mk	Tue Apr 16 21:21:25 2013	(r315907)
>> @@ -0,0 +1,34 @@
>> +# $FreeBSD$
>> +#
>> +# handle dependency depends on shared-mime-info and package regen
>> +#
>> +# MAINTAINER: gnome at FreeBSD.org
>> +#
>> +# Feature:	shared-mime-info
>> +# Usage:	USES=shared-mime-info
>> +# Valid ARGS:	does not require args
>> +#
>> +#
>> +.if !defined(_INCLUDE_USES_SHARED_MIME_INFO_MK)
>> +_INCLUDE_USES_SHARED_MIME_INFO_MK=	yes
>> +
>> +.if defined(shared-mime-info_ARGS)
>> +IGNORE=	USES=shared-mime-info does not require args
>> +.endif
>> +
>> +BUILD_DEPENDS+=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
>> +RUN_DEPENDS+=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
>> +
>> +# bolt our post-install target to post-install
>> +post-install: shared-mime-post-install
>> +
>> +shared-mime-post-install:
>> +# run for port post-install
>> +	@-update-desktop-database
> Shouldn't this be update-mime-database?

Ouch fixed. This is what you get when copieen files and not being 
careful to change them properly. Thanks for reporting!

-Koop

>> +# plist entries for packages.
>> +	@${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-mime-database %D/share/mime" \
>> +		>> ${TMPPLIST}; \
>> +	${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-mime-database %D/share/mime" \
>> +		>> ${TMPPLIST}
>> +
>> +.endif
>>
>



More information about the svn-ports-head mailing list