[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / dhcpcd-gtk

File: [cvs.NetBSD.org] / pkgsrc / net / dhcpcd-gtk / Makefile (download)

Revision 1.48, Sat Dec 21 23:09:23 2019 UTC (11 months, 1 week ago) by nros
Branch: MAIN
Changes since 1.47: +7 -1 lines

Fix installation of xdg autostart desktop files in dhcpcd-*

Make dhcpcd-gtk and dhcpcd-qt install xdg autostart files in the right
locations and use pkg_install framework to put then in PKG_SYSCONFDIR.
Fixes installation that was broken due to non updated PLIST files.

# $NetBSD: Makefile,v 1.48 2019/12/21 23:09:23 nros Exp $
#

PKGNAME=		dhcpcd-gtk-${DHCPCD_UI_VERSION}
PKGREVISION=		9
CATEGORIES=		net

COMMENT=		GTK+ system tray monitor for dhcpcd

DEPENDS+=	dhcpcd>=6.4.4:../../net/dhcpcd
DEPENDS+=	dhcpcd-icons>=${DHCPCD_UI_VERSION}:../../net/dhcpcd-icons

.include "../../net/dhcpcd-icons/Makefile.common"

USE_TOOLS+=		pkg-config
CONFIGURE_ARGS+=	--with-gtk+
EGDIR=			${PREFIX}/share/examples/${PKGBASE}
MAKEFLAGS+=		SYSCONFDIR=${EGDIR}

CONF_FILES=		${EGDIR}/xdg/autostart/${PKGBASE}.desktop \
			${PKG_SYSCONFDIR}/xdg/autostart/${PKGBASE}.desktop
MAKE_DIRS+=		${PKG_SYSCONFDIR}/xdg/autostart

.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"