aboutsummaryrefslogtreecommitdiff
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
parent709dd56c79c70e800f9c71b919b8c0cf7c6c50ce (diff)
downloadports-309b4a8bd4649aa6879e80a418e6671322c3c830.tar.gz
ports-309b4a8bd4649aa6879e80a418e6671322c3c830.zip
Notes
-rw-r--r--misc/Makefile1
-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
6 files changed, 55 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 077e27bc2f3a..1d4575f2786a 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -102,6 +102,7 @@
SUBDIR += gkrellmlaunch
SUBDIR += gkrellscore
SUBDIR += gkrellshoot
+ SUBDIR += gkrellshoot2
SUBDIR += gkrellweather
SUBDIR += gkrellweather2
SUBDIR += gkx86info
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