mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add acfax 0.981011, recieve faxes using sound card and radio.
PR: 34792 Submitted by: Darren <igla@batterybackups.net>
This commit is contained in:
parent
1f79d984a3
commit
d882b3b791
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60832
@ -2,6 +2,7 @@
|
||||
#
|
||||
SUBDIR += zssh
|
||||
|
||||
SUBDIR += acfax
|
||||
SUBDIR += asmodem
|
||||
SUBDIR += bayonne
|
||||
SUBDIR += birda
|
||||
|
35
comms/acfax/Makefile
Normal file
35
comms/acfax/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# New ports collection makefile for: acfax
|
||||
# Date created: 20 February 2002
|
||||
# Whom: Darren <igla@batterybackups.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= acfax
|
||||
PORTVERSION= 0.981011
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= ftp://ftp.funet.fi/pub/ham/unix/Linux/misc/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//}
|
||||
|
||||
MAINTAINER= igla@batterybackups.net
|
||||
|
||||
BUILD_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
|
||||
RUN_DEPENDS= ${X11BASE}/lib/libXaw3d.a:${PORTSDIR}/x11-toolkits/Xaw3d
|
||||
|
||||
WRKSRC= ${WRKDIR}/acfax
|
||||
USE_IMAKE= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's|setup_fax\(120, 288|setup_fax(120, 576|' \
|
||||
${WRKSRC}/acfax.c
|
||||
@${PERL} -pi -e 's|ixoc = 288|ixoc = 576|' ${WRKSRC}/fax_funcs.c
|
||||
@${PERL} -pi -e 's|regex.h|gnuregex.h|' ${WRKSRC}/RegExp.h
|
||||
@${PERL} -pi -e 's|-lm|-lm -lgnuregex|' ${WRKSRC}/Imakefile
|
||||
|
||||
post-configure:
|
||||
${TOUCH} ${WRKSRC}/acfax.man
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/acfax ${X11BASE}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
1
comms/acfax/distinfo
Normal file
1
comms/acfax/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (acfax-981011.tar.gz) = 60702f222272166fb4a1145820a80e2f
|
12
comms/acfax/files/patch-RegExp.c
Normal file
12
comms/acfax/files/patch-RegExp.c
Normal file
@ -0,0 +1,12 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- RegExp.c.old Sun Feb 10 05:33:07 2002
|
||||
+++ RegExp.c Sun Feb 10 05:33:24 2002
|
||||
@@ -23,7 +23,6 @@
|
||||
*/
|
||||
|
||||
#include "RegExp.h"
|
||||
-#include <regex.h>
|
||||
|
||||
void RegExpCompile(regexp,fsm_ptr)
|
||||
char *regexp;
|
13
comms/acfax/files/patch-fax_funcs.c
Normal file
13
comms/acfax/files/patch-fax_funcs.c
Normal file
@ -0,0 +1,13 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- fax_funcs.c.orig Sat Jun 8 00:39:02 2002
|
||||
+++ fax_funcs.c Sat Jun 8 00:39:08 2002
|
||||
@@ -37,6 +37,8 @@
|
||||
#include "widgets.h"
|
||||
#include "fax_funcs.h"
|
||||
|
||||
+#define PI M_PI
|
||||
+
|
||||
/* some variables that are allowed to be global */
|
||||
int lpm; /* lines per minute */
|
||||
int ixoc; /* number of pixels of one scan-line / PI */
|
13
comms/acfax/files/patch-mod_demod.c
Normal file
13
comms/acfax/files/patch-mod_demod.c
Normal file
@ -0,0 +1,13 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- mod_demod.c.orig Sat Jun 8 00:38:29 2002
|
||||
+++ mod_demod.c Sat Jun 8 00:38:41 2002
|
||||
@@ -29,6 +29,8 @@
|
||||
#include <unistd.h>
|
||||
#include "mod_demod.h"
|
||||
|
||||
+#define PI M_PI
|
||||
+
|
||||
SHORT int firwide[] = { 6, 20, 7, -42, -74, -12, 159, 353, 440 };
|
||||
SHORT int firmiddle[] = { 0, -18, -38, -39, 0, 83, 191, 284, 320 };
|
||||
SHORT int firnarrow[] = { -7, -18, -15, 11, 56, 116, 177, 223, 240 };
|
1
comms/acfax/pkg-comment
Normal file
1
comms/acfax/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Recieve faxes using sound card and radio
|
2
comms/acfax/pkg-descr
Normal file
2
comms/acfax/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
acfax is a program to decode faxes off a radio. It features on-the-fly
|
||||
image adjustments and control over a wide array of receiving options.
|
1
comms/acfax/pkg-plist
Normal file
1
comms/acfax/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/acfax
|
Loading…
Reference in New Issue
Block a user