summaryrefslogtreecommitdiff
path: root/academic/abntex/Makefile.diff
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2010-05-12 23:27:35 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:27:35 +0200
commitc3fb778f2698f35b69e46d01357c9138c9817e8f (patch)
treec68a9c6bd8c7119b1cecd78f666c081632399d05 /academic/abntex/Makefile.diff
parent12627a9ec0db47b4cbde20c4cd85ce0a10d7cc3c (diff)
downloadslackbuilds-c3fb778f2698f35b69e46d01357c9138c9817e8f.tar.gz
academic/abntex: Added to 12.2 repository
Diffstat (limited to 'academic/abntex/Makefile.diff')
-rw-r--r--academic/abntex/Makefile.diff41
1 files changed, 41 insertions, 0 deletions
diff --git a/academic/abntex/Makefile.diff b/academic/abntex/Makefile.diff
new file mode 100644
index 0000000000..cc8f97e591
--- /dev/null
+++ b/academic/abntex/Makefile.diff
@@ -0,0 +1,41 @@
+--- Makefile 2006-09-09 21:25:16.000000000 -0300
++++ Makefile.new 2009-04-20 16:06:57.905013404 -0300
+@@ -7,14 +7,17 @@
+ #altere a linha abaixo se o seu tetex não puder se detetado
+ #pelo comando kpsewich, na dúvida faça um "make test"
+ #TEXDIR= /tmp/test
+-export TEXDIR= ${shell kpsewhich --expand-path='$$TEXMFMAIN'}
++export TEXDIR= ${DESTDIR}/${shell kpsewhich --expand-path='$$TEXMFMAIN'}
+
+-export USRLOCAL=/usr/local/bin
++export USRLOCAL=${DESTDIR}/usr/bin
+
+ #Do "man lyx":
+ #The system directory is determined by searching for the
+ # file "chkconfig.ltx".
+-export LYXDIR=${dir ${shell find /usr/share/lyx -name chkconfig.ltx}}
++export LYXDIR=${dir ${shell find /usr/share/lyx -name chkconfig.ltx}}
++ifneq (${LYXDIR},)
++export LYXDIR=${DESTDIR}/${LYXDIR}
++endif
+
+ #diretório corrente onde se expandiu o cvs do abntex
+ export ABNTEXDIR=$(notdir $(shell pwd))
+@@ -119,14 +122,17 @@
+
+ #install e uninstall específico para tetex localizado em ${TEXDIR}
+ install-tex:
++ mkdir -p ${TEXDIR}
+ cp ${OPVR} --preserve texmf/* ${TEXDIR}
+
+ install-lyx:
+ ifneq (${LYXDIR},)
++ mkdir -p ${LYXDIR}
+ cp ${OPVR} --preserve lyx/* ${LYXDIR}
+ endif
+
+ install-bin:
++ mkdir -p ${USRLOCAL}
+ cp ${OPVR} --preserve bin/* ${USRLOCAL}
+
+ post-install: