diff options
author | anders <anders@FreeBSD.org> | 2003-07-23 06:41:09 +0800 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2003-07-23 06:41:09 +0800 |
commit | 553e4230d965bfd66de91cf8ff1736e0ad79e470 (patch) | |
tree | baf7bd648344e6cb63e0259bdd6486e544a2883e | |
parent | 34a1b966548909e7e72e9f93a72984adea34ddb1 (diff) | |
download | freebsd-ports-gnome-553e4230d965bfd66de91cf8ff1736e0ad79e470.tar.gz freebsd-ports-gnome-553e4230d965bfd66de91cf8ff1736e0ad79e470.tar.zst freebsd-ports-gnome-553e4230d965bfd66de91cf8ff1736e0ad79e470.zip |
Add Device::Modem, a Perl module to talk to AT compliant devices via
serial ports.
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/p5-Device-Modem/Makefile | 34 | ||||
-rw-r--r-- | comms/p5-Device-Modem/distinfo | 1 | ||||
-rw-r--r-- | comms/p5-Device-Modem/pkg-descr | 1 | ||||
-rw-r--r-- | comms/p5-Device-Modem/pkg-plist | 12 |
5 files changed, 49 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index feb17acbcf24..22231084df28 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -34,6 +34,7 @@ SUBDIR += mlan3 SUBDIR += mserver SUBDIR += mwavem + SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += plp SUBDIR += pr diff --git a/comms/p5-Device-Modem/Makefile b/comms/p5-Device-Modem/Makefile new file mode 100644 index 000000000000..a2ac2f6b5196 --- /dev/null +++ b/comms/p5-Device-Modem/Makefile @@ -0,0 +1,34 @@ +# 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.28 +CATEGORIES= comms perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Device +PKGNAMEPREFIX= p5- + +MAINTAINER= ports@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::Log::File.3 Device::Modem::Log::Syslog.3 Device::Modem.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +post-install: +.if !defined(NOPORTDOCS) + @${INSTALL} -d -m 0755 ${DOCSDIR}/examples + ${INSTALL_DATA} ${WRKSRC}/examples/active.pl ${DOCSDIR}/examples/ + ${INSTALL_DATA} ${WRKSRC}/examples/dial.pl ${DOCSDIR}/examples/ + ${INSTALL_DATA} ${WRKSRC}/examples/shell.pl ${DOCSDIR}/examples/ +.endif + +.include <bsd.port.mk> diff --git a/comms/p5-Device-Modem/distinfo b/comms/p5-Device-Modem/distinfo new file mode 100644 index 000000000000..6764090d312e --- /dev/null +++ b/comms/p5-Device-Modem/distinfo @@ -0,0 +1 @@ +MD5 (Device-Modem-1.28.tar.gz) = 75ebab69232c67b1eb2b553690cca3f4 diff --git a/comms/p5-Device-Modem/pkg-descr b/comms/p5-Device-Modem/pkg-descr new file mode 100644 index 000000000000..548b1bf5aad6 --- /dev/null +++ b/comms/p5-Device-Modem/pkg-descr @@ -0,0 +1 @@ +This is a perl extension to talk to AT compliant devices via serial ports. diff --git a/comms/p5-Device-Modem/pkg-plist b/comms/p5-Device-Modem/pkg-plist new file mode 100644 index 000000000000..cecdee83672f --- /dev/null +++ b/comms/p5-Device-Modem/pkg-plist @@ -0,0 +1,12 @@ +%%SITE_PERL%%/Device/Modem/Log/File.pm +%%SITE_PERL%%/Device/Modem/Log/Syslog.pm +%%SITE_PERL%%/Device/Modem.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/Modem/.packlist +%%PORTDOCS%%%%DOCSDIR%%/examples/active.pl +%%PORTDOCS%%%%DOCSDIR%%/examples/dial.pl +%%PORTDOCS%%%%DOCSDIR%%/examples/shell.pl +%%PORTDOCS%%@dirrm share/doc/Device-Modem/examples +%%PORTDOCS%%@dirrm share/doc/Device-Modem +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/Modem +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Device 2>/dev/null || true |