2003-07-23 00:41:09 +02:00
|
|
|
# New ports collection makefile for: p5-Device-Modem
|
|
|
|
# Date created: 22 July 2003
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Device-Modem
|
2004-08-20 16:14:54 +02:00
|
|
|
PORTVERSION= 1.39
|
2003-07-23 00:41:09 +02:00
|
|
|
CATEGORIES= comms perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Device
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2004-08-15 17:01:58 +02:00
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-07-23 00:41:09 +02:00
|
|
|
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
|
|
|
|
|
2004-08-15 17:01:58 +02:00
|
|
|
MAN3= Device::Modem.3 Device::Modem::Log::File.3 \
|
|
|
|
Device::Modem::Log::Syslog.3 Device::Modem::Protocol::Xmodem.3
|
2003-07-23 00:41:09 +02:00
|
|
|
|
|
|
|
post-install:
|
2004-08-15 17:01:58 +02:00
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}
|
2003-07-23 00:41:09 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|