head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.6
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.4
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.2
	pkgsrc-2025Q3-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2025.08.30.17.00.30;	author pho;	state Exp;
branches;
next	;
commitid	HBRJrvzifH3raM8G;


desc
@@


1.1
log
@graphics/gkrellshoot: import gkrellshoot-0.4.4

This Plugin gives easy access to Screen Lock and Screen Shoot facility. For
Screen capture this uses ImageMagick. Displays animation(Screen Saver like)
along with 'Lock' and 'Shoot' button to be clicked on. With Screen Shoot
one can either grab a window, selected area or whole screen, also one can
delay the Screen Shoot by given number of seconds. One other feature is
that grabbed image can be viewed by given image viewer. Pressing 'Lock'
button will lock the screen and starts your screen saver.
@
text
@# $NetBSD: Makefile,v 1.1 2025/08/19 14:13:16 pho Exp $
#
# Replacement Makefile for gkrellshoot for portability
#

OBJS=	gkrellshoot.lo

PKG_CONFIG_DEPS=	gtk+-2.0
EXTRA_CFLAGS!=		pkg-config ${PKG_CONFIG_DEPS} --cflags
EXTRA_LIBS!=		pkg-config ${PKG_CONFIG_DEPS} --libs

.PHONY: all
all: gkrellshoot.la

gkrellshoot.la: ${OBJS}
	${LIBTOOL} --tag=CC --mode=link \
		${CC} ${LDFLAGS} ${EXTRA_LIBS} ${.ALLSRC} -o ${.TARGET} \
		-module -shared -avoid-version -rpath ${PLUGIN_DIR:Q}

.SUFFIXES: .c .lo
.c.lo:
	${LIBTOOL} --tag=CC --mode=compile \
		${CC} -c ${CFLAGS} ${EXTRA_CFLAGS} ${.IMPSRC} -shared

.PHONY: install
install: gkrellshoot.la
	${INSTALL_LIB_DIR} ${DESTDIR}${PLUGIN_DIR}
	${LIBTOOL} --mode=install ${INSTALL_LIB} ${.ALLSRC} ${DESTDIR}${PLUGIN_DIR}
@
