aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/shared-mime-info.mk
blob: a47953d93656a027e698bd1ee385f1f7acf3305a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD$
#
# handle dependency depends on shared-mime-info and package regen
#
# Feature:  shared-mime-info
# Usage:    USES=shared-mime-info
# Valid ARGS:   does not require args
#
# MAINTAINER: gnome@FreeBSD.org

.if !defined(_INCLUDE_USES_SHARED_MIME_INFO_MK)
_INCLUDE_USES_SHARED_MIME_INFO_MK=  yes

.if !empty(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
PLIST_FILES+=   "@shared-mime-info share/mime"

.endif