openbsd-ports/telephony/asterisk/Makefile
jolan c7aee7ccf1 update to 1.0.9, ok jcs pval
most notably fixes an overflow in the management interface (which is not
enabled by default)
2005-08-15 17:36:06 +00:00

40 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2005/08/15 17:36:06 jolan Exp $
COMMENT= "open source PBX"
DISTNAME= asterisk-1.0.9
CATEGORIES= telephony
MASTER_SITES= http://www.asterisk.org/html/downloads/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/
HOMEPAGE= http://www.asterisk.org/
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= c crypto m ncurses ossaudio pthread ssl
NO_REGRESS= Yes
USE_GMAKE= Yes
BUILD_DEPENDS= :bison-*:devel/bison
MAKE_ENV+= SYSCONFDIR='${SYSCONFDIR}'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asterisk
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asterisk/agi
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asterisk/default
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asterisk/openbsd
${INSTALL_DATA} ${FILESDIR}/BUGS.OpenBSD ${PREFIX}/share/doc/asterisk
${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}/agi/agi-test.agi \
${PREFIX}/share/examples/asterisk/agi
${INSTALL_DATA} ${WRKSRC}/configs/* ${PREFIX}/share/examples/asterisk/default
${INSTALL_DATA} ${FILESDIR}/*.sample ${PREFIX}/share/examples/asterisk/openbsd
.include <bsd.port.mk>