From owner-svn-ports-all@FreeBSD.ORG Fri Jun 27 16:06:53 2014 Return-Path: Delivered-To: svn-ports-all@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 9F82919B; Fri, 27 Jun 2014 16:06:53 +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 819D52F22; Fri, 27 Jun 2014 16:06:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5RG6rZS059535; Fri, 27 Jun 2014 16:06:53 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5RG6qau059531; Fri, 27 Jun 2014 16:06:52 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201406271606.s5RG6qau059531@svn.freebsd.org> From: Martin Wilke Date: Fri, 27 Jun 2014 16:06:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359560 - 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-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 16:06:53 -0000 Author: miwi Date: Fri Jun 27 16:06:52 2014 New Revision: 359560 URL: http://svnweb.freebsd.org/changeset/ports/359560 QAT: https://qat.redports.org/buildarchive/r359560/ Log: - Update to 2.2 PR: 190888 Deleted: head/audio/listener/files/ Modified: head/audio/listener/Makefile head/audio/listener/distinfo head/audio/listener/pkg-plist Modified: head/audio/listener/Makefile ============================================================================== --- head/audio/listener/Makefile Fri Jun 27 16:05:24 2014 (r359559) +++ head/audio/listener/Makefile Fri Jun 27 16:06:52 2014 (r359560) @@ -2,27 +2,40 @@ # $FreeBSD$ PORTNAME= listener -PORTVERSION= 1.7.2 +PORTVERSION= 2.2 CATEGORIES= audio security -MASTER_SITES= http://www.vanheusden.com/listener/ \ - http://redundancy.redundancy.org/mirror/ -EXTRACT_SUFX= .tgz +MASTER_SITES= PACKETSTORM/linux/security \ + http://www.vanheusden.com/listener/ -MAINTAINER= ports@freebsd.org +MAINTAINER= ports@FreeBSD.org COMMENT= Program to listen for and record sound activity +LICENSE= GPLv2 + +BUILD_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile +RUN_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 -PORTDOCS= manual.html +USES= ncurses tar:tgz -OPTIONS_DEFINE= DOCS +CPPFLAGS+= -I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib -.include +OPTIONS_DEFINE= DOCS -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-patch: + @${REINPLACE_CMD} -e \ + 's|-g |$$(CPPFLAGS) | ; \ + s|-O2 || ; \ + s|-ldl |$$(LDFLAGS) |' ${WRKSRC}/Makefile + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} listener setlistener \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_DATA} listener.conf \ + ${STAGEDIR}${PREFIX}/etc/listener.conf.sample) @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif + (cd ${WRKSRC} && ${INSTALL_DATA} manual.html \ + ${STAGEDIR}${DOCSDIR}) .include Modified: head/audio/listener/distinfo ============================================================================== --- head/audio/listener/distinfo Fri Jun 27 16:05:24 2014 (r359559) +++ head/audio/listener/distinfo Fri Jun 27 16:06:52 2014 (r359560) @@ -1,2 +1,2 @@ -SHA256 (listener-1.7.2.tgz) = 7862ff99c3e85058dfb938d3b86fec299a69bedb845abd8a7f1cfd129062a49c -SIZE (listener-1.7.2.tgz) = 17489 +SHA256 (listener-2.2.tgz) = 890836e94e3df9f0cd83b2cb9ed98f9a072cb4aaa3d5ebfc78785a6ad2d47bba +SIZE (listener-2.2.tgz) = 26352 Modified: head/audio/listener/pkg-plist ============================================================================== --- head/audio/listener/pkg-plist Fri Jun 27 16:05:24 2014 (r359559) +++ head/audio/listener/pkg-plist Fri Jun 27 16:06:52 2014 (r359560) @@ -1,4 +1,5 @@ bin/listener -bin/listenersoundpipe bin/setlistener @sample etc/listener.conf.sample +%%PORTDOCS%%%%DOCSDIR%%/manual.html +%%PORTDOCS%%@dirrm %%DOCSDIR%%