openbsd-ports/telephony/iaxmodem/Makefile
2010-11-20 19:56:47 +00:00

42 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2010/11/20 19:56:47 espie 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 tiff util
LIB_DEPENDS= graphics/tiff
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
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>