From owner-svn-ports-all@FreeBSD.ORG Wed Apr 17 08:15:13 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 957C7C32; Wed, 17 Apr 2013 08:15:13 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep20.mx.upcmail.net (fep20.mx.upcmail.net [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id 82D0A2C2; Wed, 17 Apr 2013 08:15:11 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep20-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130417081505.SSUW716.viefep20-int.chello.at@edge04.upcmail.net>; Wed, 17 Apr 2013 10:15:05 +0200 Received: from [127.0.0.1] ([178.84.132.32]) by edge04.upcmail.net with edge id QwF31l00m0i5fp604wF33a; Wed, 17 Apr 2013 10:15:05 +0200 X-SourceIP: 178.84.132.32 Message-ID: <516E5A08.2010202@rainbow-runner.nl> Date: Wed, 17 Apr 2013 10:15:04 +0200 From: Koop Mast User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tijl Coosemans Subject: Re: svn commit: r315907 - head/Mk/Uses References: <201304162121.r3GLLPjp013493@svn.freebsd.org> <516E4A54.2020501@coosemans.org> In-Reply-To: <516E4A54.2020501@coosemans.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130416-1, 16-04-2013), Outbound message X-Antivirus-Status: Clean Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 08:15:13 -0000 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@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 >> >