summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjlam <jlam>2005-02-03 21:51:32 +0000
committerjlam <jlam>2005-02-03 21:51:32 +0000
commite40df47519f87448d1c3ac707690b4a3217266bc (patch)
tree1cbf3cae02ad2e67459595717f64c9fdecb3e789 /print
parentbe22ff8b69e7331c57f04376f17897c017da5663 (diff)
downloadpkgsrc-e40df47519f87448d1c3ac707690b4a3217266bc.tar.gz
Update print/p5-PostScript-MailLabels to version 2.10. Changes from
version 1.01 include: * Added parameters for 5167 Avery (tm) stock. Also added many new Avery (tm) parameters. * Added new parameter set 'freetype', to allow the user to place a text string anywhere they want. Particular use is for numbering the pages. * Code now escapes special PostScript characters (){}[]<>/% in the input so that they will print properly and not crash the PS interpreter. * Changed to honor user-defined number of columns. * Added y_gap to Avery(tm) labels * Updated calibration plot in BasicData to arbitrary paper size * Added all of the component and label definition stuff. * Added pagesize so that various paper sizes are actually handled correctly.
Diffstat (limited to 'print')
-rw-r--r--print/p5-PostScript-MailLabels/Makefile19
-rw-r--r--print/p5-PostScript-MailLabels/PLIST9
-rw-r--r--print/p5-PostScript-MailLabels/distinfo7
-rw-r--r--print/p5-PostScript-MailLabels/patches/patch-aa10
4 files changed, 36 insertions, 9 deletions
diff --git a/print/p5-PostScript-MailLabels/Makefile b/print/p5-PostScript-MailLabels/Makefile
index 59987ecd052..79ef7dba6a6 100644
--- a/print/p5-PostScript-MailLabels/Makefile
+++ b/print/p5-PostScript-MailLabels/Makefile
@@ -1,18 +1,27 @@
-# $NetBSD: Makefile,v 1.10 2004/12/20 11:31:07 grant Exp $
+# $NetBSD: Makefile,v 1.11 2005/02/03 21:51:32 jlam Exp $
-DISTNAME= PostScript-MailLabels-1.01
+DISTNAME= PostScript-MailLabels-2.10
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5psm
-PKGREVISION= 1
CATEGORIES= print perl5
-MASTER_SITES= http://www.oplnk.net/~ajackson/software/
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PostScript/} \
+ http://oplnk.net/~ajackson/software/
MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.oplnk.net/~ajackson/software/maillabels/
+HOMEPAGE= http://oplnk.net/~ajackson/software/maillabels/
COMMENT= Create PostScript for printing on mailing label stock
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/PostScript/MailLabels/.packlist
+REPLACE_PERL= ${WRKSRC}/demo/*.pl
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ for file in ${REPLACE_PERL}; do \
+ ${INSTALL_SCRIPT} $$file ${EGDIR}; \
+ done
+
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/p5-PostScript-MailLabels/PLIST b/print/p5-PostScript-MailLabels/PLIST
index 93b937a992f..62e492acc9b 100644
--- a/print/p5-PostScript-MailLabels/PLIST
+++ b/print/p5-PostScript-MailLabels/PLIST
@@ -1 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:27:54 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/02/03 21:51:32 jlam Exp $
+share/examples/${PKGBASE}/copyright.pl
+share/examples/${PKGBASE}/diskette.pl
+share/examples/${PKGBASE}/portuguese.pl
+share/examples/${PKGBASE}/std_business.pl
+share/examples/${PKGBASE}/test5167.pl
+share/examples/${PKGBASE}/testlabels.pl
+@dirrm share/examples/${PKGBASE}
diff --git a/print/p5-PostScript-MailLabels/distinfo b/print/p5-PostScript-MailLabels/distinfo
index 3a287f83e27..afcf6b9d4eb 100644
--- a/print/p5-PostScript-MailLabels/distinfo
+++ b/print/p5-PostScript-MailLabels/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/09/29 06:17:27 jlam Exp $
+$NetBSD: distinfo,v 1.2 2005/02/03 21:51:32 jlam Exp $
-SHA1 (PostScript-MailLabels-1.01.tar.gz) = e7d6d44409298d328a627440f92b4872a3a86095
-Size (PostScript-MailLabels-1.01.tar.gz) = 25087 bytes
+SHA1 (PostScript-MailLabels-2.10.tar.gz) = 3fbfb65599cd731bb244408f4ea4e3a81a9d9345
+Size (PostScript-MailLabels-2.10.tar.gz) = 37932 bytes
+SHA1 (patch-aa) = 39ab63574788d4ecaf0c8efd596ff5df86781b3d
diff --git a/print/p5-PostScript-MailLabels/patches/patch-aa b/print/p5-PostScript-MailLabels/patches/patch-aa
new file mode 100644
index 00000000000..9cf8aa7a5b1
--- /dev/null
+++ b/print/p5-PostScript-MailLabels/patches/patch-aa
@@ -0,0 +1,10 @@
+$NetBSD: patch-aa,v 1.1 2005/02/03 21:51:32 jlam Exp $
+
+--- Makefile.PL.orig 2004-08-29 18:52:48.000000000 +0000
++++ Makefile.PL
+@@ -4,5 +4,4 @@ use ExtUtils::MakeMaker;
+ WriteMakefile(
+ 'NAME' => 'PostScript::MailLabels',
+ 'VERSION_FROM' => "lib/PostScript/MailLabels.pm",
+- EXE_FILES => [qw(demo/print_addrs)],
+ );