aboutsummaryrefslogtreecommitdiffstats
path: root/comms/p5-Device-Modem/Makefile
blob: d5833095c846c3cd3a8044662c50a4b849082691 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:    p5-Device-Modem
# Date created:             22 July 2003
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Device-Modem
PORTVERSION=    1.43
CATEGORIES= comms perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Device
PKGNAMEPREFIX=  p5-

MAINTAINER= skv@FreeBSD.org
COMMENT=    Perl class to interface generic modems (AT-compliant)

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/Device/SerialPort.pm:${PORTSDIR}/comms/p5-Device-SerialPort
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Device::Modem.3 Device::Modem::Log::File.3 \
        Device::Modem::Log::Syslog.3 Device::Modem::Protocol::Xmodem.3

post-install:
.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>