ps2eps is a tool (written in Perl) to produce Encapsulated PostScript Files

(EPS/EPSF) from usual one-paged Postscript documents. It calculates correct
Bounding Boxes for those EPS files and filters some special postscript command
sequences that can produce erroneous results on printers.

PR:		ports/91099
Submitted by:	Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
This commit is contained in:
Pav Lucistnik 2005-12-31 23:39:28 +00:00
parent dc69b5a196
commit 225601317b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152512
5 changed files with 67 additions and 0 deletions

View file

@ -244,6 +244,7 @@
SUBDIR += pmw
SUBDIR += pnm2ppa
SUBDIR += poster
SUBDIR += ps2eps
SUBDIR += pscal
SUBDIR += psdim
SUBDIR += pslib

45
print/ps2eps/Makefile Normal file
View file

@ -0,0 +1,45 @@
# New ports collection makefile for: ps2eps
# Date created: 2005-12-30
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= ps2eps
PORTVERSION= 1.58
CATEGORIES= print
MASTER_SITES= http://www.ipv6.tm.uka.de/~bless/
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= Generate Encapsulated Postscript file from Postscript document
WRKSRC= ${WRKDIR}/ps2eps
USE_GHOSTSCRIPT_RUN= yes
USE_PERL5_RUN= yes
MAN1= ps2eps.1 bbox.1
do-build:
${CC} -o ${WRKSRC}/bbox ${WRKSRC}/src/C/bbox.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bbox ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/ps2eps ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/bbox.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/doc/man/man1/ps2eps.1 ${PREFIX}/man/man1/
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/html
@${MKDIR} ${DOCSDIR}/pdf
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Changes.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/bbox.html ${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/html/ps2eps.html ${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/pdf/bbox.pdf ${DOCSDIR}/pdf
${INSTALL_DATA} ${WRKSRC}/doc/pdf/ps2eps.pdf ${DOCSDIR}/pdf
.endif
.include <bsd.port.mk>

3
print/ps2eps/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (ps2eps-1.58.tar.gz) = 9ef4c529aff70fb37b2afe3f5bbd66c5
SHA256 (ps2eps-1.58.tar.gz) = b4b52dffd7262bac76b852b57f953a143590a9d51b6788f766fff1836d164160
SIZE (ps2eps-1.58.tar.gz) = 107324

6
print/ps2eps/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
ps2eps is a tool (written in Perl) to produce Encapsulated PostScript Files
(EPS/EPSF) from usual one-paged Postscript documents. It calculates correct
Bounding Boxes for those EPS files and filters some special postscript command
sequences that can produce erroneous results on printers.
WWW: http://www.tm.uka.de/~bless/ps2eps

12
print/ps2eps/pkg-plist Normal file
View file

@ -0,0 +1,12 @@
bin/bbox
bin/ps2eps
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/Changes.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/html/bbox.html
%%PORTDOCS%%%%DOCSDIR%%/html/ps2eps.html
%%PORTDOCS%%%%DOCSDIR%%/pdf/bbox.pdf
%%PORTDOCS%%%%DOCSDIR%%/pdf/ps2eps.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%