1d9e28be19
IAXmodem is a software modem written in C that uses an IAX channel (commonly provided by an Asterisk PBX system) instead of a traditional phone line and uses a DSP library instead of DSP hardware chipsets. IAXmodem was originally conceived to function as a fax modem usable with HylaFAX, and it does that well. However IAXmodem also has been known to function with mgetty+sendfax and efax. .. much cleanup from my earlier verisions, thanks brad@
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/21 03:49:22 todd Exp $
|
|
|
|
COMMENT= a software fax modem that uses an IAX channel
|
|
|
|
DISTNAME= iaxmodem-1.1.0
|
|
CATEGORIES= telephony
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iaxmodem/}
|
|
|
|
HOMEPAGE= http://iaxmodem.sourceforge.net/
|
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c m util
|
|
|
|
LIB_DEPENDS= tiff::graphics/tiff
|
|
|
|
USE_LIBTOOL= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iaxmodem
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iaxmodem
|
|
${INSTALL_PROGRAM} ${WRKSRC}/iaxmodem ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/iaxmodem-cfg.ttyIAX \
|
|
${PREFIX}/share/examples/iaxmodem/iaxmodem-cfg.ttyIAX
|
|
${INSTALL_DATA} ${WRKSRC}/config.ttyIAX \
|
|
${PREFIX}/share/examples/iaxmodem/hylafax-cfg.ttyIAX
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/iaxmodem
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/iaxmodem
|
|
${INSTALL_DATA} ${WRKSRC}/iaxmodem.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|