mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
a3ba7c6c9e
Feature safe: yes
48 lines
2.3 KiB
Plaintext
48 lines
2.3 KiB
Plaintext
--- Makefile.orig 2011-02-05 00:28:18.000000000 -0800
|
|
+++ Makefile 2011-02-05 00:36:51.000000000 -0800
|
|
@@ -29,6 +29,7 @@
|
|
MANDIR ?= $(MAN)
|
|
APPS ?= share/applications
|
|
BINNAME ?= ssvncviewer
|
|
+DOCS ?= share/doc/ssvnc
|
|
|
|
|
|
VSRC = vnc_unixsrc
|
|
@@ -65,23 +66,30 @@
|
|
cd $(PSRC); $(MAKE) clean
|
|
|
|
install: all
|
|
- mkdir -p $(ROOT)$(PREFIX)/$(BIN) $(ROOT)$(PREFIX)/$(LIB) $(ROOT)$(PREFIX)/$(MANDIR)/man1
|
|
+ mkdir -p $(ROOT)$(PREFIX)/$(BIN) $(ROOT)$(PREFIX)/$(LIB)/util $(ROOT)$(PREFIX)/$(MANDIR)/man1
|
|
strip $(VIEWER)
|
|
cp -p $(VIEWER) $(ROOT)$(PREFIX)/$(LIB)
|
|
cp -p $(VNCSPW) $(ROOT)$(PREFIX)/$(LIB)
|
|
cp -p $(UNWRAP) $(ROOT)$(PREFIX)/$(LIB)
|
|
cp -p $(LIMACC) $(ROOT)$(PREFIX)/$(LIB)
|
|
cp -p $(ULTDSM) $(ROOT)$(PREFIX)/$(LIB)
|
|
- cp -pR scripts/* $(ROOT)$(PREFIX)/$(LIB)
|
|
+ cp -p scripts/ssvnc $(ROOT)$(PREFIX)/$(LIB)
|
|
+ cp -p scripts/ssvnc_cmd $(ROOT)$(PREFIX)/$(LIB)
|
|
+ cp -p scripts/tsvnc $(ROOT)$(PREFIX)/$(LIB)
|
|
+ cp -p scripts/util/ssvnc.tcl $(ROOT)$(PREFIX)/$(LIB)/util
|
|
+ cp -p scripts/util/ss_vncviewer $(ROOT)$(PREFIX)/$(LIB)/util
|
|
if [ "X$(JSRC)" != "X" ]; then cp -p $(ARCHIVE) $(ROOT)$(PREFIX)/$(LIB)/util; fi
|
|
- cp -p $(MAN)/man1/ssvnc.1 $(ROOT)$(PREFIX)/$(MANDIR)/man1
|
|
- ./wr_tool $(ROOT)$(PREFIX)/$(BIN)/ssvnc $(PREFIX)/$(LIB)/ssvnc
|
|
- ./wr_tool $(ROOT)$(PREFIX)/$(BIN)/tsvnc $(PREFIX)/$(LIB)/tsvnc
|
|
- ./wr_tool $(ROOT)$(PREFIX)/$(BIN)/sshvnc $(PREFIX)/$(LIB)/sshvnc
|
|
+ cp -p $(MAN)/man1/ssvnc.1 $(ROOT)$(PREFIX)/$(MANDIR)/man1/ssvnc-gui.1
|
|
+ ./wr_tool $(ROOT)$(PREFIX)/$(BIN)/ssvnc-gui $(PREFIX)/$(LIB)/ssvnc
|
|
+ ./wr_tool $(ROOT)$(PREFIX)/$(BIN)/ssvnc-ts $(PREFIX)/$(LIB)/tsvnc
|
|
+ ./wr_tool $(ROOT)$(PREFIX)/$(BIN)/ssvnc-stunnel $(PREFIX)/$(LIB)/util/ss_vncviewer
|
|
if [ "X$(APPS)" != X ]; then mkdir -p $(ROOT)$(PREFIX)/$(APPS); fi
|
|
if [ "X$(APPS)" != X ]; then cp -p ssvnc.desktop $(ROOT)$(PREFIX)/$(APPS); fi
|
|
if [ "X$(BINNAME)" != X ]; then cp -p $(VIEWER) $(ROOT)$(PREFIX)/$(BIN)/$(BINNAME); fi
|
|
if [ "X$(BINNAME)" != X ]; then cp -p $(MAN)/man1/ssvncviewer.1 $(ROOT)$(PREFIX)/$(MANDIR)/man1/$(BINNAME).1; fi
|
|
+ if [ "X$(DOCS)" != X ]; then mkdir -p $(ROOT)$(PREFIX)/$(DOCS); fi
|
|
+ if [ "X$(DOCS)" != X ]; then cp -p scripts/util/stunnel-server.conf $(ROOT)$(PREFIX)/$(DOCS); fi
|
|
+ if [ "X$(DOCS)" != X ]; then cp -p README $(ROOT)$(PREFIX)/$(DOCS); fi
|
|
|
|
|
|
#internal use only, a test install:
|