svn commit: r329865 - head/audio/acoustid-fingerprinter

Jason E. Hale jhale at FreeBSD.org
Wed Oct 9 06:35:44 UTC 2013


Author: jhale
Date: Wed Oct  9 06:35:43 2013
New Revision: 329865
URL: http://svnweb.freebsd.org/changeset/ports/329865

Log:
  - Support staging
  - Convert LIB_DEPENDS to new syntax
  - Update MASTER_SITES

Modified:
  head/audio/acoustid-fingerprinter/Makefile

Modified: head/audio/acoustid-fingerprinter/Makefile
==============================================================================
--- head/audio/acoustid-fingerprinter/Makefile	Wed Oct  9 06:26:00 2013	(r329864)
+++ head/audio/acoustid-fingerprinter/Makefile	Wed Oct  9 06:35:43 2013	(r329865)
@@ -4,23 +4,24 @@ PORTNAME=	acoustid-fingerprinter
 PORTVERSION=	0.6
 PORTREVISION=	1
 CATEGORIES=	audio
-MASTER_SITES=	http://cloud.github.com/downloads/lalinsky/${PORTNAME}/
+MASTER_SITES=	http://bitbucket.org/acoustid/${PORTNAME}/downloads/ \
+		http://cloud.github.com/downloads/lalinsky/${PORTNAME}/
 
 MAINTAINER=	jhale at FreeBSD.org
 COMMENT=	AcoustID audio fingerprint submission tool
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	chromaprint:${PORTSDIR}/audio/chromaprint \
-		tag:${PORTSDIR}/audio/taglib \
-		avcodec${FFMPEG_SUFFIX}:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
+LIB_DEPENDS=	libchromaprint.so:${PORTSDIR}/audio/chromaprint \
+		libtag.so:${PORTSDIR}/audio/taglib \
+		libavcodec${FFMPEG_SUFFIX}.so:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
 
-NO_STAGE=	yes
 USES=		cmake
 USE_QT4=	gui network \
 		qmake_build moc_build rcc_build uic_build
 INSTALLS_ICONS=	yes
 
+FETCH_ARGS=	-Fpr
 CMAKE_ARGS=	-DFFMPEG_SUFFIX:STRING=${FFMPEG_SUFFIX}
 FFMPEG_SUFFIX?=	1
 
@@ -30,10 +31,10 @@ post-patch:
 
 post-install:
 .for i in 16 24 32 48 128 256
-	@${MKDIR} ${PREFIX}/share/icons/hicolor/${i}x${i}/apps
-	${INSTALL_DATA} ${WRKSRC}/images/acoustid-fp-${i}.png ${PREFIX}/share/icons/hicolor/${i}x${i}/apps/acoustid-fingerprinter.png
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
+	${INSTALL_DATA} ${WRKSRC}/images/acoustid-fp-${i}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/acoustid-fingerprinter.png
 .endfor
-	@${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps
-	${INSTALL_DATA} ${WRKSRC}/images/acoustid-fingerprinter.svg ${PREFIX}/share/icons/hicolor/scalable/apps
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_DATA} ${WRKSRC}/images/acoustid-fingerprinter.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list