aboutsummaryrefslogtreecommitdiff
path: root/print/p5-Net-Printer
diff options
context:
space:
mode:
Diffstat (limited to 'print/p5-Net-Printer')
-rw-r--r--print/p5-Net-Printer/Makefile28
-rw-r--r--print/p5-Net-Printer/distinfo1
-rw-r--r--print/p5-Net-Printer/pkg-descr17
-rw-r--r--print/p5-Net-Printer/pkg-plist8
4 files changed, 54 insertions, 0 deletions
diff --git a/print/p5-Net-Printer/Makefile b/print/p5-Net-Printer/Makefile
new file mode 100644
index 000000000000..cea738e2ab7f
--- /dev/null
+++ b/print/p5-Net-Printer/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Net-Printer
+# Date created: 14 August 2003
+# Whom: andrew@scoop.co.nz
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Printer
+PORTVERSION= 0.32
+CATEGORIES= print perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= andrew@scoop.co.nz
+COMMENT= Perl extension for direct-to-lpd printing
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::Printer.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/print/p5-Net-Printer/distinfo b/print/p5-Net-Printer/distinfo
new file mode 100644
index 000000000000..7ee20f880c9a
--- /dev/null
+++ b/print/p5-Net-Printer/distinfo
@@ -0,0 +1 @@
+MD5 (Net-Printer-0.32.tar.gz) = 386eb09b1a1b1defe20cc5cd39405ecc
diff --git a/print/p5-Net-Printer/pkg-descr b/print/p5-Net-Printer/pkg-descr
new file mode 100644
index 000000000000..c9f3ab1a89b2
--- /dev/null
+++ b/print/p5-Net-Printer/pkg-descr
@@ -0,0 +1,17 @@
+Net::Printer
+============
+
+Perl module for directly printing to a print server/printer without
+having to create a pipe to either lpr or lp. This essentially mimics
+what the BSD LPR program does by connecting directly to the line
+printer printer port (almost always 515), and transmitting the data
+and control information to the print server.
+
+Please note that this module only communicates with the BSD Line
+Printer Daemon Protocol as described in RFC-1179. It does not
+natively speak to remote print servers via SMB, Apple-Talk or
+Netware. Remote print services running lpsched, such as Sun Solaris
+or other Sys V-derived operating systems, will work so long as the
+print spoolers are set up to understand the BSD protocol. Most modern
+network-capable laser printers, such as those manufactured by HP and
+LexMark, also "speak" BSD.
diff --git a/print/p5-Net-Printer/pkg-plist b/print/p5-Net-Printer/pkg-plist
new file mode 100644
index 000000000000..e19a26568bba
--- /dev/null
+++ b/print/p5-Net-Printer/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Net/Printer.pm
+%%SITE_PERL%%/auto/Net/Printer/autosplit.ix
+%%SITE_PERL%%/mach/auto/Net/Printer/.packlist
+@dirrm %%SITE_PERL%%/mach/auto/Net/Printer
+@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Net 2>/dev/null || true
+@dirrm %%SITE_PERL%%/auto/Net/Printer
+@unexec rmdir %D/%%SITE_PERL%%/auto/Net 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true