1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

- Update to 0.8

PR:		ports/76483
Submitted by:	David Thiel <lx@redundancy.redundancy.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-01-20 17:04:20 +00:00
parent 9200f42f58
commit 0c31ba5991
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126962
4 changed files with 19 additions and 17 deletions

View File

@ -6,8 +6,8 @@
#
PORTNAME= listener
PORTVERSION= 0.6
CATEGORIES= audio
PORTVERSION= 0.8
CATEGORIES= audio security
MASTER_SITES= http://www.vanheusden.com/listener/
EXTRACT_SUFX= .tgz
@ -16,7 +16,7 @@ COMMENT= A program to listen for and record sound activity
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile
DOCS= INSTALL
DOCS= manual.html
post-install:

View File

@ -1,2 +1,2 @@
MD5 (listener-0.6.tgz) = 6c71df6f7b32eeec9a4db487179e539d
SIZE (listener-0.6.tgz) = 8402
MD5 (listener-0.8.tgz) = bb99dc9d440bd6a1c08f3470f5163bda
SIZE (listener-0.8.tgz) = 15272

View File

@ -1,7 +1,7 @@
--- /tmp/Makefile Wed Nov 24 15:33:50 2004
+++ Makefile Wed Nov 24 16:11:51 2004
--- Makefile.old Wed Jan 19 09:19:02 2005
+++ Makefile Wed Jan 19 09:21:43 2005
@@ -1,8 +1,8 @@
VERSION=0.6
VERSION=0.8
-INSTALL_PREFIX=/usr/local
+INSTALL_PREFIX=${PREFIX}
@ -10,22 +10,23 @@
+CFLAGS+=-L${LOCALBASE}/lib -I${LOCALBASE}/include -Wall -DVERSION=\"$(VERSION)\"
OBJSsl=sl.o snd_dev.o error.o utils.o
OBJSli=listener.o snd_dev.o error.o utils.o
@@ -10,17 +10,17 @@
all: setlistener listener
OBJSli=listener.o snd_dev.o error.o utils.o lib.o
@@ -11,10 +11,10 @@
all: setlistener listener listenersoundpipe
setlistener: $(OBJSsl)
- $(CC) -g -Wall -W $(OBJSsl) -lncurses -o setlistener
- $(CC) -g -Wall -W $(OBJSsl) -ldl -lncurses -o setlistener
+ $(CC) $(CFLAGS) -g -Wall -W $(OBJSsl) -lncurses -o setlistener
strip setlistener
listener: $(OBJSli)
- $(CC) -g -Wall -W $(OBJSli) -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
- $(CC) -g -Wall -W $(OBJSli) -ldl -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
+ $(CC) $(CFLAGS) -g -Wall -W $(OBJSli) -lsndfile -o listener -DCONFIGFILE=$(INSTALL_PREFIX)/etc/listener.conf
strip listener
install: setlistener listener
listenersoundpipe: $(OBJSsp)
$(CC) -g -Wall -W $(OBJSsp) -o listenersoundpipe
@@ -23,7 +23,7 @@
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

View File

@ -1,5 +1,6 @@
bin/setlistener
bin/listener
bin/listenersoundpipe
etc/listener.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/manual.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%