[Midnightbsd-cvs] mports: mports/comms:

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Aug 18 12:18:11 EDT 2008


Log Message:
-----------


Modified Files:
--------------
    mports/comms:
        Makefile (r1.21 -> r1.22)

Added Files:
-----------
    mports/comms/p5-Device-SerialPort:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/comms/p5-Device-SerialPort/files:
        patch-aa (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/comms/Makefile,v
retrieving revision 1.21
retrieving revision 1.22
diff -L comms/Makefile -L comms/Makefile -u -r1.21 -r1.22
--- comms/Makefile
+++ comms/Makefile
@@ -21,6 +21,7 @@
     SUBDIR += lrzsz
     SUBDIR += ltmdm
     SUBDIR += minicom
+    SUBDIR += p5-Device-SerialPort
     SUBDIR += p5-SMS-Send
     SUBDIR += pr
     SUBDIR += qfaxreader
--- /dev/null
+++ comms/p5-Device-SerialPort/pkg-descr
@@ -0,0 +1,4 @@
+Device::SerialPort is a perl module that provides a simple interface to
+serial ports and their settings (baud rate, word length, etc).
+
+WWW: http://search.cpan.org/dist/Device-SerialPort/
--- /dev/null
+++ comms/p5-Device-SerialPort/pkg-plist
@@ -0,0 +1,8 @@
+bin/modemtest
+%%SITE_PERL%%/%%PERL_ARCH%%/Device/SerialPort.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort/SerialPort.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort/SerialPort.so
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device/SerialPort
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Device
+ at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Device
--- /dev/null
+++ comms/p5-Device-SerialPort/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for:    p5-Device-SerialPort
+# Date created:				July 6th 2003
+# Whom:	      				Nick Sayer <nsayer at FreeBSD.org>
+#
+# $MidnightBSD: mports/comms/p5-Device-SerialPort/Makefile,v 1.1 2008/08/18 16:18:09 laffer1 Exp $
+# $FreeBSD: ports/comms/p5-Device-SerialPort/Makefile,v 1.9 2008/04/17 14:24:14 araujo Exp $
+#
+
+PORTNAME=	Device-SerialPort
+PORTVERSION=	1.003001
+CATEGORIES=	comms perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A perl5 module for simple serial port control
+LICENSE=	perl
+
+PERL_CONFIGURE=	yes
+
+MAN1=		modemtest.1
+MAN3=		Device::SerialPort.3
+
+.include <bsd.port.mk>
--- /dev/null
+++ comms/p5-Device-SerialPort/distinfo
@@ -0,0 +1,3 @@
+MD5 (Device-SerialPort-1.003001.tar.gz) = ba6c23923c8a5c69fcc97cf35aeb8504
+SHA256 (Device-SerialPort-1.003001.tar.gz) = 803d6f128b0778c0873e84cbfa243c1d37ea0e9c7ab59077d7ead24b9e47167e
+SIZE (Device-SerialPort-1.003001.tar.gz) = 127200
--- /dev/null
+++ comms/p5-Device-SerialPort/files/patch-aa
@@ -0,0 +1,14 @@
+--- Makefile.PL.orig	Fri Jul 20 19:27:38 2007
++++ Makefile.PL	Wed Sep 12 15:53:10 2007
+@@ -25,8 +25,9 @@
+ # testing.
+ if (scalar(@SERIALS)>0 && $SERIALS[0] eq "auto") {
+ 	print "Trying to find a serial port for testing...\n";
+-	@SERIALS=( "/dev/ttyS1", "/dev/cua01", "/dev/cua/b", "/dev/tty1",
+-		   "/dev/tty.modem" );
++	@SERIALS=( "/dev/ttyU0", "/dev/ucom0", "/dev/ttyd0", "/dev/cuad0",
++		   "/dev/ttyu0", "/dev/cuau0", "/dev/cuaa0", "/dev/ttya",
++		   "/dev/ttyb" );
+ 	print "(use 'perl Makefile.PL TESTPORT=<DEVICE>' to override this search)\n";
+ }
+ 


More information about the Midnightbsd-cvs mailing list