ports/graphics/telak/files/patch-Makefile
Jean-Yves Lefort 108960574a Add telak.
Telak is a small tool to draw local or remote pictures on your root window.
This is very useful if you want to have RRD graphs drawn above your wallpaper.

WWW: http://julien.danjou.info/telak.html

PR:		ports/86069
Submitted by:	Emanuel Haupt <ehaupt@critical.ch>
2005-09-13 23:15:46 +00:00

13 lines
808 B
Text

--- Makefile.orig Thu Apr 28 22:15:06 2005
+++ Makefile Wed Sep 14 01:04:46 2005
@@ -1,8 +1,8 @@
VERSION = $(shell grep '^Version' ChangeLog | head -n 1 | cut -d' ' -f2 | tr -d ' ')
BIN = telak
O = telak.o fetch.o image.o parse.o
-LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt
-CFLAGS = -W -Wall $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\"" -g
+LDFLAGS += -L$(LOCALBASE)/lib $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt
+CFLAGS += -I$(LOCALBASE)/include $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\""
BINDIR=$(DESTDIR)/usr/bin
MANDIR=$(DESTDIR)/usr/share/man/man1