summaryrefslogtreecommitdiff
path: root/misc/gkrellshoot2
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 04:11:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 04:11:49 +0000
commit309b4a8bd4649aa6879e80a418e6671322c3c830 (patch)
tree47dcc37c32038e11245ccf19cc4d3e7e73119800 /misc/gkrellshoot2
parent- GSSAPI patch improved for kerbers5 and hemidal (diff)
New Port: misc/gkrellshoot2
New port: gkrellshoot2, a screen lock and capture plugin for gkrellm 2 PR: ports/47622 Submitted by: Andrew Stuart <elitetek@tekrealm.net>
Notes
Notes: svn path=/head/; revision=90732
Diffstat (limited to 'misc/gkrellshoot2')
-rw-r--r--misc/gkrellshoot2/Makefile30
-rw-r--r--misc/gkrellshoot2/distinfo1
-rw-r--r--misc/gkrellshoot2/files/patch-Makefile17
-rw-r--r--misc/gkrellshoot2/pkg-descr5
-rw-r--r--misc/gkrellshoot2/pkg-plist1
5 files changed, 54 insertions, 0 deletions
diff --git a/misc/gkrellshoot2/Makefile b/misc/gkrellshoot2/Makefile
new file mode 100644
index 000000000000..6b68923fdf08
--- /dev/null
+++ b/misc/gkrellshoot2/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: gkrellshoot2
+# Date Created: 28 Jan 2003
+# Whom: Andrew Stuart <elitetek@tekrealm.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gkrellshoot
+PORTVERSION= 0.4.1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMESUFFIX= 2
+
+MAINTAINER= elitetek@tekrealm.net
+COMMENT= A screen locking and screen capture plugin for GKrellM 2
+
+BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
+RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 \
+ import:${PORTSDIR}/graphics/ImageMagick
+
+WRKSRC= ${WRKDIR}/gkrellShoot-${PORTVERSION}
+USE_X_PREFIX= yes
+
+ALL_TARGET= ${PORTNAME}.so
+
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/libexec/gkrellm2/plugins
+
+.include <bsd.port.mk>
diff --git a/misc/gkrellshoot2/distinfo b/misc/gkrellshoot2/distinfo
new file mode 100644
index 000000000000..8354ac2ab0e1
--- /dev/null
+++ b/misc/gkrellshoot2/distinfo
@@ -0,0 +1 @@
+MD5 (gkrellshoot-0.4.1.tar.gz) =3D db0835ef0ec77ab06547fff25ec134f7
diff --git a/misc/gkrellshoot2/files/patch-Makefile b/misc/gkrellshoot2/files/patch-Makefile
new file mode 100644
index 000000000000..8f2ffef1810d
--- /dev/null
+++ b/misc/gkrellshoot2/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Thu Jan 30 21:20:26 2003
++++ Makefile Thu Jan 30 21:23:35 2003
+@@ -1,11 +1,12 @@
+ GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
+ GTK_LIB = `pkg-config gtk+-2.0 --libs`
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
++CFLAGS = -fPIC $(GTK_INCLUDE)
+ LIBS = $(GTK_LIB)
+ LFLAGS = -shared
+
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC?= gcc
++CC+= ${CFLAGS}
+
+ OBJS = gkrellshoot.o
+
diff --git a/misc/gkrellshoot2/pkg-descr b/misc/gkrellshoot2/pkg-descr
new file mode 100644
index 000000000000..b140d45dca4d
--- /dev/null
+++ b/misc/gkrellshoot2/pkg-descr
@@ -0,0 +1,5 @@
+This plugin puts a lock and shoot button on your GKrellM 2, It uses
+ImageMagick for screen capture and can be configured for your screen
+saver program. Known to work with either Xlock or xscreensaver.
+
+WWW: http://gkrellshoot.sourceforge.net/
diff --git a/misc/gkrellshoot2/pkg-plist b/misc/gkrellshoot2/pkg-plist
new file mode 100644
index 000000000000..7b0bf31a2d07
--- /dev/null
+++ b/misc/gkrellshoot2/pkg-plist
@@ -0,0 +1 @@
+libexec/gkrellm2/plugins/gkrellshoot.so