aboutsummaryrefslogtreecommitdiffstats
path: root/print/ps2eps
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-01-01 07:39:28 +0800
committerpav <pav@FreeBSD.org>2006-01-01 07:39:28 +0800
commita1b99384f10c3534e2c3942a6bad4a490963327b (patch)
treecb4792088f6cf43ffc74f95a2d46351cf2d6f60b /print/ps2eps
parent65d3364a702b788c856e5ab6b6bdccbe5e384bc7 (diff)
downloadfreebsd-ports-gnome-a1b99384f10c3534e2c3942a6bad4a490963327b.tar.gz
freebsd-ports-gnome-a1b99384f10c3534e2c3942a6bad4a490963327b.tar.zst
freebsd-ports-gnome-a1b99384f10c3534e2c3942a6bad4a490963327b.zip
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>
Diffstat (limited to 'print/ps2eps')
-rw-r--r--print/ps2eps/Makefile45
-rw-r--r--print/ps2eps/distinfo3
-rw-r--r--print/ps2eps/pkg-descr6
-rw-r--r--print/ps2eps/pkg-plist12
4 files changed, 66 insertions, 0 deletions
diff --git a/print/ps2eps/Makefile b/print/ps2eps/Makefile
new file mode 100644
index 000000000000..fb5520dfa714
--- /dev/null
+++ b/print/ps2eps/Makefile
@@ -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>
diff --git a/print/ps2eps/distinfo b/print/ps2eps/distinfo
new file mode 100644
index 000000000000..84ff9459b2df
--- /dev/null
+++ b/print/ps2eps/distinfo
@@ -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
diff --git a/print/ps2eps/pkg-descr b/print/ps2eps/pkg-descr
new file mode 100644
index 000000000000..73add8b2e36c
--- /dev/null
+++ b/print/ps2eps/pkg-descr
@@ -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
diff --git a/print/ps2eps/pkg-plist b/print/ps2eps/pkg-plist
new file mode 100644
index 000000000000..330c1db214b8
--- /dev/null
+++ b/print/ps2eps/pkg-plist
@@ -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%%