aboutsummaryrefslogtreecommitdiff
path: root/print/ps2eps
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-12-31 23:39:28 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-12-31 23:39:28 +0000
commit225601317b15736affcf55a5e7f0d5a7f0c06bc3 (patch)
treec1584eaf370883d27a641b3793651b8fb6193e08 /print/ps2eps
parentdc69b5a196508eb5255c5da0b5b48483cee48d49 (diff)
downloadports-225601317b15736affcf55a5e7f0d5a7f0c06bc3.tar.gz
ports-225601317b15736affcf55a5e7f0d5a7f0c06bc3.zip
Notes
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%%