Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 19:19:16 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367680 - head/sysutils/tcplist/files
Message-ID:  <201409081919.s88JJGp5041505@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Sep  8 19:19:16 2014
New Revision: 367680
URL: http://svnweb.freebsd.org/changeset/ports/367680
QAT: https://qat.redports.org/buildarchive/r367680/

Log:
  Allow staging as a regular user

Modified:
  head/sysutils/tcplist/files/patch-Makefile

Modified: head/sysutils/tcplist/files/patch-Makefile
==============================================================================
--- head/sysutils/tcplist/files/patch-Makefile	Mon Sep  8 19:17:09 2014	(r367679)
+++ head/sysutils/tcplist/files/patch-Makefile	Mon Sep  8 19:19:16 2014	(r367680)
@@ -1,5 +1,5 @@
---- Makefile.orig	2013-11-16 20:34:19.000000000 +0800
-+++ Makefile	2013-11-16 20:35:17.000000000 +0800
+--- Makefile.orig	2014-09-08 12:18:04 UTC
++++ Makefile
 @@ -1,14 +1,16 @@
  # Compiler: eg. cc or gcc
  CC = cc                      
@@ -20,7 +20,7 @@
  
  # Owner of tcplist executable
  OWNER = root
-@@ -45,18 +47,18 @@ MANEXT = 1
+@@ -45,18 +47,18 @@
  # 
  # Solaris 2.x (using LSOF):
  #
@@ -47,7 +47,7 @@
  #
  
  # If you're using an old version of lsof, uncomment this:
-@@ -76,8 +78,8 @@ OBJS = $(SRCS:.c=.o)
+@@ -76,8 +78,8 @@
  RM = /bin/rm -rf
  CP = /bin/cp
  CHMOD = /bin/chmod
@@ -58,22 +58,20 @@
  
  all:: tcplist
  
-@@ -95,13 +97,13 @@ depend:
+@@ -94,14 +96,10 @@
+ 	makedepend -- $(CFLAGS) -- $(SRCS)
  
  install: tcplist
- 	strip tcplist
+-	strip tcplist
 -	$(CP) tcplist $(BINDIR)
 -	$(CHGRP) $(GROUP) $(BINDIR)/tcplist
 -	$(CHMOD) $(MODE) $(BINDIR)/tcplist
-+	$(CP) tcplist $(DESTDIR)$(BINDIR)
-+	$(CHGRP) $(GROUP) $(DESTDIR)$(BINDIR)/tcplist
-+	$(CHMOD) $(MODE) $(DESTDIR)$(BINDIR)/tcplist
++	$(BSD_INSTALL_PROGRAM) tcplist $(DESTDIR)$(BINDIR)/tcplist
  
  install.man: tcplist.1
 -	$(CP) tcplist.1 $(MANDIR)/tcplist.$(MANEXT)
 -	$(CHMOD) $(MANMODE) $(MANDIR)/tcplist.$(MANEXT)
-+	$(CP) tcplist.1 $(DESTDIR)$(MANDIR)/tcplist.$(MANEXT)
-+	$(CHMOD) $(MANMODE) $(DESTDIR)$(MANDIR)/tcplist.$(MANEXT)
++	$(BSD_INSTALL_MAN) tcplist.1 $(DESTDIR)$(MANDIR)/tcplist.$(MANEXT)
  
  shar:
  	shar `awk '{print $$1}' MANIFEST` >tcplist-`awk '{print $$7;exit}' patchlevel.h`.shar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409081919.s88JJGp5041505>