1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/vietnamese/vnelvis/files/patch-01
Satoshi Asami 8b3fd3fb9f Install binaries in ${PREFIX}/bin, not ${PREFIX}. (David, you sleepy? :)
While I'm here, change hard links to symlinks.  IIRC this saves space
in the tarball.
1996-12-06 23:56:52 +00:00

27 lines
710 B
Plaintext

--- Makefile.orig Tue May 19 11:57:57 1992
+++ Makefile Thu Dec 5 00:36:53 1996
@@ -115,7 +115,7 @@
EXTRA=
EXTRA2=
LIBS= $(VNLIBDIR)/libviqr.a $(VNLIBDIR)/libvntype.a -ltermcap
-BIN= /usr/local/bin
+BIN= ${PREFIX}/bin
CFLAGS= -Dbsd -I$(VNINCDIR)
OF= -s -o
RF= -c
@@ -357,10 +357,10 @@
cp $(PROGS) $(BIN)
(cd $(BIN); chmod 755 $(PROGS))
(cd $(BIN); chown bin $(PROGS))
- -ln $(BIN)/vnelvis $(BIN)/vi
- -ln $(BIN)/vnelvis $(BIN)/ex
- -ln $(BIN)/vnelvis $(BIN)/view
- -ln $(BIN)/vnelvis $(BIN)/input
+ -ln -sf $(BIN)/vnelvis $(BIN)/vnvi
+ -ln -sf $(BIN)/vnelvis $(BIN)/vnex
+ -ln -sf $(BIN)/vnelvis $(BIN)/vnview
+ -ln -sf $(BIN)/vnelvis $(BIN)/vninput
inst.dos: $(DUMMY)
copy $(PROGS) $(BIN)