mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Add dtmfdial.
dtmfdial generates DTMF (touch tone) signals and sends them to the sound card or stores them as a raw sound file. PR: ports/94988 Submitted by: David Bushong <david@bushong.net>
This commit is contained in:
parent
0dd31003fd
commit
143b70acd8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158442
@ -93,6 +93,7 @@
|
||||
SUBDIR += denemo
|
||||
SUBDIR += discid
|
||||
SUBDIR += drumpiler
|
||||
SUBDIR += dtmfdial
|
||||
SUBDIR += easytag
|
||||
SUBDIR += easytag-devel
|
||||
SUBDIR += eawpats
|
||||
|
29
audio/dtmfdial/Makefile
Normal file
29
audio/dtmfdial/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: dtmfdial
|
||||
# Date created: 26 March 2006
|
||||
# Whom: David Bushong <david@bushong.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dtmfdial
|
||||
PORTVERSION= 0.2
|
||||
CATEGORIES= audio comms
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
||||
MASTER_SITE_SUBDIR= apps/sound/misc
|
||||
DISTNAME= dtmf-dial-${PORTVERSION}
|
||||
|
||||
MAINTAINER= jylefort@FreeBSD.org
|
||||
COMMENT= Generate DTMF dial tones from the command line
|
||||
|
||||
WRKSRC= ${WRKDIR}/dial
|
||||
MAKE_ARGS= CFLAGS="${CFLAGS}"
|
||||
PORTDOCS= README TODO
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dial ${PREFIX}/bin/dtmfdial
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
audio/dtmfdial/distinfo
Normal file
3
audio/dtmfdial/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (dtmf-dial-0.2.tar.gz) = 7e67715b6a114f612f71477b7144aa7f
|
||||
SHA256 (dtmf-dial-0.2.tar.gz) = 4714878832bfeaa387d57eb5cb52c9c2816c460023198c98cb714f8ef2414c27
|
||||
SIZE (dtmf-dial-0.2.tar.gz) = 4136
|
24
audio/dtmfdial/files/patch-dial.c
Normal file
24
audio/dtmfdial/files/patch-dial.c
Normal file
@ -0,0 +1,24 @@
|
||||
--- dial.c.orig Fri Mar 31 04:44:07 2006
|
||||
+++ dial.c Fri Mar 31 04:44:23 2006
|
||||
@@ -7,10 +7,10 @@
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
-#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
-#include <linux/soundcard.h>
|
||||
+#include <sys/soundcard.h>
|
||||
|
||||
#define DEBUG(x)
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
++*index;
|
||||
}
|
||||
|
||||
-void
|
||||
+int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
char *cp;
|
2
audio/dtmfdial/pkg-descr
Normal file
2
audio/dtmfdial/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
dtmfdial generates DTMF (touch tone) signals and sends them to the sound card
|
||||
or stores them as a raw sound file.
|
1
audio/dtmfdial/pkg-plist
Normal file
1
audio/dtmfdial/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/dtmfdial
|
Loading…
Reference in New Issue
Block a user