summaryrefslogtreecommitdiff
path: root/print/p5-PostScript-MailLabels/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-02-03 21:51:32 +0000
committerjlam <jlam@pkgsrc.org>2005-02-03 21:51:32 +0000
commitb880f01689f55875db970d48518b755eb9fdca68 (patch)
tree1cbf3cae02ad2e67459595717f64c9fdecb3e789 /print/p5-PostScript-MailLabels/Makefile
parent8ceb29693f3ec0be9dac11199a65c47192fc642c (diff)
downloadpkgsrc-b880f01689f55875db970d48518b755eb9fdca68.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/p5-PostScript-MailLabels/Makefile')
-rw-r--r--print/p5-PostScript-MailLabels/Makefile19
1 files changed, 14 insertions, 5 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"