$NetBSD: patch-aa,v 1.5 2010/02/12 00:28:02 joerg Exp $ --- Makefile.orig Sat May 26 22:49:41 2001 +++ Makefile Sat Jan 19 05:48:48 2002 @@ -2,22 +2,22 @@ DESTDIR = # where to install this program -PREFIX = $(DESTDIR)/usr/X11R6 +# PREFIX = $(DESTDIR)/usr/X11R6 # no user serviceable parts below this line # optimization cflags -CFLAGS = -O3 -Wall `gtk-config --cflags` ${EXTRA} +CFLAGS += -O3 -Wall `gtk-config --cflags` ${EXTRA} # profiling cflags # CFLAGS=-ansi -pedantic -Wall -pg -O3 `gtk-config --cflags` ${EXTRA} -DPRO # test coverage cflags # CFLAGS=-fprofile-arcs -ftest-coverage -Wall -ansi -pedantic -g `gtk-config --cflags` ${EXTRA} -DPRO -CC = gcc -SHELL = sh +# CC = gcc +# SHELL = sh OBJS = fishmon.o LIBS = `gtk-config --libs | sed "s/-lgtk//g"` -INSTALL = -m 755 +# INSTALL = -m 755 all: wmfishtime @@ -29,5 +29,5 @@ # You're going to have to be root to do this! install: - install $(INSTALL) wmfishtime $(PREFIX)/bin - install $(INSTALL) wmfishtime.1 $(PREFIX)/man/man1 + $(BSD_INSTALL_PROGRAM) wmfishtime ${DESTDIR}$(PREFIX)/bin + $(BSD_INSTALL_MAN) wmfishtime.1 ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1