Merge branch 'staged'
[dports.git] / devel / xdg-utils / Makefile
1 PORTNAME=       xdg-utils
2 PORTVERSION=    1.1.3
3 PORTREVISION=   2
4 CATEGORIES=     devel
5 MASTER_SITES=   https://portland.freedesktop.org/download/
6
7 MAINTAINER=     desktop@FreeBSD.org
8 COMMENT=        Tools to allow all applications to integrate with the free desktop
9 WWW=            https://www.freedesktop.org/wiki/Software/xdg-utils/
10
11 LICENSE=        MIT
12 LICENSE_FILE=   ${WRKSRC}/LICENSE
13
14 BUILD_DEPENDS=  minixmlto:textproc/minixmlto
15 RUN_DEPENDS=    ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme
16
17 USES=           cpe gmake
18
19 CPE_VENDOR=     freedesktop
20
21 CONFIGURE_ENV=  XMLTO=${LOCALBASE}/bin/minixmlto
22 GNU_CONFIGURE=  yes
23 NO_ARCH=        yes
24 MAKE_ENV=       PREFER_DOCBOOK2MDOC=1
25
26 OPTIONS_DEFINE= X11
27 OPTIONS_DEFAULT=X11
28 X11_RUN_DEPENDS=xprop:x11/xprop \
29                 xset:x11/xset
30
31 post-patch:
32         @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
33                 ${WRKSRC}/scripts/xdg-*
34
35 .include <bsd.port.mk>