aboutsummaryrefslogtreecommitdiffstats
path: root/devel/xdg-utils/Makefile
blob: 5e05b9c12111bafc2b7b4643c84ba71c64746a49 (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
36
PORTNAME=	xdg-utils
DISTVERSIONPREFIX=	v
DISTVERSION=	1.2.1
CATEGORIES=	devel

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=	xmlto:textproc/xmlto
RUN_DEPENDS=	${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme

USES=		cpe gmake
CPE_VENDOR=	freedesktop
USE_GITLAB=	yes
GL_SITE=	https://gitlab.freedesktop.org
GL_ACCOUNT=	xdg

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-*.in

.include <bsd.port.mk>