openbsd-ports/telephony/iaxmodem/Makefile
2013-03-21 08:45:11 +00:00

38 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2013/03/21 08:48:54 ajacoutot 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
WANTLIB= c m tiff util
LIB_DEPENDS= graphics/tiff
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>