Add linpsk.
This is a small PSK31 program that uses QT, and a soundcard as modem. WWW: http://linpsk.sourceforge.net/ PR: ports/81617 Submitted by: Søren Straarup <xride@x12.dk>
This commit is contained in:
parent
392aa128b5
commit
e8819c2c20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136689
@ -47,6 +47,7 @@
|
||||
SUBDIR += kpsk
|
||||
SUBDIR += libirman
|
||||
SUBDIR += libticables
|
||||
SUBDIR += linpsk
|
||||
SUBDIR += linrad
|
||||
SUBDIR += lirc
|
||||
SUBDIR += lrzsz
|
||||
|
58
comms/linpsk/Makefile
Normal file
58
comms/linpsk/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# New ports collection makefile for: linpsk
|
||||
# Date created: 29 May 2005
|
||||
# Whom: Søren Straarup <xride@x12.dk>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= linpsk
|
||||
PORTVERSION= 0.8.1
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= xride@x12.dk
|
||||
COMMENT= A qt psk31 client
|
||||
|
||||
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
|
||||
portaudio:${PORTSDIR}/audio/portaudio
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_QT_VER= 3
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
CONFIGURE_ARGS= --with-qtdir=${X11BASE}
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not build on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|-I$$(top_srcdir)/src/portaudio||' \
|
||||
${WRKSRC}/src/Makefile.in \
|
||||
${WRKSRC}/src/interfaces/Makefile.in
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|$$(top_builddir)/src/portaudio/libportaudio\.a|-lportaudio|; \
|
||||
/^SUBDIRS =/ s|portaudio||' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-O2|${CXXFLAGS}|; \
|
||||
/^install-exec-am/ s|install-libLIBRARIES||' \
|
||||
${WRKSRC}/src/interfaces/Makefile.in
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/LinPSKConfig.xml ${EXAMPLESDIR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
comms/linpsk/distinfo
Normal file
2
comms/linpsk/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (linpsk-0.8.1.tar.gz) = 52239d755a68b9af94b254d23251d39e
|
||||
SIZE (linpsk-0.8.1.tar.gz) = 435463
|
28
comms/linpsk/files/LinPSKConfig.xml
Normal file
28
comms/linpsk/files/LinPSKConfig.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<!DOCTYPE LinpskConfiguration>
|
||||
<Parameters>
|
||||
<WindowsParameter>
|
||||
<MinimumWindowWidth Value="640" />
|
||||
<WindowWidth Value="640" />
|
||||
<MinimumWindowHeight Value="540" />
|
||||
<Xpos Value="108" />
|
||||
<Ypos Value="45" />
|
||||
<WindowHeight Value="589" />
|
||||
<StatusBarHeight Value="20" />
|
||||
<Font Size="10" Name="Helvetica" />
|
||||
</WindowsParameter>
|
||||
<Colors>
|
||||
<Color g="0" r="0" b="0" />
|
||||
</Colors>
|
||||
<Mode DemoTypeNumber="0" DemoMode="false" />
|
||||
<Operating>
|
||||
<Callsign></Callsign>
|
||||
<PTT Device="None" />
|
||||
<QsoFile FileName="QSOData.adif" />
|
||||
<Timeoffset Value="-2" />
|
||||
<Slashed0 Value="false" />
|
||||
<InputDevice Value="/dev/dsp" />
|
||||
<OutputDevice Value="/dev/dsp" />
|
||||
<InputVolume Value="50" />
|
||||
<OutputVolume Value="50" />
|
||||
</Operating>
|
||||
</Parameters>
|
4
comms/linpsk/files/pkg-message.in
Normal file
4
comms/linpsk/files/pkg-message.in
Normal file
@ -0,0 +1,4 @@
|
||||
===============================================================================
|
||||
You should now copy the default configuration file to your home directory:
|
||||
cp %%EXAMPLESDIR%%/LinPSKConfig.xml ~
|
||||
===============================================================================
|
3
comms/linpsk/pkg-descr
Normal file
3
comms/linpsk/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
This is a small PSK31 program that uses QT, and a soundcard as modem.
|
||||
|
||||
WWW: http://linpsk.sourceforge.net/
|
3
comms/linpsk/pkg-plist
Normal file
3
comms/linpsk/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/linpsk
|
||||
%%EXAMPLESDIR%%/LinPSKConfig.xml
|
||||
@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user