freebsd-ports/comms/p5-Device-Modem/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

33 lines
855 B
Makefile

# 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.48
CATEGORIES= comms perl5
MASTER_SITES= CPAN
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 \
Device::Modem::UsRobotics.3
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>