aboutsummaryrefslogtreecommitdiff
path: root/devel/xdg-utils/Makefile
blob: 391fc056a95c1fcfdf3aaa7d0ca448a5014b3a5e (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
# Created by: Michael Johnson <ahze@FreeBSD.org>

PORTNAME=	xdg-utils
PORTVERSION=	1.1.3
PORTREVISION=	1
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

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

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>