svn commit: r354871 - in head/audio/listener: . files

Vanilla I. Shu vanilla at FreeBSD.org
Thu May 22 16:40:56 UTC 2014


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 <bsd.port.mk>

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
+ at sample etc/listener.conf.sample


More information about the svn-ports-head mailing list