mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Clean up wsjt build and update to reflect latest version
Upstream version is now 10 Fix dependency to reflect new naming of tkinter under python3 Fix dependency for kvasd as it is installed in LOCALBASE not LINUXBASE
This commit is contained in:
parent
6c76ecc91f
commit
14a9ab02c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396569
1 changed files with 3 additions and 10 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
PORTNAME= wsjt
|
PORTNAME= wsjt
|
||||||
DISTVERSION= ${VERSION}.r${SVN_REV}
|
DISTVERSION= ${VERSION}.r${SVN_REV}
|
||||||
PORTREVISION= 12
|
|
||||||
CATEGORIES= comms hamradio
|
CATEGORIES= comms hamradio
|
||||||
MASTER_SITES= LOCAL/db
|
MASTER_SITES= LOCAL/db
|
||||||
DISTNAME= wsjt-r${SVN_REV}
|
DISTNAME= wsjt-r${SVN_REV}
|
||||||
|
@ -16,12 +15,12 @@ LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
|
||||||
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
||||||
libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
|
libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
|
||||||
libportaudio.so:${PORTSDIR}/audio/portaudio
|
libportaudio.so:${PORTSDIR}/audio/portaudio
|
||||||
WSJT_DEPENDS= ${PYTHON_LIBDIR}/tkinter:${PORTSDIR}/x11-toolkits/py-tkinter \
|
WSJT_DEPENDS= ${PYTHON_LIBDIR}/lib-dynload/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
|
||||||
${PYTHON_SITELIBDIR}/scipy:${PORTSDIR}/science/py-scipy \
|
${PYTHON_SITELIBDIR}/scipy:${PORTSDIR}/science/py-scipy \
|
||||||
${PYTHON_SITELIBDIR}/PIL:${PORTSDIR}/graphics/py-pillow \
|
${PYTHON_SITELIBDIR}/PIL:${PORTSDIR}/graphics/py-pillow \
|
||||||
${PYNUMPY}
|
${PYNUMPY}
|
||||||
BUILD_DEPENDS= ${WSJT_DEPENDS}
|
BUILD_DEPENDS= ${WSJT_DEPENDS}
|
||||||
RUN_DEPENDS= kvasd:${PORTSDIR}/comms/kvasd \
|
RUN_DEPENDS= ${LOCALBASE}/bin/kvasd:${PORTSDIR}/comms/kvasd \
|
||||||
${WSJT_DEPENDS}
|
${WSJT_DEPENDS}
|
||||||
|
|
||||||
USE_GCC= yes
|
USE_GCC= yes
|
||||||
|
@ -29,15 +28,13 @@ USES= autoreconf fortran gmake python:3.3+ tar:bzip2
|
||||||
SHEBANG_FILES= ${WRKSRC}/wsjt
|
SHEBANG_FILES= ${WRKSRC}/wsjt
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --prefix=${STAGEDIR}${LOCALBASE} \
|
CONFIGURE_ARGS= --prefix=${STAGEDIR}${LOCALBASE} \
|
||||||
--with-python=${PYTHON_CMD} \
|
|
||||||
--with-gfortran=${FC} \
|
|
||||||
--with-portaudio-include-dir=${LOCALBASE}/include \
|
--with-portaudio-include-dir=${LOCALBASE}/include \
|
||||||
--with-portaudio-lib-dir=${LOCALBASE}/lib
|
--with-portaudio-lib-dir=${LOCALBASE}/lib
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LIBS+= -L${LOCALBASE}/lib
|
LIBS+= -L${LOCALBASE}/lib
|
||||||
# Adding this breaks configure
|
# Adding this breaks configure
|
||||||
#LDFLAGS+= -shared
|
#LDFLAGS+= -shared
|
||||||
VERSION= 9.1
|
VERSION= 10
|
||||||
PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
|
PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
|
||||||
VERSION=${VERSION}
|
VERSION=${VERSION}
|
||||||
|
|
||||||
|
@ -98,8 +95,4 @@ post-configure:
|
||||||
${REINPLACE_CMD} -e 's|f2py|f2py-${PYTHON_VER}|' \
|
${REINPLACE_CMD} -e 's|f2py|f2py-${PYTHON_VER}|' \
|
||||||
${WRKSRC}/Makefile
|
${WRKSRC}/Makefile
|
||||||
|
|
||||||
.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
|
|
||||||
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue