openbsd-ports/sysutils/gkrellm/plugins/kam/patches/patch-Makefile
sturm 73ddfa66bd import of gkrellm 2.1.21 and associated plugins
besides bringing gkrellm and the plugins up2date, this introduces a new
port structure, where all plugins are located in sysutils/gkrellm/plugins.

the set of plugins consists of:
aclock, bgchg, flynn, itime, kam, launch, mailwatch, mms, moon, mss, reminder
shoot, stock, sun, volume, weather and wireless

ports done and maintained by Peter Hessler <spambox@theapt.org>

all prior maintainers either agreed to him taking over their plugins or
timed out.
2003-11-03 20:34:16 +00:00

25 lines
834 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2003/11/03 20:34:17 sturm Exp $
--- Makefile.orig Tue Dec 24 10:16:22 2002
+++ Makefile Tue Dec 24 10:17:30 2002
@@ -10,16 +10,15 @@ TARGET = gkrellkam2
DESTDIR =
# This should point to the GKrellM headers
-GKRELLM_HDRS = /usr/include
+GKRELLM_HDRS = ${LOCALBASE}/include
-CC := gcc
-GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags)
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) -I$(GKRELLM_HDRS)
+GTKFLAGS := $(shell pkg-config gtk+-2.0 gthread-2.0 --cflags)
+CFLAGS := $(CFLAGS) -fPIC $(GTKFLAGS) -I$(GKRELLM_HDRS)
LDFLAGS := -shared -Wl
INST_DIR := $(DESTDIR)/usr/lib/gkrellm2/plugins
USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm2/plugins
MANPAGES := gkrellkam-list.5
-MANPAGE_DIR := $(DESTDIR)/usr/share/man/man5
+MANPAGE_DIR := $(DESTDIR)/${PREFIX}/man/man5
.PHONY: clean install