pkgsrc/comms/p5-Asterisk/Makefile
wiz 3ce7faa541 p5-Asterisk: update to 1.08.
1.08  Package asterisk::perl to resolve pause index upload.

1.07   Replace Config with Conf namespace to resolve conflict with Asterisk::config distro

1.06    New upload with original asterisk-perl distro name
    More test script updates to increase code coverage.

1.05	Fix Asterisk::Manager undefined response RT#115789 ( Thanks Chris Hemmerly)
	Fix MakeFile.PL and Asterisk::Perl for Pause Indexing (Thanks Jim Keenan)
	minor updates on the test scripts

1.04    Asterisk-Perl distribution now on Github.
	Added simple test scripts
	Travis and CoverAll integration with new Github repository
	Asterisk-Perl distribution now ready for Pull Request Challenge (http://cpan-prc.org/)
2017-09-17 08:10:01 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2017/09/17 08:10:01 wiz Exp $
DISTNAME= asterisk-perl-1.08
PKGNAME= p5-Asterisk-${DISTNAME:S/asterisk-perl-//}
CATEGORIES= comms perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/I/IT/ITCHARLIE/}
#MASTER_SITES+= http://asterisk.gnuinter.net/files/
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://asterisk.gnuinter.net/
COMMENT= Collection of perl modules to be used with Asterisk
LICENSE= artistic
DEPENDS+= p5-Net-Telnet-[0-9]*:../../net/p5-Net-Telnet
PERL5_PACKLIST= auto/asterisk-perl/.packlist
EXAMPLES_DIR= ${PREFIX}/share/examples/p5-Asterisk
EXAMPLE_FILES= agi-enum.agi agi-sayani.agi agi-test.agi
EXAMPLE_FILES+= calleridnamelookup.agi directory.agi manager-test.pl
EXAMPLE_FILES+= tts-bofh.agi tts-line.agi tts-ping.agi
.for file in ${EXAMPLE_FILES}
REPLACE_PERL+= ${WRKSRC}/examples/${file}
.endfor
INSTALLATION_DIRS= ${EXAMPLES_DIR}
post-install:
.for file in ${EXAMPLE_FILES}
${INSTALL_SCRIPT} ${WRKSRC}/examples/${file} ${DESTDIR}${EXAMPLES_DIR}
.endfor
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"