From owner-svn-ports-head@FreeBSD.ORG Thu May 22 16:40:56 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52708495; Thu, 22 May 2014 16:40:56 +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 34A9024A0; Thu, 22 May 2014 16:40:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4MGeuLL043269; Thu, 22 May 2014 16:40:56 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4MGet8T043266; Thu, 22 May 2014 16:40:55 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201405221640.s4MGet8T043266@svn.freebsd.org> From: "Vanilla I. Shu" Date: Thu, 22 May 2014 16:40:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354871 - in head/audio/listener: . 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 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: Thu, 22 May 2014 16:40:56 -0000 Author: vanilla Date: Thu May 22 16:40:55 2014 New Revision: 354871 URL: http://svnweb.freebsd.org/changeset/ports/354871 QAT: https://qat.redports.org/buildarchive/r354871/ Log: 1: Stageify. 2: use @sample on pkg-plist. Approved by: portmgr@ Added: head/audio/listener/pkg-plist (contents, props changed) Modified: head/audio/listener/Makefile head/audio/listener/files/patch-Makefile Modified: head/audio/listener/Makefile ============================================================================== --- head/audio/listener/Makefile Thu May 22 16:32:17 2014 (r354870) +++ head/audio/listener/Makefile Thu May 22 16:40:55 2014 (r354871) @@ -13,10 +13,7 @@ COMMENT= A program to listen for and rec LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile -NO_STAGE= yes PORTDOCS= manual.html -PLIST_FILES= bin/setlistener bin/listener bin/listenersoundpipe \ - etc/listener.conf.sample OPTIONS_DEFINE= DOCS @@ -24,8 +21,8 @@ OPTIONS_DEFINE= DOCS post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include Modified: head/audio/listener/files/patch-Makefile ============================================================================== --- head/audio/listener/files/patch-Makefile Thu May 22 16:32:17 2014 (r354870) +++ head/audio/listener/files/patch-Makefile Thu May 22 16:40:55 2014 (r354871) @@ -1,7 +1,7 @@ ---- Makefile.old Wed Mar 23 15:19:35 2005 -+++ Makefile Wed Mar 23 15:22:21 2005 +--- Makefile.orig 2005-12-22 00:14:01.000000000 +0800 ++++ Makefile 2014-05-23 00:37:06.799688220 +0800 @@ -1,8 +1,8 @@ - VERSION=1.6.5 + VERSION=1.7.2 -INSTALL_PREFIX=/usr/local +INSTALL_PREFIX=${PREFIX} @@ -11,7 +11,7 @@ OBJSsl=sl.o snd_dev.o error.o utils.o OBJSli=listener.o snd_dev.o error.o utils.o lib.o -@@ -11,19 +11,19 @@ +@@ -11,19 +11,19 @@ OBJSsp=snd_dev.o lsp.o error.o utils.o all: setlistener listener listenersoundpipe setlistener: $(OBJSsl) @@ -27,11 +27,14 @@ + $(CC) $(CFLAGS) -g -Wall -W $(OBJSsp) -o listenersoundpipe install: setlistener listener listenersoundpipe - cp setlistener $(INSTALL_PREFIX)/bin - cp listenersoundpipe $(INSTALL_PREFIX)/bin - cp listener $(INSTALL_PREFIX)/bin +- cp setlistener $(INSTALL_PREFIX)/bin +- cp listenersoundpipe $(INSTALL_PREFIX)/bin +- cp listener $(INSTALL_PREFIX)/bin - cp listener.conf $(INSTALL_PREFIX)/etc/ -+ cp listener.conf $(INSTALL_PREFIX)/etc/listener.conf.sample ++ cp setlistener $(DESTDIR)$(INSTALL_PREFIX)/bin ++ cp listenersoundpipe $(DESTDIR)$(INSTALL_PREFIX)/bin ++ cp listener $(DESTDIR)$(INSTALL_PREFIX)/bin ++ cp listener.conf $(DESTDIR)$(INSTALL_PREFIX)/etc/listener.conf.sample uninstall: clean rm -f $(INSTALL_PREFIX)/bin/setlistener Added: head/audio/listener/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/listener/pkg-plist Thu May 22 16:40:55 2014 (r354871) @@ -0,0 +1,4 @@ +bin/listener +bin/listenersoundpipe +bin/setlistener +@sample etc/listener.conf.sample