aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-19 20:14:13 +0800
committerbapt <bapt@FreeBSD.org>2012-12-19 20:14:13 +0800
commitc4cdcc0fc21d63af529e47e0d6909a6e31790307 (patch)
tree03e9049a2869a1a06f81e86f736cf14787644b5d /x11
parent8844967fc2161c62fb8f447eb0af6ac827e867bb (diff)
downloadfreebsd-ports-gnome-c4cdcc0fc21d63af529e47e0d6909a6e31790307.tar.gz
freebsd-ports-gnome-c4cdcc0fc21d63af529e47e0d6909a6e31790307.tar.zst
freebsd-ports-gnome-c4cdcc0fc21d63af529e47e0d6909a6e31790307.zip
DeforaOS desktop screensaver
PR: ports/172994 Submitted by: Olivier Cochard-Labbe <olivier@cochard.me>
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/deforaos-locker/Makefile31
-rw-r--r--x11/deforaos-locker/distinfo2
-rw-r--r--x11/deforaos-locker/files/patch-doc__Makefile18
-rw-r--r--x11/deforaos-locker/pkg-descr3
-rw-r--r--x11/deforaos-locker/pkg-plist24
6 files changed, 79 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index b6f96999f155..16985050fa1d 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -33,6 +33,7 @@
SUBDIR += decurs
SUBDIR += deforaos-keyboard
SUBDIR += deforaos-libdesktop
+ SUBDIR += deforaos-locker
SUBDIR += deforaos-panel
SUBDIR += deskmenu
SUBDIR += deskpaint
diff --git a/x11/deforaos-locker/Makefile b/x11/deforaos-locker/Makefile
new file mode 100644
index 000000000000..3da44349dda9
--- /dev/null
+++ b/x11/deforaos-locker/Makefile
@@ -0,0 +1,31 @@
+# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
+# $FreeBSD$
+
+PORTNAME= locker
+PORTVERSION= 0.2.1
+CATEGORIES= x11
+MASTER_SITES= http://www.defora.org/os/download/download/3703/
+DISTNAME= Locker-${PORTVERSION}
+PKGNAMEPREFIX= deforaos-
+
+MAINTAINER= olivier@cochard.me
+COMMENT= DeforaOS desktop screensaver
+
+LICENSE= GPLv3
+
+LIB_DEPENDS= System:${PORTSDIR}/devel/deforaos-libsystem \
+ Desktop:${PORTSDIR}/x11/deforaos-libdesktop \
+ Xss:${PORTSDIR}/x11/libXScrnSaver
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/Panel.pc:${PORTSDIR}/x11/deforaos-panel \
+ xsltproc:${PORTSDIR}/textproc/libxslt \
+ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
+
+USE_GNOME= gtk20 desktopfileutils
+USE_PKGCONFIG= build
+USE_GETTEXT= yes
+
+MAKE_ENV+= MANDIR=${MANPREFIX}/man
+
+MAN1= locker.1 lockerctl.1
+
+.include <bsd.port.mk>
diff --git a/x11/deforaos-locker/distinfo b/x11/deforaos-locker/distinfo
new file mode 100644
index 000000000000..fc00e2a1ca4f
--- /dev/null
+++ b/x11/deforaos-locker/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Locker-0.2.1.tar.gz) = 6df132143b9efea2af85ce64dde3f8a8fb40bc041eedf441257c6f66a5e5e4a3
+SIZE (Locker-0.2.1.tar.gz) = 49812
diff --git a/x11/deforaos-locker/files/patch-doc__Makefile b/x11/deforaos-locker/files/patch-doc__Makefile
new file mode 100644
index 000000000000..dfa4941cc277
--- /dev/null
+++ b/x11/deforaos-locker/files/patch-doc__Makefile
@@ -0,0 +1,18 @@
+--- ./doc/Makefile.orig 2012-10-14 18:56:53.000000000 +0200
++++ ./doc/Makefile 2012-12-19 13:06:45.711358747 +0100
+@@ -1,4 +1,4 @@
+-TARGETS = locker.1 locker.html lockerctl.1 lockerctl.html
++TARGETS = locker.1 lockerctl.1
+ PREFIX = /usr/local
+ DESTDIR =
+ RM ?= rm -f
+@@ -29,9 +29,7 @@
+
+ install: $(TARGETS)
+ ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "locker.1"
+- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "locker.html"
+ ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "lockerctl.1"
+- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "lockerctl.html"
+
+ uninstall:
+ ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "locker.1"
diff --git a/x11/deforaos-locker/pkg-descr b/x11/deforaos-locker/pkg-descr
new file mode 100644
index 000000000000..c8a6dddd2cdf
--- /dev/null
+++ b/x11/deforaos-locker/pkg-descr
@@ -0,0 +1,3 @@
+DeforaOS desktop screensaver
+
+WWW: http://www.defora.org/
diff --git a/x11/deforaos-locker/pkg-plist b/x11/deforaos-locker/pkg-plist
new file mode 100644
index 000000000000..02ebcc57c190
--- /dev/null
+++ b/x11/deforaos-locker/pkg-plist
@@ -0,0 +1,24 @@
+bin/locker
+bin/lockerctl
+include/Desktop/Locker.h
+include/Desktop/Locker/auth.h
+include/Desktop/Locker/demo.h
+include/Desktop/Locker/locker.h
+include/Desktop/Locker/plugin.h
+lib/Locker/auth/password.so
+lib/Locker/auth/slider.so
+lib/Locker/demos/gtk-demo.so
+lib/Locker/demos/logo.so
+lib/Locker/demos/xscreensaver.so
+lib/Locker/demos/xterm.so
+lib/Locker/plugins/openmoko.so
+lib/Locker/plugins/panel.so
+lib/Locker/plugins/suspend.so
+lib/Locker/plugins/systray.so
+share/applications/locker-settings.desktop
+share/locale/fr/LC_MESSAGES/Locker.mo
+@dirrm include/Desktop/Locker
+@dirrm lib/Locker/auth
+@dirrm lib/Locker/demos
+@dirrm lib/Locker/plugins
+@dirrm lib/Locker