diff --git a/sysutils/polkit-gnome/Makefile b/sysutils/polkit-gnome/Makefile index dcaffec500d4..f68acf023919 100644 --- a/sysutils/polkit-gnome/Makefile +++ b/sysutils/polkit-gnome/Makefile @@ -1,22 +1,30 @@ PORTNAME= polkit-gnome PORTVERSION= 0.105 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME frontend to the PolicyKit framework WWW= https://www.freedesktop.org/wiki/Software/polkit/ +LICENSE= LGPL20 + LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit USES= gettext gmake gnome pathfix pkgconfig tar:xz USE_GNOME= gnomeprefix gtk30 intlhack GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-gtk-doc \ --localstatedir=/var CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +SUB_FILES= polkit-gnome.desktop + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/autostart + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/etc/xdg/autostart/ + .include diff --git a/sysutils/polkit-gnome/files/polkit-gnome.desktop.in b/sysutils/polkit-gnome/files/polkit-gnome.desktop.in new file mode 100644 index 000000000000..6b599e3dcee4 --- /dev/null +++ b/sysutils/polkit-gnome/files/polkit-gnome.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=PolicyKit Authentication Agent +Comment=PolicyKit Authentication Agent +Type=Application +Exec=%%PREFIX%%/libexec/polkit-gnome-authentication-agent-1 +Terminal=false +NoDisplay=true +OnlyShowIn=X-Cinnamon; diff --git a/sysutils/polkit-gnome/pkg-plist b/sysutils/polkit-gnome/pkg-plist index 2c76f9dde431..23b132b807ab 100644 --- a/sysutils/polkit-gnome/pkg-plist +++ b/sysutils/polkit-gnome/pkg-plist @@ -1,51 +1,52 @@ +etc/xdg/autostart/polkit-gnome.desktop libexec/polkit-gnome-authentication-agent-1 share/locale/ar/LC_MESSAGES/polkit-gnome-1.mo share/locale/be/LC_MESSAGES/polkit-gnome-1.mo share/locale/bn_IN/LC_MESSAGES/polkit-gnome-1.mo share/locale/ca/LC_MESSAGES/polkit-gnome-1.mo share/locale/ca@valencia/LC_MESSAGES/polkit-gnome-1.mo share/locale/cs/LC_MESSAGES/polkit-gnome-1.mo share/locale/da/LC_MESSAGES/polkit-gnome-1.mo share/locale/de/LC_MESSAGES/polkit-gnome-1.mo share/locale/el/LC_MESSAGES/polkit-gnome-1.mo share/locale/en_GB/LC_MESSAGES/polkit-gnome-1.mo share/locale/eo/LC_MESSAGES/polkit-gnome-1.mo share/locale/es/LC_MESSAGES/polkit-gnome-1.mo share/locale/eu/LC_MESSAGES/polkit-gnome-1.mo share/locale/fi/LC_MESSAGES/polkit-gnome-1.mo share/locale/fr/LC_MESSAGES/polkit-gnome-1.mo share/locale/gl/LC_MESSAGES/polkit-gnome-1.mo share/locale/gu/LC_MESSAGES/polkit-gnome-1.mo share/locale/he/LC_MESSAGES/polkit-gnome-1.mo share/locale/hi/LC_MESSAGES/polkit-gnome-1.mo share/locale/hu/LC_MESSAGES/polkit-gnome-1.mo share/locale/id/LC_MESSAGES/polkit-gnome-1.mo share/locale/it/LC_MESSAGES/polkit-gnome-1.mo share/locale/ja/LC_MESSAGES/polkit-gnome-1.mo share/locale/kn/LC_MESSAGES/polkit-gnome-1.mo share/locale/ko/LC_MESSAGES/polkit-gnome-1.mo share/locale/lt/LC_MESSAGES/polkit-gnome-1.mo share/locale/ml/LC_MESSAGES/polkit-gnome-1.mo share/locale/mr/LC_MESSAGES/polkit-gnome-1.mo share/locale/nb/LC_MESSAGES/polkit-gnome-1.mo share/locale/or/LC_MESSAGES/polkit-gnome-1.mo share/locale/pa/LC_MESSAGES/polkit-gnome-1.mo share/locale/pl/LC_MESSAGES/polkit-gnome-1.mo share/locale/pt/LC_MESSAGES/polkit-gnome-1.mo share/locale/pt_BR/LC_MESSAGES/polkit-gnome-1.mo share/locale/ro/LC_MESSAGES/polkit-gnome-1.mo share/locale/ru/LC_MESSAGES/polkit-gnome-1.mo share/locale/sk/LC_MESSAGES/polkit-gnome-1.mo share/locale/sl/LC_MESSAGES/polkit-gnome-1.mo share/locale/sr/LC_MESSAGES/polkit-gnome-1.mo share/locale/sr@latin/LC_MESSAGES/polkit-gnome-1.mo share/locale/sv/LC_MESSAGES/polkit-gnome-1.mo share/locale/ta/LC_MESSAGES/polkit-gnome-1.mo share/locale/te/LC_MESSAGES/polkit-gnome-1.mo share/locale/th/LC_MESSAGES/polkit-gnome-1.mo share/locale/tr/LC_MESSAGES/polkit-gnome-1.mo share/locale/uk/LC_MESSAGES/polkit-gnome-1.mo share/locale/vi/LC_MESSAGES/polkit-gnome-1.mo share/locale/zh_CN/LC_MESSAGES/polkit-gnome-1.mo share/locale/zh_HK/LC_MESSAGES/polkit-gnome-1.mo share/locale/zh_TW/LC_MESSAGES/polkit-gnome-1.mo