summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-10-03 13:37:41 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2014-10-03 13:37:41 +0000
commit152da11fd806d768f854308ffe1932ee73357536 (patch)
tree424e7c6e98d8146a83dc9ed243dcf47f01deef26
parentdad46b7620afb30845eba17dd288b16a6e3a3bbb (diff)
downloadFreeBSD-ports-152da11fd806d768f854308ffe1932ee73357536.zip
FreeBSD-ports-152da11fd806d768f854308ffe1932ee73357536.tar.gz
- Fix LICENSE
- Drop .la files - Strip stuff PR: 193557 Submitted by: amdmi3@amdmi3.ru Approved by: maintainer timeout
-rw-r--r--audio/vamp-plugin-sdk/Makefile9
-rw-r--r--audio/vamp-plugin-sdk/files/patch-Makefile23
-rw-r--r--audio/vamp-plugin-sdk/pkg-plist2
3 files changed, 29 insertions, 5 deletions
diff --git a/audio/vamp-plugin-sdk/Makefile b/audio/vamp-plugin-sdk/Makefile
index 96471d2..18b815a 100644
--- a/audio/vamp-plugin-sdk/Makefile
+++ b/audio/vamp-plugin-sdk/Makefile
@@ -3,13 +3,14 @@
PORTNAME= vamp-plugin-sdk
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://code.soundsoftware.ac.uk/attachments/download/224/
MAINTAINER= miwi@FreeBSD.org
COMMENT= Vamp audio analysis plugin SDK
-LICENSE= BSD
+LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
@@ -18,4 +19,10 @@ GNU_CONFIGURE= yes
USES= gmake pkgconfig
USE_LDCONFIG= yes
+post-install:
+ ${STRIP_CMD} \
+ ${STAGEDIR}${PREFIX}/bin/* \
+ ${STAGEDIR}${PREFIX}/lib/*.so \
+ ${STAGEDIR}${PREFIX}/lib/vamp/*.so
+
.include <bsd.port.mk>
diff --git a/audio/vamp-plugin-sdk/files/patch-Makefile b/audio/vamp-plugin-sdk/files/patch-Makefile
index bc991b4..e1910bb 100644
--- a/audio/vamp-plugin-sdk/files/patch-Makefile
+++ b/audio/vamp-plugin-sdk/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.in-orig 2012-01-08 16:17:23.178149792 +0100
-+++ Makefile.in 2012-01-08 16:17:34.604154595 +0100
+--- Makefile.in.orig 2011-11-24 17:27:03.000000000 +0400
++++ Makefile.in 2014-09-11 14:44:47.000000000 +0400
@@ -87,7 +87,7 @@
INSTALL_HOSTSDK_STATIC = libvamp-hostsdk.a
INSTALL_HOSTSDK_LA = libvamp-hostsdk.la
@@ -9,3 +9,22 @@
# Flags required to tell the compiler to create a dynamically loadable object
#
+@@ -288,18 +288,6 @@
+ > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-sdk.pc
+ sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(PCDIR)/vamp-hostsdk.pc.in \
+ > $(DESTDIR)$(INSTALL_PKGCONFIG)/vamp-hostsdk.pc
+- sed -e "s,%LIBNAME%,$(INSTALL_SDK_LIBNAME),g" \
+- -e "s,%LINK_ABI%,$(INSTALL_SDK_LINK_ABI),g" \
+- -e "s,%LINK_DEV%,$(INSTALL_SDK_LINK_DEV),g" \
+- -e "s,%STATIC%,$(INSTALL_SDK_STATIC),g" \
+- -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \
+- > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA)
+- sed -e "s,%LIBNAME%,$(INSTALL_HOSTSDK_LIBNAME),g" \
+- -e "s,%LINK_ABI%,$(INSTALL_HOSTSDK_LINK_ABI),g" \
+- -e "s,%LINK_DEV%,$(INSTALL_HOSTSDK_LINK_DEV),g" \
+- -e "s,%STATIC%,$(INSTALL_HOSTSDK_STATIC),g" \
+- -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(HOSTSDK_LA).in \
+- > $(DESTDIR)$(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA)
+
+ depend:
+ makedepend -Y. */*.cpp */*/*.cpp */*/*/*.cpp
diff --git a/audio/vamp-plugin-sdk/pkg-plist b/audio/vamp-plugin-sdk/pkg-plist
index 75d3849..0fa3238 100644
--- a/audio/vamp-plugin-sdk/pkg-plist
+++ b/audio/vamp-plugin-sdk/pkg-plist
@@ -20,12 +20,10 @@ include/vamp-sdk/plugguard.h
include/vamp-sdk/vamp-sdk.h
include/vamp/vamp.h
lib/libvamp-hostsdk.a
-lib/libvamp-hostsdk.la
lib/libvamp-hostsdk.so
lib/libvamp-hostsdk.so.3
lib/libvamp-hostsdk.so.3.3.0
lib/libvamp-sdk.a
-lib/libvamp-sdk.la
lib/libvamp-sdk.so
lib/libvamp-sdk.so.2
lib/libvamp-sdk.so.2.3.0
OpenPOWER on IntegriCloud