# $OpenBSD: Makefile,v 1.33 2019/01/30 06:11:18 ajacoutot Exp $ # Does _not_ depend on desktop-file-utils, hicolor-icon-theme, # gtk-update-icon-cache, shared-mime-info... on purpose as it should # only use whatever is available on the system at runtime. COMMENT= utilities to assist desktop integration tasks DISTNAME= xdg-utils-1.1.3 REVISION= 1 CATEGORIES= devel HOMEPAGE= https://wiki.freedesktop.org/www/Software/xdg-utils/ MAINTAINER= Antoine Jacoutot # MIT PERMIT_PACKAGE_CDROM= Yes MASTER_SITES= https://portland.freedesktop.org/download/ PKG_ARCH= * USE_GMAKE= Yes BUILD_DEPENDS= textproc/xmlto CONFIGURE_STYLE= gnu pre-configure: sed -i -e 's,/usr/local/share,${LOCALBASE}/share,g;' \ -e 's,/etc/xdg,${SYSCONFDIR}/xdg,g' \ ${WRKSRC}/scripts/xdg-*.in post-install: # Official NetBeans does not know about OpenBSD, thus at least # some java apps use 'email' and 'open' as fallbacks. ln -s xdg-email ${PREFIX}/bin/email ln -s xdg-open ${PREFIX}/bin/open do-test: cd ${WRKSRC}/autotests && ${MAKE_PROGRAM} .include