freebsd-ports/editors/the/files/patch-aa
Simon Barner a1a6572970 - Update to 3.2
- Use FreeBSD INSTALL_* macros

Submitted by:	Ports fury
PR:		ports/92613
2006-02-01 01:03:09 +00:00

70 lines
4 KiB
Text

--- Makefile.in.orig Mon Jan 30 17:08:34 2006
+++ Makefile.in Tue Jan 31 02:28:15 2006
@@ -29,7 +29,9 @@
contribdir = $(srcdir)/contrib
thisdir =@thisdir@
-INSTALL = $(srcdir)/install-sh
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
HTML_EXT = @HTML_EXT@
@@ -276,32 +278,32 @@
install: $(BASE_INSTALL)
installbase: $(THEBIN) the.man THE_Help.txt
- $(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
- $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
- $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/THE
- $(INSTALL) -m 755 -c ./$(THEBIN) $(DESTDIR)$(bindir)/$(THEBIN)
- $(INSTALL) -m 644 -c $(srcdir)/the.1 $(DESTDIR)$(mandir)/man1/the.1
- $(INSTALL) -m 644 -c ./THE_Help.txt $(DESTDIR)$(datadir)/THE/THE_Help.txt
- $(INSTALL) -m 644 -c $(srcdir)/append.the $(DESTDIR)$(datadir)/THE/append.the
- $(INSTALL) -m 644 -c $(srcdir)/comm.the $(DESTDIR)$(datadir)/THE/comm.the
- $(INSTALL) -m 644 -c $(srcdir)/build.the $(DESTDIR)$(datadir)/THE/build.the
- $(INSTALL) -m 644 -c $(srcdir)/uncomm.the $(DESTDIR)$(datadir)/THE/uncomm.the
- $(INSTALL) -m 644 -c $(srcdir)/total.the $(DESTDIR)$(datadir)/THE/total.the
- $(INSTALL) -m 644 -c $(srcdir)/match.the $(DESTDIR)$(datadir)/THE/match.the
- $(INSTALL) -m 644 -c $(srcdir)/rm.the $(DESTDIR)$(datadir)/THE/rm.the
- $(INSTALL) -m 644 -c $(srcdir)/nl.the $(DESTDIR)$(datadir)/THE/nl.the
- $(INSTALL) -m 644 -c $(srcdir)/words.the $(DESTDIR)$(datadir)/THE/words.the
- $(INSTALL) -m 644 -c $(srcdir)/l.the $(DESTDIR)$(datadir)/THE/l.the
- $(INSTALL) -m 644 -c $(srcdir)/compile.the $(DESTDIR)$(datadir)/THE/compile.the
- $(INSTALL) -m 644 -c $(srcdir)/spell.the $(DESTDIR)$(datadir)/THE/spell.the
- $(INSTALL) -m 644 -c $(srcdir)/demo.the $(DESTDIR)$(datadir)/THE/demo.the
- $(INSTALL) -m 644 -c $(srcdir)/cua.the $(DESTDIR)$(datadir)/THE/cua.the
- $(INSTALL) -m 644 -c $(srcdir)/config.the $(DESTDIR)$(datadir)/THE/config.the
- $(INSTALL) -m 644 -c $(srcdir)/tags.the $(DESTDIR)$(datadir)/THE/tags.the
- $(INSTALL) -m 644 -c $(srcdir)/codecomp.the $(DESTDIR)$(datadir)/THE/codecomp.the
+ $(INSTALL) -d $(DESTDIR)$(bindir)
+ $(INSTALL) -d $(DESTDIR)$(mandir)/man1
+ $(INSTALL) -d $(DESTDIR)$(datadir)/THE
+ $(INSTALL_PROGRAM) -c ./$(THEBIN) $(DESTDIR)$(bindir)/$(THEBIN)
+ $(INSTALL_DATA) -c $(srcdir)/the.1 $(DESTDIR)$(mandir)/man1/the.1
+ $(INSTALL_DATA) -c ./THE_Help.txt $(DESTDIR)$(datadir)/THE/THE_Help.txt
+ $(INSTALL_DATA) -c $(srcdir)/append.the $(DESTDIR)$(datadir)/THE/append.the
+ $(INSTALL_DATA) -c $(srcdir)/comm.the $(DESTDIR)$(datadir)/THE/comm.the
+ $(INSTALL_DATA) -c $(srcdir)/build.the $(DESTDIR)$(datadir)/THE/build.the
+ $(INSTALL_DATA) -c $(srcdir)/uncomm.the $(DESTDIR)$(datadir)/THE/uncomm.the
+ $(INSTALL_DATA) -c $(srcdir)/total.the $(DESTDIR)$(datadir)/THE/total.the
+ $(INSTALL_DATA) -c $(srcdir)/match.the $(DESTDIR)$(datadir)/THE/match.the
+ $(INSTALL_DATA) -c $(srcdir)/rm.the $(DESTDIR)$(datadir)/THE/rm.the
+ $(INSTALL_DATA) -c $(srcdir)/nl.the $(DESTDIR)$(datadir)/THE/nl.the
+ $(INSTALL_DATA) -c $(srcdir)/words.the $(DESTDIR)$(datadir)/THE/words.the
+ $(INSTALL_DATA) -c $(srcdir)/l.the $(DESTDIR)$(datadir)/THE/l.the
+ $(INSTALL_DATA) -c $(srcdir)/compile.the $(DESTDIR)$(datadir)/THE/compile.the
+ $(INSTALL_DATA) -c $(srcdir)/spell.the $(DESTDIR)$(datadir)/THE/spell.the
+ $(INSTALL_DATA) -c $(srcdir)/demo.the $(DESTDIR)$(datadir)/THE/demo.the
+ $(INSTALL_DATA) -c $(srcdir)/cua.the $(DESTDIR)$(datadir)/THE/cua.the
+ $(INSTALL_DATA) -c $(srcdir)/config.the $(DESTDIR)$(datadir)/THE/config.the
+ $(INSTALL_DATA) -c $(srcdir)/tags.the $(DESTDIR)$(datadir)/THE/tags.the
+ $(INSTALL_DATA) -c $(srcdir)/codecomp.the $(DESTDIR)$(datadir)/THE/codecomp.the
for a in $(srcdir)/*.tld; do \
bn=`basename $$a`; \
- $(INSTALL) -m 644 -c $$a $(DESTDIR)$(datadir)/THE/$$bn; \
+ $(INSTALL_DATA) -c $$a $(DESTDIR)$(datadir)/THE/$$bn; \
done;
binary: $(BASE_BINARY)