2007-07-18 21:31:27 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2007/07/19 01:31:27 ian Exp $
|
2004-09-25 20:38:23 -04:00
|
|
|
|
2007-07-18 21:31:27 -04:00
|
|
|
COMMENT= open source multi-protocol PBX and telephony toolkit
|
|
|
|
DISTNAME= asterisk-1.2.22
|
2004-09-25 20:38:23 -04:00
|
|
|
CATEGORIES= telephony
|
2006-09-24 17:09:25 -04:00
|
|
|
MASTER_SITES= http://ftp.digium.com/pub/asterisk/releases/
|
2004-09-25 20:38:23 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.asterisk.org/
|
|
|
|
|
2006-02-01 22:41:36 -05:00
|
|
|
MAINTAINER= Stuart Henderson <stu@spacehopper.org>
|
|
|
|
|
2006-10-19 17:19:07 -04:00
|
|
|
# GPL except iaxy.bin (freely redistributable, see LICENSE)
|
2004-09-25 20:38:23 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2006-02-15 01:11:39 -05:00
|
|
|
WANTLIB= c crypto m ncurses pthread ssl z
|
|
|
|
|
|
|
|
MAKE_FLAGS= CC="${CC} ${CFLAGS}"
|
2004-09-25 20:38:23 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2006-02-01 22:41:36 -05:00
|
|
|
MAKE_ENV+= SYSCONFDIR='${SYSCONFDIR}' MAKEFLAGS+=-DWITHOUT_ZAPTEL
|
2004-09-25 20:38:23 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asterisk
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asterisk/default
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asterisk/openbsd
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/{BUGS,SECURITY} ${PREFIX}/share/doc/asterisk
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.* ${PREFIX}/share/doc/asterisk
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/asterisk
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/configs/* ${PREFIX}/share/examples/asterisk/default
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/*.sample ${PREFIX}/share/examples/asterisk/openbsd
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|