mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
b55f1ca0fb
Put final touches onto screen-legacy.
35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
--- Makefile.in.orig 2014-04-26 03:58:35.000000000 -0700
|
|
+++ Makefile.in 2014-04-29 18:55:12.050906602 -0700
|
|
@@ -83,19 +83,13 @@
|
|
$(OPTIONS) $(CFLAGS) $<
|
|
|
|
install_bin: .version screen
|
|
- -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
|
|
- then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi
|
|
- $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
|
|
- -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
|
-# This doesn't work if $(bindir)/screen is a symlink
|
|
- -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi
|
|
- rm -f $(DESTDIR)$(bindir)/screen
|
|
- (cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
|
|
+ $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/screen
|
|
+ -chown root:wheel $(DESTDIR)$(bindir)/screen && chmod 4755 $(DESTDIR)$(bindir)/screen
|
|
cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
|
|
|
|
###############################################################################
|
|
install: installdirs install_bin
|
|
- cd doc ; $(MAKE) install
|
|
+ cd doc ; $(MAKE) $(MAKE_ARGS) install
|
|
-if [ -d /usr/lib/terminfo ]; then \
|
|
PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \
|
|
chmod 644 /usr/lib/terminfo/s/screen*; \
|
|
@@ -108,7 +102,7 @@
|
|
installdirs:
|
|
# Path leading to ETCSCREENRC and Socketdirectory not checked.
|
|
$(srcdir)/etc/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(SCREENENCODINGS)
|
|
- cd doc ; $(MAKE) installdirs
|
|
+ cd doc ; $(MAKE) $(MAKE_ARGS) installdirs
|
|
|
|
uninstall: .version
|
|
rm -f $(DESTDIR)$(bindir)/$(SCREEN)
|