From owner-svn-ports-head@FreeBSD.ORG Wed Sep 10 17:17:26 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84702C45; Wed, 10 Sep 2014 17:17:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7035310B; Wed, 10 Sep 2014 17:17:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8AHHQoM075643; Wed, 10 Sep 2014 17:17:26 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8AHHQRY075640; Wed, 10 Sep 2014 17:17:26 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409101717.s8AHHQRY075640@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 10 Sep 2014 17:17:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367875 - in head/polish/trf: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2014 17:17:26 -0000 Author: antoine Date: Wed Sep 10 17:17:25 2014 New Revision: 367875 URL: http://svnweb.freebsd.org/changeset/ports/367875 QAT: https://qat.redports.org/buildarchive/r367875/ Log: - Allow staging as a regular user - Remove DOCS conditions Modified: head/polish/trf/Makefile head/polish/trf/files/patch-Makefile Modified: head/polish/trf/Makefile ============================================================================== --- head/polish/trf/Makefile Wed Sep 10 17:05:26 2014 (r367874) +++ head/polish/trf/Makefile Wed Sep 10 17:17:25 2014 (r367875) @@ -11,14 +11,10 @@ COMMENT= Billing software for traffic co OPTIONS_DEFINE= DOCS -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README CHANGELOG ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/polish/trf/files/patch-Makefile ============================================================================== --- head/polish/trf/files/patch-Makefile Wed Sep 10 17:05:26 2014 (r367874) +++ head/polish/trf/files/patch-Makefile Wed Sep 10 17:17:25 2014 (r367875) @@ -1,5 +1,5 @@ ---- Makefile.orig Fri Oct 3 18:00:32 2003 -+++ Makefile Fri Oct 3 18:01:51 2003 +--- Makefile.orig 2003-02-02 18:33:55 UTC ++++ Makefile @@ -1,5 +1,7 @@ +CC ?= gcc +CFLAGS+=-DFREEBSD @@ -9,7 +9,7 @@ all: @case "`uname -s`" in \ -@@ -19,7 +21,7 @@ +@@ -19,14 +21,14 @@ gcc -DLINUX -Wall -o trfs trfs.c freebsd: @@ -18,3 +18,12 @@ trfs: make all + + install: trfs +- install -o root -g wheel -m 755 trfs $(DESTDIR)$(prefix)/bin +- install -o root -g wheel -m 755 trf $(DESTDIR)$(prefix)/bin ++ $(BSD_INSTALL_PROGRAM) trfs $(DESTDIR)$(prefix)/bin ++ $(BSD_INSTALL_SCRIPT) trf $(DESTDIR)$(prefix)/bin + + clean: + rm trfs || true