pkgsrc/print/lgrind/patches/patch-aa
minskim 7b1c7bfcdc - Install files into PKG_LOCALTEXMFPREFIX, instead of PKG_TEXMFPREFIX, and
fix manual pages accordingly.
- Use teTeX/module.mk to properly update ls-R.
- Use texmf-dirs to install into texmf-local.

Bump PKGREVISION.
2006-04-07 03:01:36 +00:00

24 lines
734 B
Text

$NetBSD: patch-aa,v 1.6 2006/04/07 03:01:36 minskim 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_LOCALTEXMFPREFIX}/tex/latex/lgrind/lgrindef
+TEXINPUTS=${PKG_LOCALTEXMFPREFIX}/tex/latex/lgrind
+DOC=${PKG_LOCALTEXMFPREFIX}/doc/latex/lgrind
+MAN=${PREFIX}/man
CC=gcc
INSTALL=install