svn commit: r399748 - head/audio/fplib

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Oct 19 20:19:51 UTC 2015


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 at 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>


More information about the svn-ports-all mailing list