$OpenBSD$
--- Makefile.orig Sun Jan 23 22:01:55 2000
+++ Makefile Tue Jun 1 03:22:37 2010
@@ -81,7 +81,7 @@ LDFLAGS=
## Installation prefix
# Adjust to taste. Stuff gets installed here.
-PREFIX=/usr/local
+PREFIX?=/usr/local
#PREFIX=/usr/local/X11
## X11 location and options
@@ -145,7 +145,7 @@ INSTALL_BIN=install -c -m 755
# You shouldn't need to edit below here #
############################################################
-LIBDIR=$(PREFIX)/lib/xfrisk
+LIBDIR=$(PREFIX)/share/xfrisk
BINDIR=$(PREFIX)/bin
# Data files, stored in LIBDIR