mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
fixes octave paths and adds debug that is enabled by default
PR: ports/252350 Submitted by: pcc <pcc@gmx.net>
This commit is contained in:
parent
87d2eedc6f
commit
b33120aa6d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560544
@ -3,6 +3,7 @@
|
||||
PORTNAME= limesuite
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 20.10.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= comms astro hamradio
|
||||
|
||||
MAINTAINER= tomek@cedro.info
|
||||
@ -34,8 +35,8 @@ CMAKE_ON= ENABLE_LIBRARY \
|
||||
ENABLE_LIMERFE \
|
||||
ENABLE_EVB7COM
|
||||
|
||||
OPTIONS_DEFINE= DOCS GUI QUICKTEST OCTAVE REMOTE SOAPYSDR
|
||||
OPTIONS_DEFAULT= GUI QUICKTEST SOAPYSDR
|
||||
OPTIONS_DEFINE= DOCS GUI QUICKTEST OCTAVE REMOTE SOAPYSDR DEBUG
|
||||
OPTIONS_DEFAULT= GUI QUICKTEST SOAPYSDR DEBUG
|
||||
OPTIONS_UNSET= DOCS
|
||||
OPTIONS_SUB= yes
|
||||
QUICKTEST_DESC= Build QuickTest Self-Test suite
|
||||
@ -55,7 +56,6 @@ QUICKTEST_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
|
||||
|
||||
OCTAVE_CMAKE_BOOL= ENABLE_OCTAVE
|
||||
OCTAVE_BUILD_DEPENDS= octave:math/octave
|
||||
PLIST_SUB+= OCTAVE_VERSION=${OCTAVE_VERSION}
|
||||
|
||||
REMOTE_CMAKE_BOOL= ENABLE_REMOTE
|
||||
|
||||
@ -66,13 +66,25 @@ SOAPYSDR_LIB_DEPENDS= libSoapySDR.so:misc/soapysdr
|
||||
|
||||
.if ${PORT_OPTIONS:MGUI}
|
||||
USES+= gl xorg
|
||||
USE_XORG= x11 ice sm xcursor xext xfixes xinerama xft xrender
|
||||
USE_GL= gl glu
|
||||
USE_WX= 3.1
|
||||
WX_COMPS= wx:lib
|
||||
USE_XORG+= x11 ice sm xcursor xext xfixes xinerama xft xrender
|
||||
USE_GL+= gl glu
|
||||
USE_WX+= 3.1
|
||||
WX_COMPS+= wx:lib
|
||||
LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOCTAVE}
|
||||
.include "${.CURDIR}/../../math/octave/Makefile.version"
|
||||
OCTAVE_OCT_SITE_DIR= "lib/octave/${OCTAVE_VERSION}/site/oct/${CONFIGURE_TARGET}/"
|
||||
PLIST_SUB+= OCTAVE_OCT_SITE_DIR=${OCTAVE_OCT_SITE_DIR}
|
||||
OCTAVE_M_SITE_DIR= "share/octave/${OCTAVE_VERSION}/site/m/"
|
||||
PLIST_SUB+= OCTAVE_M_SITE_DIR=${OCTAVE_M_SITE_DIR}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
WITH_DEBUG= yes
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
# N.B. COPYTREE_BIN here chmods 555 which breaks CMAKE_INSTALL in user mode!
|
||||
(cd ${BUILD_WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin)
|
||||
@ -89,5 +101,4 @@ post-build:
|
||||
(cd ${WRKSRC}/Desktop && ${CP} lime-suite.desktop ${STAGEDIR}${PREFIX}/share/applications/)
|
||||
.endif
|
||||
|
||||
.include "../../math/octave/Makefile.version"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -48,8 +48,8 @@ libdata/pkgconfig/LimeSuite.pc
|
||||
%%GUI%%share/pixmaps/lime-suite-48.png
|
||||
%%GUI%%share/pixmaps/lime-suite-64.png
|
||||
%%QUICKTEST%%bin/LimeQuickTest
|
||||
%%OCTAVE%%lib/octave/%%OCTAVE_VERSION%%/site/oct/%%CONFIGURE_TARGET%%/LimeSuite.oct
|
||||
%%OCTAVE%%share/octave/%%OCTAVE_VERSION%%/site/m/LoadLimeSuite.m
|
||||
%%OCTAVE%%%%OCTAVE_OCT_SITE_DIR%%LimeSuite.oct
|
||||
%%OCTAVE%%%%OCTAVE_M_SITE_DIR%%LoadLimeSuite.m
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LMS_API_Documentation/_lime_suite_8h.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LMS_API_Documentation/_lime_suite_8h.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LMS_API_Documentation/_lime_suite_8h_source.html
|
||||
|
Loading…
Reference in New Issue
Block a user