summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/vittk/files/vittk-1.1.1-makefile.patch')
-rw-r--r--app-misc/vittk/files/vittk-1.1.1-makefile.patch81
1 files changed, 81 insertions, 0 deletions
diff --git a/app-misc/vittk/files/vittk-1.1.1-makefile.patch b/app-misc/vittk/files/vittk-1.1.1-makefile.patch
new file mode 100644
index 000000000000..1a7757317938
--- /dev/null
+++ b/app-misc/vittk/files/vittk-1.1.1-makefile.patch
@@ -0,0 +1,81 @@
+--- vittk-1.1.1/Makefile.in.orig
++++ vittk-1.1.1/Makefile.in
+@@ -4,44 +4,44 @@
+
+ INSTALL = ./install-sh
+
+-.PHONY: usage insall autoconf release push dogfood
++.PHONY: usage install autoconf release push dogfood
+
+ usage:
+ @echo "usage: make install"
+
+ install:
+- @if [ ! -d @prefix@/bin ]; then \
+- echo mkdir -p @prefix@/bin ; \
+- mkdir -p @prefix@/bin ; \
++ @if [ ! -d $(DESTDIR)@prefix@/bin ]; then \
++ echo mkdir -p $(DESTDIR)@prefix@/bin ; \
++ mkdir -p $(DESTDIR)@prefix@/bin ; \
+ fi
+- @if [ ! -d @prefix@/share/doc/vittk ]; then \
+- echo mkdir -p @prefix@/share/doc/vittk ; \
+- mkdir -p @prefix@/share/doc/vittk ; \
++ @if [ ! -d $(DESTDIR)@docdir@ ]; then \
++ echo mkdir -p $(DESTDIR)@docdir@ ; \
++ mkdir -p $(DESTDIR)@docdir@ ; \
+ fi
+- @echo installing documentation in @prefix@/share/doc/vittk
+- @$(INSTALL) -c -m 644 Caveats @prefix@/share/doc/vittk/Caveats
+- @$(INSTALL) -c -m 644 Fonts @prefix@/share/doc/vittk/Fonts
+- @$(INSTALL) -c -m 644 README @prefix@/share/doc/vittk/README
+- @$(INSTALL) -c -m 644 Tutorial @prefix@/share/doc/vittk/Tutorial
+- @$(INSTALL) -c -m 644 WhatsNew @prefix@/share/doc/vittk/WhatsNew
+- @echo installing man page in @prefix@/man/man1
+- @if [ ! -d @prefix@/man/man1 ]; then \
+- echo mkdir -p @prefix@/man/man1 ; \
+- mkdir -p @prefix@/man/man1 ; \
++ @echo installing documentation in $(DESTDIR)@docdir@
++ @$(INSTALL) -c -m 644 Caveats $(DESTDIR)@docdir@/Caveats
++ @$(INSTALL) -c -m 644 Fonts $(DESTDIR)@docdir@/Fonts
++ @$(INSTALL) -c -m 644 README $(DESTDIR)@docdir@/README
++ @$(INSTALL) -c -m 644 Tutorial $(DESTDIR)@docdir@/Tutorial
++ @$(INSTALL) -c -m 644 WhatsNew $(DESTDIR)@docdir@/WhatsNew
++ @echo installing man page in $(DESTDIR)@mandir@/man1
++ @if [ ! -d $(DESTDIR)@mandir@/man1 ]; then \
++ echo mkdir -p $(DESTDIR)@mandir@/man1 ; \
++ mkdir -p $(DESTDIR)@mandir@/man1 ; \
+ fi
+- @$(INSTALL) -c -m 644 vittk.man @prefix@/man/man1/vittk.1
+- @echo installing vittkrc in @prefix@/etc
+- @$(INSTALL) -c -m 644 vittkrc @prefix@/etc/vittkrc
+- @if [ ! -d @prefix@/lib/vittk ]; then \
+- echo mkdir -p @prefix@/lib/vittk ; \
+- mkdir -p @prefix@/lib/vittk ; \
++ @$(INSTALL) -c -m 644 vittk.man $(DESTDIR)@mandir@/man1/vittk.1
++ @echo installing vittkrc in $(DESTDIR)@sysconfdir@
++ @$(INSTALL) -c -m 644 vittkrc $(DESTDIR)@sysconfdir@/vittkrc
++ @if [ ! -d $(DESTDIR)@libdir@/vittk ]; then \
++ echo mkdir -p $(DESTDIR)@libdir@/vittk ; \
++ mkdir -p $(DESTDIR)@libdir@/vittk ; \
+ fi
+- @echo installing .tcl files in @prefix@/lib/vittk
+- @cp *.tcl @prefix@/lib/vittk
+- @echo creating @prefix@/lib/vittk/tclIndex
+- @(cd @prefix@/lib/vittk; echo "auto_mkindex `pwd`; exit" | @WISH@)
+- @echo installing vittk in @prefix@/bin
+- @$(INSTALL) -c -m 755 vittk @prefix@/bin/vittk
++ @echo installing .tcl files in $(DESTDIR)@libdir@/vittk
++ @cp *.tcl $(DESTDIR)@libdir@/vittk
++ @echo creating $(DESTDIR)@libdir@/vittk/tclIndex
++ @(cd $(DESTDIR)@libdir@/vittk; echo "auto_mkindex `pwd`; exit" | @TCLSH@)
++ @echo installing vittk in $(DESTDIR)@prefix@/bin
++ @$(INSTALL) -c -m 755 vittk $(DESTDIR)@prefix@/bin/vittk
+
+ autoconf:
+ @make -f .makefile autoconf
+@@ -54,3 +54,4 @@
+ dogfood:
+ @make -f .makefile dogfood
+
++check: