pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update print/p5-PostScript-MailLabels to version 2.10....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fca1fafafc7
branches:  trunk
changeset: 488551:0fca1fafafc7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 03 21:51:32 2005 +0000

description:
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:

 doc/CHANGES                                     |   3 ++-
 print/p5-PostScript-MailLabels/Makefile         |  19 ++++++++++++++-----
 print/p5-PostScript-MailLabels/PLIST            |   9 ++++++++-
 print/p5-PostScript-MailLabels/distinfo         |   7 ++++---
 print/p5-PostScript-MailLabels/patches/patch-aa |  10 ++++++++++
 5 files changed, 38 insertions(+), 10 deletions(-)

diffs (89 lines):

diff -r a25179903ba2 -r 0fca1fafafc7 doc/CHANGES
--- a/doc/CHANGES       Thu Feb 03 18:06:30 2005 +0000
+++ b/doc/CHANGES       Thu Feb 03 21:51:32 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9018 2005/02/03 18:06:30 jschauma Exp $
+$NetBSD: CHANGES,v 1.9019 2005/02/03 21:51:34 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -733,3 +733,4 @@
        Added beacon-1.1.0 [cube 2005-02-03]
        Updated nspr to 4.4.1nb1 [jschauma 2004-02-03]
        Updated nss to 3.9.2nb1 [jschauma 2004-02-03]
+       Updated p5-PostScript-MailLabels to 2.10 [jlam 2004-02-03]
diff -r a25179903ba2 -r 0fca1fafafc7 print/p5-PostScript-MailLabels/Makefile
--- a/print/p5-PostScript-MailLabels/Makefile   Thu Feb 03 18:06:30 2005 +0000
+++ b/print/p5-PostScript-MailLabels/Makefile   Thu Feb 03 21:51:32 2005 +0000
@@ -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@localhost
-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 -r a25179903ba2 -r 0fca1fafafc7 print/p5-PostScript-MailLabels/PLIST
--- a/print/p5-PostScript-MailLabels/PLIST      Thu Feb 03 18:06:30 2005 +0000
+++ b/print/p5-PostScript-MailLabels/PLIST      Thu Feb 03 21:51:32 2005 +0000
@@ -1,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 -r a25179903ba2 -r 0fca1fafafc7 print/p5-PostScript-MailLabels/distinfo
--- a/print/p5-PostScript-MailLabels/distinfo   Thu Feb 03 18:06:30 2005 +0000
+++ b/print/p5-PostScript-MailLabels/distinfo   Thu Feb 03 21:51:32 2005 +0000
@@ -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 -r a25179903ba2 -r 0fca1fafafc7 print/p5-PostScript-MailLabels/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/p5-PostScript-MailLabels/patches/patch-aa   Thu Feb 03 21:51:32 2005 +0000
@@ -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)],
+ );



Home | Main Index | Thread Index | Old Index