aboutsummaryrefslogtreecommitdiff
path: root/devel/xdg-utils/Makefile
blob: fae8e7b16dd1f96f92b37ad7fdc3666578939585 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	xdg-utils
PORTVERSION=	1.1.3
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	https://portland.freedesktop.org/download/

MAINTAINER=	desktop@FreeBSD.org
COMMENT=	Tools to allow all applications to integrate with the free desktop
WWW=		https://www.freedesktop.org/wiki/Software/xdg-utils/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	minixmlto:textproc/minixmlto
RUN_DEPENDS=	${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme

USES=		cpe gmake

CPE_VENDOR=	freedesktop

CONFIGURE_ENV=	XMLTO=${LOCALBASE}/bin/minixmlto
GNU_CONFIGURE=	yes
NO_ARCH=	yes
MAKE_ENV=	PREFER_DOCBOOK2MDOC=1

OPTIONS_DEFINE=	X11
OPTIONS_DEFAULT=X11
X11_RUN_DEPENDS=xprop:x11/xprop \
		xset:x11/xset

post-patch:
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
		${WRKSRC}/scripts/xdg-*

.include <bsd.port.mk>