1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-toolkits/v/files/patch-ab
Donald Burr d902b2d908 Update V port to version 1.19.
Thanks to Cyrus Rahman <cr@demo.jcmax.com> for his patches.
PR: ports/6938
1998-07-19 06:56:16 +00:00

45 lines
1.5 KiB
Plaintext

--- Makefile.orig Mon May 11 14:20:54 1998
+++ Makefile Sat Jul 18 23:03:49 1998
@@ -55,13 +55,13 @@
# tarfull: everthing, including .o's, etc.
# getwin: copy MS-Windows source from /dosc
# permissions: make sources readable to world
+# install run as root to install in ${INSTALLDIR} (defined below)
# installv: run as root to install to /usr/local/v
-# installvlinux: run as root to install to /usr/local
+# installvlinux: run as root to install to /usr/local (really to /usr)
# installunm: install to ../pubv (UNM specific)
#
#===============================================================
-
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
#
# composite targets and targets for builds in subdirs
@@ -321,6 +321,25 @@
.PHONY: installLinuxElf
installLinuxElf:
$(MAKE) ARCH=linuxelf installVLinux
+
+.PHONY: install
+install:
+ -mkdir -p $(INSTALLDIR)/include/v
+ -chmod 755 $(INSTALLDIR)/include/v
+ cp includex/v/* $(INSTALLDIR)/include/v
+ -chmod 644 $(INSTALLDIR)/include/v/*
+
+ -mkdir -p $(INSTALLDIR)/lib
+ install -c -m 644 $(LibDir)/libV.a $(INSTALLDIR)/lib
+ $(RANLIB) $(INSTALLDIR)/lib/libV.a
+
+ -mkdir -p $(INSTALLDIR)/bin
+ install -s -c -m 755 $(Bin)/b2v $(INSTALLDIR)/bin
+ install -s -c -m 755 $(Bin)/icondemo $(INSTALLDIR)/bin
+ install -s -c -m 755 $(Bin)/vdraw $(INSTALLDIR)/bin
+ install -s -c -m 755 $(Bin)/ved $(INSTALLDIR)/bin
+ install -s -c -m 755 $(Bin)/vgen $(INSTALLDIR)/bin
+ install -s -c -m 755 $(Bin)/viconed $(INSTALLDIR)/bin
.PHONY: installv
installv: