aboutsummaryrefslogtreecommitdiff
path: root/misc/py-SoapySDR/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-24 19:01:23 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-24 19:01:23 +0000
commit520317661ce3c4151ab5bf21def7ff2ff354c800 (patch)
tree9c8d730e3dd1d71c0c41c496c03940fb1d89ff7d /misc/py-SoapySDR/Makefile
parent235c15a80a6d018c98c0222f70b5946dc2e85b0a (diff)
Notes
Diffstat (limited to 'misc/py-SoapySDR/Makefile')
-rw-r--r--misc/py-SoapySDR/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/misc/py-SoapySDR/Makefile b/misc/py-SoapySDR/Makefile
index 56b83567157c..a2b93b3c83bc 100644
--- a/misc/py-SoapySDR/Makefile
+++ b/misc/py-SoapySDR/Makefile
@@ -4,14 +4,14 @@ PORTNAME= SoapySDR
DISTVERSIONPREFIX= soapy-sdr-
DISTVERSION= 0.6.1-71
DISTVERSIONSUFFIX= -g69c16e9
-CATEGORIES= misc python
+CATEGORIES= misc hamradio python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Vendor and platform neutral SDR support library (python binding)
LICENSE= BSL
-LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
+LICENSE_FILE= ${WRKSRC}/../LICENSE_1_0.txt
BROKEN_i386= error: redefinition of 'swig::traits<unsigned int>', pending fix of https://github.com/pothosware/SoapySDR/issues/169
@@ -27,10 +27,9 @@ CMAKE_ARGS= -DFREEBSD_PYTHON_VERSION:INTEGER=${PYTHON_VER:S/.//} \
-DFREEBSD_PYTHON_VER2:STRING=${PYTHON_VER}
CMAKE_OFF= ENABLE_DOCS
+WRKSRC_SUBDIR= python${PYTHON_VER:R:R:S/2//} # WARNING There are handcrafted paths in patches with '../' added to match this WRKSRC_SUBDIR for all python flavors
+
PLIST_FILES= ${PYTHON_SITELIBDIR}/SoapySDR.py \
${PYTHON_SITELIBDIR}/_SoapySDR.so
-post-install: # Until fixed, just delete libs: https://github.com/pothosware/SoapySDR/issues/169
- @cd ${STAGEDIR}${PREFIX} && ${RM} -r bin include lib/lib* libdata share
-
.include <bsd.port.mk>