ports/print/lgrind/files/patch-Makefile
Pawel Pekala b724d6bfb1 - Revive print/lgrind, now distributed as one file
- Add new mastersite, homepage, staging support
- Clean pkg-plist

PR:		195437
Submitted by:	Henry Hu <henry.hu.sh@gmail.com>
2014-12-18 19:49:56 +00:00

25 lines
918 B
Text

--- Makefile.orig 2001-11-04 11:24:00.000000000 -0500
+++ Makefile 2014-12-16 19:19:03.000000000 -0500
@@ -4,9 +4,10 @@
BASEDIR=/usr
#DEFSFILE=${HOME}/Work/lgrind/lgrindef
-DEFSFILE=$(BASEDIR)/share/texmf/tex/latex/lgrind/lgrindef
-TEXFILEDIR=$(BASEDIR)/share/texmf/tex/latex/lgrind
-DOCDIR=$(BASEDIR)/doc/lgrind
+DEFSFILE=$(BASEDIR)/share/texmf-dist/tex/latex/lgrind/lgrindef
+DEFSFILE_REAL=%%PREFIX%%/share/texmf-dist/tex/latex/lgrind/lgrindef
+TEXFILEDIR=$(BASEDIR)/share/texmf-dist/tex/latex/lgrind
+DOCDIR=$(BASEDIR)/share/texmf-dist/doc/latex/lgrind
INSTALL=install
SOURCES=lgrind.c lgutil.c regexp.c regexp.h lgrindef.c lgrindef.h retest.c v2lg.c
@@ -28,7 +29,7 @@
lgrind:
cd source; \
- make DEFSFILE=$(DEFSFILE) BASEDIR=$(BASEDIR) INSTALL=$(INSTALL) VERSION=$(VERSION)
+ make DEFSFILE=$(DEFSFILE_REAL) BASEDIR=$(BASEDIR) INSTALL=$(INSTALL) VERSION=$(VERSION)
clean:
rm -f lgrind.log