--- Makefile.orig 2015-03-20 13:02:17.000000000 -0700 +++ Makefile 2015-03-20 13:03:39.000000000 -0700 @@ -1,20 +1,11 @@ -#Makefile for xstat - -CFLAGS=-O3 -Wall -LDFLAGS= -CC=gcc -DESTDIR ?= /usr/local +#Makefile for pidof all: pidof install: - install -s -o root -g wheel -m 755 pidof ${DESTDIR}/bin - install -o root -g wheel -m 644 pidof.1 ${DESTDIR}/share/man/man1 + install -s -m 755 pidof ${DESTDIR}${PREFIX}/bin + install -m 644 pidof.1 ${DESTDIR}${PREFIX}/share/man/man1 -uninstall: - /bin/rm ${DESTDIR}/bin/pidof - /bin/rm ${DESTDIR}/share/man/man1/pidof.1 - clean: /bin/rm pidof