From owner-svn-ports-head@FreeBSD.ORG Sun Feb 16 11:29:57 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 7571AB9; Sun, 16 Feb 2014 11:29:57 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 450D11592; Sun, 16 Feb 2014 11:29:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1GBTvdS086556; Sun, 16 Feb 2014 11:29:57 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1GBTuG6086554; Sun, 16 Feb 2014 11:29:56 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402161129.s1GBTuG6086554@svn.freebsd.org> From: Emanuel Haupt Date: Sun, 16 Feb 2014 11:29:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344534 - in head/benchmarks/spp: . 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.17 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: Sun, 16 Feb 2014 11:29:57 -0000 Author: ehaupt Date: Sun Feb 16 11:29:56 2014 New Revision: 344534 URL: http://svnweb.freebsd.org/changeset/ports/344534 QAT: https://qat.redports.org/buildarchive/r344534/ Log: - Support staging - Add LICENSE Added: head/benchmarks/spp/files/ head/benchmarks/spp/files/patch-Makefile (contents, props changed) Modified: head/benchmarks/spp/Makefile Modified: head/benchmarks/spp/Makefile ============================================================================== --- head/benchmarks/spp/Makefile Sun Feb 16 11:22:55 2014 (r344533) +++ head/benchmarks/spp/Makefile Sun Feb 16 11:29:56 2014 (r344534) @@ -9,12 +9,8 @@ MASTER_SITES= http://caia.swin.edu.au/to MAINTAINER= lars@eggert.org COMMENT= Calculates round trip time from pcap files or live capture -PLIST_FILES= bin/spp -MAN1= spp.1 +LICENSE= GPLv2 -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -E '/(-DDEBUG|-g)/s|^|#|g' \ - ${WRKSRC}/Makefile +PLIST_FILES= bin/spp man/man1/spp.1.gz .include Added: head/benchmarks/spp/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/spp/files/patch-Makefile Sun Feb 16 11:29:56 2014 (r344534) @@ -0,0 +1,40 @@ +--- ./Makefile.orig 2013-05-22 03:50:24.000000000 +0200 ++++ ./Makefile 2014-02-16 12:29:01.767731648 +0100 +@@ -39,8 +39,8 @@ + SLIBS= -pthread -lpcap + BINDIR=./bin + PROGRAM= $(BINDIR)/$(NAME) +-CFLAGS += -I/usr/local/include +-LDFLAGS += -L/usr/local/lib ++CFLAGS += -I$(LOCALBASE)/include ++LDFLAGS += -L$(LOCALBASE)/lib + INSTALL= install + + +@@ -48,11 +48,11 @@ + # If, for some reason, you don't want debugging info to bewww + # logged, then comment the following line. + # +-CFLAGS+= -DDEBUG ++#CFLAGS+= -DDEBUG + + # If you want the program with support for debuggers + # (gdb, etc), then uncomment the following line +-CFLAGS+= -g ++#CFLAGS+= -g + + # turn on optimisation + CFLAGS += -O2 +@@ -80,9 +80,10 @@ + echo "You must be root to install" && exit 1 ; \ + fi ; + @echo "Installing spp binary" +- $(INSTALL) -c -m 755 $(PROGRAM) /usr/local/bin/ ++ @strip $(PROGRAM) ++ $(INSTALL) -c -m 755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/ + @echo "Installing manual page" +- $(INSTALL) -c -m 644 doc/spp.1 /usr/local/man/man1/ ++ $(INSTALL) -c -m 644 doc/spp.1 $(DESTDIR)$(PREFIX)/man/man1/ + + # target 'distro' + #