openbsd-ports/misc/wmnetscapekiller/patches/patch-Makefile
naddy cf9a010802 Import wmNetscapeKiller 0.3.
Submitted by Peter Stromberg <home@wilfried.net>.

This dock-app kills (and restarts) netscape when you click
on the icon! You can now specify which program to kill and
if you want to restart it or not.
2001-01-11 23:23:17 +00:00

22 lines
741 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2001/01/11 23:23:17 naddy Exp $
--- Makefile.orig Fri Jul 21 20:32:07 2000
+++ Makefile Thu Jan 11 19:06:02 2001
@@ -1,14 +1,11 @@
-CC= gcc
-CFLAGS= -Wall
+CFLAGS+= -I${X11BASE}/include
LDLIBS = -lX11 -lXpm -lXext
-LDFLAGS= -L/usr/X/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib/X11
+LDFLAGS= -L${X11BASE}/lib
all: wmNetscapeKiller
install:
- install -D -s -m 111 wmNetscapeKiller /usr/local/bin/wmNetscapeKiller
- @echo "-- Install Complete --"
- @echo "Warning : before docking wmNetscapeKiller, don't forget to log on the same username as you used for WindowMaker (see README file)"
+ ${BSD_INSTALL_PROGRAM} wmNetscapeKiller ${PREFIX}/bin
clean:
rm -f *.o wmNetscapeKiller core