Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 21:51:54 -0800 (PST)
From:      Andrew Stuart <elitetek@tekrealm.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47622: New Port: misc/gkrellshoot2 
Message-ID:  <200301290551.h0T5pspG053043@subliminal.tekrealm.net>

next in thread | raw e-mail | index | archive | help

>Number:         47622
>Category:       ports
>Synopsis:       New Port: misc/gkrellshoot2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 28 22:00:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Stuart
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD subliminal.tekrealm.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Jan 21 21:33:23 PST 2003 elitetek@subliminal.tekrealm.net:/usr/src/sys/compile/SUBLIMINAL i386


	
>Description:
	New port: gkrellshoot2, a screen lock and capture plugin for gkrellm 2 
>How-To-Repeat:
	
>Fix:

	

--- gkrellshoot2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gkrellshoot2
#	gkrellshoot2/files
#	gkrellshoot2/files/patch-Makefile
#	gkrellshoot2/Makefile
#	gkrellshoot2/distinfo
#	gkrellshoot2/pkg-comment
#	gkrellshoot2/pkg-descr
#	gkrellshoot2/pkg-plist
#
echo c - gkrellshoot2
mkdir -p gkrellshoot2 > /dev/null 2>&1
echo c - gkrellshoot2/files
mkdir -p gkrellshoot2/files > /dev/null 2>&1
echo x - gkrellshoot2/files/patch-Makefile
sed 's/^X//' >gkrellshoot2/files/patch-Makefile << 'END-of-gkrellshoot2/files/patch-Makefile'
X--- Makefile.orig	Tue Jan 28 21:30:32 2003
X+++ Makefile	Tue Jan 28 21:39:34 2003
X@@ -1,11 +1,11 @@
X GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
X GTK_LIB = `pkg-config gtk+-2.0 --libs`
X 
X-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) 
X+CFLAGS+= -Wall -fPIC $(GTK_INCLUDE)
X LIBS = $(GTK_LIB) 
X LFLAGS = -shared
X 
X-CC = gcc $(CFLAGS) $(FLAGS)
X+CC ?= gcc $(CFLAGS)
X 
X OBJS = gkrellshoot.o
X 
X@@ -18,13 +18,7 @@
X gkrellshoot.o: gkrellshoot.c
X 
X install:
X-	if [ -d /usr/local/lib/gkrellm2/plugins/ ] ; then \
X-		install -c -s -m 644 gkrellshoot.so /usr/local/lib/gkrellm2/plugins/ ; \
X-	elif [ -d /usr/lib/gkrellm2/plugins/ ] ; then \
X-        	install -c -s -m 644 gkrellshoot.so /usr/lib/gkrellm2/plugins/ ; \
X-	else \
X-		install -D -c -s -m 644 gkrellshoot.so /usr/lib/gkrellm2/plugins/gkrellshoot.so ; \
X-	fi
X+	install -c -s gkrellshoot.so ${PREFIX}/libexec/gkrellm2/plugins
X userinstall:
X 	if [ -d $(HOME)/.gkrellm2/plugins/ ] ; then \
X 		install -C -s -m 644 gkrellshoot.so $(HOME)/.gkrellm2/plugins/ ; \
X@@ -33,7 +27,6 @@
X 	fi
X 
X uninstall:
X-	rm -f /usr/local/lib/gkrellm2/plugins/gkrellshoot.so
X-	rm -f /usr/lib/gkrellm2/plugins/gkrellshoot.so
X-	rm -f $(HOME)/.gkrellm2/plugins/gkrellshoot.so
X+	rm -f ${PREFIX}/libexec/gkrellm2/plugins/gkrellshoot.so
X 
X+all:   gkrellshoot.so
END-of-gkrellshoot2/files/patch-Makefile
echo x - gkrellshoot2/Makefile
sed 's/^X//' >gkrellshoot2/Makefile << 'END-of-gkrellshoot2/Makefile'
X# New ports collection makefile for:	gkrellshoot2
X# Date Created:			28 Jan 2003
X# Whom:				Andrew Stuart <elitetek@tekrealm.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gkrellshoot
XPORTVERSION=	0.4.1
XCATEGORIES=	misc
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	elitetek@tekrealm.net
X
XBUILD_DEPENDS=	${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
XRUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2 \
X		import:${PORTSDIR}/graphics/ImageMagick
X
XWRKSRC=		${WRKDIR}/gkrellShoot-${PORTVERSION}
XUSE_X_PREFIX=	yes
X
X.include <bsd.port.mk>
END-of-gkrellshoot2/Makefile
echo x - gkrellshoot2/distinfo
sed 's/^X//' >gkrellshoot2/distinfo << 'END-of-gkrellshoot2/distinfo'
XMD5 (gkrellshoot-0.4.1.tar.gz) = db0835ef0ec77ab06547fff25ec134f7
END-of-gkrellshoot2/distinfo
echo x - gkrellshoot2/pkg-comment
sed 's/^X//' >gkrellshoot2/pkg-comment << 'END-of-gkrellshoot2/pkg-comment'
XA screen locking and screen capture plugin for GKrellM 2
END-of-gkrellshoot2/pkg-comment
echo x - gkrellshoot2/pkg-descr
sed 's/^X//' >gkrellshoot2/pkg-descr << 'END-of-gkrellshoot2/pkg-descr'
XThis plugin puts a lock and shoot button on your GKrellM 2, It uses
XImageMagick for screen capture and can be configured for your screen
Xsaver program. Known to work with either Xlock or xscreensaver.
X
XWWW: http://gkrellshoot.sourceforge.net/
END-of-gkrellshoot2/pkg-descr
echo x - gkrellshoot2/pkg-plist
sed 's/^X//' >gkrellshoot2/pkg-plist << 'END-of-gkrellshoot2/pkg-plist'
Xlibexec/gkrellm2/plugins/gkrellshoot.so
END-of-gkrellshoot2/pkg-plist
exit
--- gkrellshoot2.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301290551.h0T5pspG053043>