summaryrefslogtreecommitdiff
path: root/sysutils/polkit-gnome/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/polkit-gnome/Makefile')
-rw-r--r--sysutils/polkit-gnome/Makefile10
1 files changed, 9 insertions, 1 deletions
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,6 +1,6 @@
PORTNAME= polkit-gnome
PORTVERSION= 0.105
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
@@ -8,6 +8,8 @@ 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
@@ -19,4 +21,10 @@ CONFIGURE_ARGS= --disable-gtk-doc \
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 <bsd.port.mk>