Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2016 14:43:41 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405444 - head/audio/listener
Message-ID:  <201601071443.u07Ehfmn024737@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jan  7 14:43:41 2016
New Revision: 405444
URL: https://svnweb.freebsd.org/changeset/ports/405444

Log:
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/audio/listener/Makefile

Modified: head/audio/listener/Makefile
==============================================================================
--- head/audio/listener/Makefile	Thu Jan  7 14:43:24 2016	(r405443)
+++ head/audio/listener/Makefile	Thu Jan  7 14:43:41 2016	(r405444)
@@ -16,10 +16,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libportaudio.so:${PORTSDIR}/audio/portaudio \
 		libsndfile.so:${PORTSDIR}/audio/libsndfile
 
-USES=		ncurses tar:tgz
-
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+USES=		localbase ncurses tar:tgz
 
 OPTIONS_DEFINE=	DOCS
 
@@ -30,10 +27,12 @@ post-patch:
 		 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)
+	${INSTALL_PROGRAM} ${WRKSRC}/listener ${WRKSRC}/setlistener \
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/listener.conf \
+		${STAGEDIR}${PREFIX}/etc/listener.conf.sample
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} manual.html \
 		${STAGEDIR}${DOCSDIR})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601071443.u07Ehfmn024737>