$NetBSD: patch-aa,v 1.7 2011/10/18 23:25:50 minskim Exp $

--- source/Makefile.orig	2005-11-08 21:18:37.000000000 +0100
+++ source/Makefile
@@ -3,13 +3,13 @@
 # Id: Makefile,v 2.0 96/02/19 23:54:15 gvr Exp 
 
 # You will almost certainly want to change these
-BASEDIR=/usr/TeX
-DESTDIR=${BASEDIR}/bin
+BASEDIR=${PREFIX}/share
+DESTDIR=${PREFIX}/bin
 #DEFSFILE=/home/mike/LGrind/lgrindef
-DEFSFILE=${BASEDIR}/texmf/tex/latex/lgrind/lgrindef
-TEXINPUTS=${BASEDIR}/texmf/tex/latex/lgrind
-DOC=${BASEDIR}/texmf/doc/latex/lgrind
-MAN=${BASEDIR}/man
+DEFSFILE=${BASEDIR}/texmf-dist/tex/latex/lgrind/lgrindef
+TEXINPUTS=${BASEDIR}/texmf-dist/tex/latex/lgrind
+DOC=${BASEDIR}/texmf-dist/doc/latex/lgrind
+MAN=${PREFIX}/man
 
 CC=gcc
 INSTALL=install
