freebsd-ports/misc/gkrellmfmonitor2/files/patch-aa
Edwin Groothuis 81fd97e391 New port: misc/gkrellmfmonitor2
This plugin monitors a file and displays its contens in gkrellm.
    File can have multiple rows of the form 'name : value : [flag]'.
    Number of rows as well as their contnens can change dynamicaly.
    If flag non-empty then for WARNING value - the orange led will
    light up and for ALERT value - red.

PR:		ports/45660
Submitted by:	Jean-Yves Lefort <jylefort@brutele.be>
2002-11-24 04:01:45 +00:00

18 lines
444 B
Text

--- Makefile.orig Sun Nov 24 01:53:03 2002
+++ Makefile Sun Nov 24 02:13:16 2002
@@ -8,12 +8,14 @@
OBJS = fmonitor.o
SOBJ = fmonitor.so
+all: ${SOBJ}
$(SOBJ): $(OBJS)
$(CC) -shared `pkg-config gtk+-2.0 --libs` $(OBJS) -o $(SOBJ)
install:
- cp $(SOBJ) /usr/local/lib/gkrellm2/plugins
+ ${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
+ ${INSTALL_DATA} ${SOBJ} ${PREFIX}/libexec/gkrellm2/plugins
clean:
rm -f *.o core *.so* *.bak *~