summaryrefslogtreecommitdiff
path: root/print/lgrind/patches/patch-aa
blob: aa17bc25a6977a7a6c3fe28e091dbf26e07d702d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.5 2005/11/08 20:30:29 tonio Exp $

--- Makefile.orig	2005-11-08 21:18:37.000000000 +0100
+++ 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=${PKG_TEXMFPREFIX}/tex/latex/lgrind/lgrindef
+TEXINPUTS=${PKG_TEXMFPREFIX}/tex/latex/lgrind
+DOC=${PKG_TEXMFPREFIX}/doc/latex/lgrind
+MAN=${PREFIX}/man
 
 CC=gcc
 INSTALL=install