pkgsrc/net/dhcpcd-qt/Makefile
nros 3988ef308e 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.
2019-12-21 23:09:23 +00:00

30 lines
979 B
Makefile

# $NetBSD: Makefile,v 1.7 2019/12/21 23:09:24 nros Exp $
#
PKGNAME= dhcpcd-qt-${DHCPCD_UI_VERSION}
PKGREVISION= 4
CATEGORIES= net
COMMENT= Qt 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_LANGUAGES= c99 c++
CONFIGURE_ARGS+= --with-qt
CONFIGURE_ARGS+= --disable-notification
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q}
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/qt5-qtbase/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"