mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Stage wsjt
- unbreak build
This commit is contained in:
parent
bf2e33973b
commit
3e6b9b30e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363394
@ -1,4 +1,3 @@
|
||||
# Created by: Diane Bruce <db@db.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= wsjt
|
||||
@ -10,7 +9,7 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= db
|
||||
DISTNAME= wsjt-r${SVN_REV}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= hamradio@FreeBSD.org
|
||||
COMMENT= Weak signal ham radio communication package
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
|
||||
@ -34,7 +33,6 @@ USE_AUTOTOOLS= libtool
|
||||
PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \
|
||||
VERSION=${VERSION}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(BOOTSTRAP)
|
||||
@ -59,18 +57,14 @@ do-fetch:
|
||||
.endif
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${CP} ${FILESDIR}/configure ${WRKSRC}
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for d in ${WRKSRC}/WSJT_Quick_Reference.pdf ${WRKSRC}/WSJT_Source_Code.txt \
|
||||
${WRKSRC}/WSJT_User_600.pdf ${WRKSRC}/UpdateHistory.txt \
|
||||
${WRKSRC}/WSJT_Source_Code.txt ${WRKSRC}/LICENSE.TXT
|
||||
${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
@${ECHO}
|
||||
@${ECHO} "docs installed in ${DOCSDIR}"
|
||||
@${ECHO}
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
6094
comms/wsjt/files/configure
vendored
Normal file
6094
comms/wsjt/files/configure
vendored
Normal file
File diff suppressed because it is too large
Load Diff
30
comms/wsjt/files/patch-Makefile.in
Normal file
30
comms/wsjt/files/patch-Makefile.in
Normal file
@ -0,0 +1,30 @@
|
||||
--- Makefile.in.orig 2011-04-22 13:00:35.000000000 -0400
|
||||
+++ Makefile.in 2014-07-29 11:40:12.000000000 -0400
|
||||
@@ -6,7 +6,7 @@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS += @LIBS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
-CFLAGS = @CFLAGS@
|
||||
+CFLAGS = "@PORTAUDIO_INCLUDE@ @CFLAGS@"
|
||||
PREFIX = @PREFIX@
|
||||
# WSJT specific C flags
|
||||
CFLAGS += -DBIGSYM=1 -fPIC
|
||||
@@ -148,12 +148,12 @@
|
||||
|
||||
install: WsjtMod/Audio.so
|
||||
${RM} -rf build/
|
||||
- ${PYTHON} setup.py install
|
||||
- ${MKDIR} -p ${PREFIX}/share/wsjt
|
||||
- ${INSTALL} -m 0644 CALL3.TXT ${PREFIX}/share/wsjt/
|
||||
- ${INSTALL} -m 0644 wsjtrc ${PREFIX}/share/wsjt/
|
||||
- ${INSTALL} -m 0644 dmet_*.dat ${PREFIX}/share/wsjt/
|
||||
- ${INSTALL} wsjt ${PREFIX}/bin
|
||||
+ ${PYTHON} setup.py install --prefix=${DESTDIR}${PREFIX}
|
||||
+ ${MKDIR} -p ${DESTDIR}${PREFIX}/share/wsjt
|
||||
+ ${INSTALL} -m 0644 CALL3.TXT ${DESTDIR}${PREFIX}/share/wsjt/
|
||||
+ ${INSTALL} -m 0644 wsjtrc ${DESTDIR}${PREFIX}/share/wsjt/
|
||||
+ ${INSTALL} -m 0644 dmet_*.dat ${DESTDIR}${PREFIX}/share/wsjt/
|
||||
+ ${INSTALL} wsjt ${DESTDIR}${PREFIX}/bin
|
||||
|
||||
deb: wsjt.py WsjtMod/Audio.so WsjtMod/g.py WsjtMod/__init__.py \
|
||||
WsjtMod/options.py WsjtMod/palettes.py WsjtMod/PmwBlt.py \
|
10
comms/wsjt/files/patch-aclocal.m4
Normal file
10
comms/wsjt/files/patch-aclocal.m4
Normal file
@ -0,0 +1,10 @@
|
||||
--- aclocal.m4.orig 2014-07-28 21:23:20.000000000 -0400
|
||||
+++ aclocal.m4 2014-07-28 21:26:51.000000000 -0400
|
||||
@@ -212,4 +212,7 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
+AC_SUBST([PORTAUDIO_INCLUDE], ["-I${portaudio_include_dir}"])
|
||||
+AC_SUBST([PORTAUDIO_LIBDIR], ["-L${portaudio_lib_dir}"])
|
||||
+
|
||||
])dnl }}}
|
15
comms/wsjt/files/patch-wsjt
Normal file
15
comms/wsjt/files/patch-wsjt
Normal file
@ -0,0 +1,15 @@
|
||||
--- wsjt.orig 2014-07-29 12:03:47.000000000 -0400
|
||||
+++ wsjt 2014-07-29 12:03:40.000000000 -0400
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
-if [ -e /usr/local/bin/python ] ; then
|
||||
+if [ -e /usr/local/bin/python2 ] ; then
|
||||
LOCALBASE=/usr/local/
|
||||
else
|
||||
LOCALBASE=/usr/
|
||||
@@ -16,4 +16,4 @@
|
||||
cp -f ${LOCALBASE}/share/wsjt/dmet_10_-1_3.dat ~/.wsjt
|
||||
fi
|
||||
cd ~/.wsjt
|
||||
-python ${LOCALBASE}/bin/wsjt.py
|
||||
+python2 ${LOCALBASE}/bin/wsjt.py
|
Loading…
Reference in New Issue
Block a user