diff options
author | alane <alane@FreeBSD.org> | 2002-06-13 10:53:52 +0800 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2002-06-13 10:53:52 +0800 |
commit | 0f8b186bc76df2af2d45796f4008b3525fe414f5 (patch) | |
tree | 2b1888fdcbea521e79ebcd0b0333f6b4a3e503df /print/envelope | |
parent | 03ac6fca80dbc07f6f12cc4e255b661ec007bc66 (diff) | |
download | freebsd-ports-gnome-0f8b186bc76df2af2d45796f4008b3525fe414f5.tar.gz freebsd-ports-gnome-0f8b186bc76df2af2d45796f4008b3525fe414f5.tar.zst freebsd-ports-gnome-0f8b186bc76df2af2d45796f4008b3525fe414f5.zip |
Add envelope 1.0.0, command-line Postscript envelope printer.
PR: 38214
Submitted by: Alan Eldridge ports@geeksrus.net
Diffstat (limited to 'print/envelope')
-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 |
7 files changed, 101 insertions, 0 deletions
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%% |