--- Makefile.orig 2011-08-01 14:48:54 UTC +++ Makefile @@ -48,11 +48,11 @@ OPTIONS=-Wall \ all: geomWatch geomWatch: ${FILES} - ${CXX} ${OPTIONS} -o geomWatch geomWatch.cpp + ${CXX} ${CXXFLAGS} ${OPTIONS} -o geomWatch geomWatch.cpp install: - install -s -o root -g wheel -m 755 geomWatch ${PREFIX}/sbin - install -o root -g wheel -m 400 geomWatch.conf.sample ${PREFIX}/etc + $(BSD_INSTALL_PROGRAM) geomWatch $(DESTDIR)${PREFIX}/sbin + $(BSD_INSTALL_DATA) -m 400 geomWatch.conf.sample $(DESTDIR)${PREFIX}/etc clean: rm -f geomWatch