freebsd-ports/Mk/Uses/desktop-file-utils.mk
Baptiste Daroussin 8cea2b0147 Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched
This gives more time for tools to get updated, available in packages etc before
bothering users
2015-10-15 07:36:38 +00:00

22 lines
604 B
Makefile

# $FreeBSD$
#
# handle dependency depends on desktop-file-utils and package regen
#
# Feature: desktop-file-utils
# Usage: USES=desktop-file-utils
# Valid ARGS: does not require args
#
# MAINTAINER: gnome@FreeBSD.org
.if !defined(_INCLUDE_USES_DESKTOP_FILE_UTILS_MK)
_INCLUDE_USES_DESKTOP_FILE_UTILS_MK= yes
.if !empty(desktop-file-utils_ARGS)
IGNORE= USES=desktop-file-utils does not require args
.endif
BUILD_DEPENDS+= update-desktop-database:${PORTSDIR}/devel/desktop-file-utils
RUN_DEPENDS+= update-desktop-database:${PORTSDIR}/devel/desktop-file-utils
PLIST_FILES+= "@desktop-file-utils"
.endif