Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 20:19:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399748 - head/audio/fplib
Message-ID:  <201510192019.t9JKJo1N027909@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Oct 19 20:19:50 2015
New Revision: 399748
URL: https://svnweb.freebsd.org/changeset/ports/399748

Log:
  - Add LICENSE_FILE
  - Use USES=localbase

Modified:
  head/audio/fplib/Makefile

Modified: head/audio/fplib/Makefile
==============================================================================
--- head/audio/fplib/Makefile	Mon Oct 19 20:19:45 2015	(r399747)
+++ head/audio/fplib/Makefile	Mon Oct 19 20:19:50 2015	(r399748)
@@ -11,6 +11,7 @@ MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Last.fm fingerprint library
 
 LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/debian/copyright
 
 LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
 		libfftw3.so:${PORTSDIR}/math/fftw3 \
@@ -19,15 +20,8 @@ LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/
 		libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
 		libtag.so:${PORTSDIR}/audio/taglib
 
-CPPFLAGS+=	-I${LOCALBASE}/include
 MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
-USES=		cmake tar:xz
-
-post-patch:
-	@${REINPLACE_CMD} \
-		-e 's|\(ADD_DEFINITIONS\)(.*)|\1(${CFLAGS} ${CPPFLAGS})|' \
-		-e 's|\(LINK_DIRECTORIES\)(\(.*\))|\1(\2 ${LOCALBASE}/lib)|' \
-			${WRKSRC}/CMakeLists.txt
+USES=		cmake localbase tar:xz
 
 .include <bsd.port.mk>



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