fc42239139
pkglint -Wall -F --only aligned --only indent -r Manually adjusted the indentation in asterisk15 and asterisk16 to avoid too deep indentation.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2019/11/03 12:04:13 rillig Exp $
|
|
|
|
DISTNAME= asterisk-perl-1.08
|
|
PKGNAME= p5-Asterisk-${DISTNAME:S/asterisk-perl-//}
|
|
PKGREVISION= 2
|
|
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"
|