diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2002-06-13 02:53:52 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2002-06-13 02:53:52 +0000 |
commit | 9ed665053910e5b48cf3ec9943b38f8304cd609d (patch) | |
tree | 2fb30d24579e1880b14e38cc98c267aeda18d593 /print | |
parent | o Chase checksum. Ogle developers re-rolled the distfile, no (diff) |
Add envelope 1.0.0, command-line Postscript envelope printer.
PR: 38214
Submitted by: Alan Eldridge ports@geeksrus.net
Notes
Notes:
svn path=/head/; revision=61186
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/envelope/Makefile | 46 | ||||
-rw-r--r-- | print/envelope/distinfo | 1 | ||||
-rw-r--r-- | print/envelope/files/patch-samplerc | 12 | ||||
-rw-r--r-- | print/envelope/pkg-comment | 1 | ||||
-rw-r--r-- | print/envelope/pkg-descr | 1 | ||||
-rw-r--r-- | print/envelope/pkg-message | 10 | ||||
-rw-r--r-- | print/envelope/pkg-plist | 30 |
8 files changed, 102 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index fb4fcc92d7aa..8d2b339939a5 100644 --- a/print/Makefile +++ b/print/Makefile @@ -50,6 +50,7 @@ SUBDIR += enscript-letter SUBDIR += enscript-letterdj SUBDIR += enscriptfonts + SUBDIR += envelope SUBDIR += freetype SUBDIR += freetype2 SUBDIR += ft2demos diff --git a/print/envelope/Makefile b/print/envelope/Makefile new file mode 100644 index 000000000000..1b6c5e727116 --- /dev/null +++ b/print/envelope/Makefile @@ -0,0 +1,46 @@ +# ex:ts=8 +# +# New ports collection makefile for: envelope +# Date created: 2002/03/24 +# Whom: Alan Eldridge ports@geeksrus.net +# +# $FreeBSD$ +# + +PORTNAME= envelope +PORTVERSION= 1.0.0 +CATEGORIES= print +MASTER_SITES= http://freefall.homeip.net/code/envelope/ +DISTNAME= ${PORTNAME}_${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@geeksrus.net + +NO_BUILD= yes +USE_PERL5= yes +NO_WRKSUBDIR= yes + +PLIST_SUB+= DOCSDIR=${DOCSDIR:S@^${PREFIX}/@@} +PLIST_SUB+= EXAMPLESDIR=${EXAMPLESDIR:S@^${PREFIX}/@@} + +post-patch: + @${PERL} -pi -e 's@/usr/bin/perl@${PERL}@' ${WRKDIR}/envelope + +do-install: + @${INSTALL_SCRIPT} ${WRKDIR}/envelope ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/config + @cd ${WRKDIR}; ${INSTALL_DATA} samplerc INSTALL ReadMe ${DOCSDIR} + @cd ${WRKDIR}/examples; \ + ${INSTALL_DATA} normal returnaddress shipping_label \ + simple with_config with_font_info with_options \ + ${EXAMPLESDIR} + @cd ${WRKDIR}/examples; ${INSTALL_DATA} config/* ${EXAMPLESDIR}/config +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> + +#EOF diff --git a/print/envelope/distinfo b/print/envelope/distinfo new file mode 100644 index 000000000000..6704a2f4f939 --- /dev/null +++ b/print/envelope/distinfo @@ -0,0 +1 @@ +MD5 (envelope_1.0.0.tgz) = f02702b7958db2035beeb42a8f2b155e diff --git a/print/envelope/files/patch-samplerc b/print/envelope/files/patch-samplerc new file mode 100644 index 000000000000..3f52f082daa9 --- /dev/null +++ b/print/envelope/files/patch-samplerc @@ -0,0 +1,12 @@ +--- samplerc.orig Mon Jan 29 22:20:06 2001 ++++ samplerc Sat May 18 00:33:08 2002 +@@ -25,6 +25,9 @@ + $feedcenter = $normalwidth/2 - $eheight/2 + + $leftmargin = 0.25 ++# if you use a program (like kprinter) that tells the printer ++# to expect an envelope of the correct size, do not add the $feed* ++# offset to $topmargin. + $topmargin = 0.30 + $feedcenter + + diff --git a/print/envelope/pkg-comment b/print/envelope/pkg-comment new file mode 100644 index 000000000000..d7f88054554a --- /dev/null +++ b/print/envelope/pkg-comment @@ -0,0 +1 @@ +Command-line Postscript envelope printer diff --git a/print/envelope/pkg-descr b/print/envelope/pkg-descr new file mode 100644 index 000000000000..1dc263f5d5af --- /dev/null +++ b/print/envelope/pkg-descr @@ -0,0 +1 @@ +Configurable command-line envelope printer which outputs Postscript. diff --git a/print/envelope/pkg-message b/print/envelope/pkg-message new file mode 100644 index 000000000000..a9a48734cf80 --- /dev/null +++ b/print/envelope/pkg-message @@ -0,0 +1,10 @@ +====================================================================== +NOTE: In order to use this program, you will need to copy the +file ${PREFIX}/share/doc/envelope/samplerc to ~/.enveloperc. + +You may then modify ~/.enveloperc according to the instructions in +the file. + +Additional configuration examples can be found in the directory +${PREFIX}/share/examples/envelope. +====================================================================== diff --git a/print/envelope/pkg-plist b/print/envelope/pkg-plist new file mode 100644 index 000000000000..e88ebdc43c62 --- /dev/null +++ b/print/envelope/pkg-plist @@ -0,0 +1,30 @@ +bin/envelope +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/ReadMe +%%PORTDOCS%%%%DOCSDIR%%/samplerc +%%PORTDOCS%%%%EXAMPLESDIR%%/config/8.625 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/datacard +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number10 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number10.5 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number11 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number12 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number14 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number5 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number6 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number6.25 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number6.75 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number7 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number7.5 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number7.75 +%%PORTDOCS%%%%EXAMPLESDIR%%/config/number9 +%%PORTDOCS%%%%EXAMPLESDIR%%/normal +%%PORTDOCS%%%%EXAMPLESDIR%%/returnaddress +%%PORTDOCS%%%%EXAMPLESDIR%%/shipping_label +%%PORTDOCS%%%%EXAMPLESDIR%%/simple +%%PORTDOCS%%%%EXAMPLESDIR%%/with_config +%%PORTDOCS%%%%EXAMPLESDIR%%/with_font_info +%%PORTDOCS%%%%EXAMPLESDIR%%/with_options +@comment dirs +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/config +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |