39dd282805
Changes: 1.03 Fix AGI.pm from printing warnings on some optional variables (http://bugs.debian.org/525025) 1.02 Fix POD for AGI.pm thanks to Lawrence Gilbert Fix Manager.pm parsing values that were 0 Fix verbose example in AGI.pm Fix return in _readparse in AGI.pm Fix quoting on a few AGI.pm commands
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2012/04/01 18:49:01 rhaen Exp $
|
|
#
|
|
|
|
DISTNAME= asterisk-perl-1.03
|
|
PKGNAME= p5-Asterisk-1.03
|
|
CATEGORIES= comms perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/J/JA/JAMESGOL/}
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
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"
|