aboutsummaryrefslogtreecommitdiffstats
path: root/print/ps2eps/Makefile
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/Makefile
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/Makefile')
-rw-r--r--print/ps2eps/Makefile45
1 files changed, 45 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>