summaryrefslogtreecommitdiff
path: root/print/epsmerge
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-12-08 16:22:05 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-12-08 16:22:05 +0000
commit5d1da33ef5b190c960ed05998d01ff9e915146df (patch)
tree9ca5a0c1b4623b4722ea905c88cd5e4fc4e3fc05 /print/epsmerge
parentFix the net-snmp check in the configure.ac script. Previously, the check would (diff)
New port: epsmerge, merge multiple EPS files into single PS or EPS output.
Diffstat (limited to 'print/epsmerge')
-rw-r--r--print/epsmerge/Makefile51
-rw-r--r--print/epsmerge/distinfo1
-rw-r--r--print/epsmerge/files/epsmerge2
-rw-r--r--print/epsmerge/pkg-descr13
-rw-r--r--print/epsmerge/pkg-plist13
5 files changed, 80 insertions, 0 deletions
diff --git a/print/epsmerge/Makefile b/print/epsmerge/Makefile
new file mode 100644
index 000000000000..c8f5647e0972
--- /dev/null
+++ b/print/epsmerge/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: epsmerge
+# Date created: Nov 30, 2003
+# Whom: Bruce M Simpson <bms@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= epsmerge
+PORTVERSION= 2.2.2
+CATEGORIES= print
+MASTER_SITES= http://home.clara.net/nox/software/epsmerge/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= bms@FreeBSD.org
+COMMENT= Merge multiple EPS files into one EPS or PS file
+
+USE_PERL5= yes
+USE_REINPLACE= yes
+USE_SUBMAKE= yes
+NO_BUILD= yes
+
+MAN1= epsmerge.1
+
+EPSMERGELIBDIR= ${PREFIX}/lib/${PORTNAME}
+
+LIBFILES= Cell.pm CellFactory.pm Driver.pm Eps.pm Formatter.pm \
+ Io.pm MainCell.pm Options.pm
+
+do-install:
+ ${MKDIR} ${EPSMERGELIBDIR}
+.for libfile in ${LIBFILES}
+ ${INSTALL_SCRIPT} ${WRKSRC}/lib/${libfile} ${EPSMERGELIBDIR}
+.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/epsmerge ${EPSMERGELIBDIR}
+ ${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL5}|g' \
+ ${EPSMERGELIBDIR}/epsmerge
+ ${RM} ${EPSMERGELIBDIR}/epsmerge.bak
+ ${INSTALL_SCRIPT} ${FILESDIR}/epsmerge ${PREFIX}/bin
+ ${REINPLACE_CMD} -e 's|%%EPSMERGELIBDIR%%|${EPSMERGELIBDIR}|g' \
+ ${PREFIX}/bin/epsmerge
+ ${RM} ${PREFIX}/bin/epsmerge.bak
+.if !defined(NO_INSTALL_MANPAGES)
+ ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${PREFIX}/man/man1
+.endif
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.txt ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/print/epsmerge/distinfo b/print/epsmerge/distinfo
new file mode 100644
index 000000000000..fdb543426042
--- /dev/null
+++ b/print/epsmerge/distinfo
@@ -0,0 +1 @@
+MD5 (epsmerge-2.2.2.tar.gz) = 4f885e53b818de8094bb42704bb58c6a
diff --git a/print/epsmerge/files/epsmerge b/print/epsmerge/files/epsmerge
new file mode 100644
index 000000000000..87b06fa82280
--- /dev/null
+++ b/print/epsmerge/files/epsmerge
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec perl -w -I%%EPSMERGELIBDIR%% %%EPSMERGELIBDIR%%/epsmerge "$@"
diff --git a/print/epsmerge/pkg-descr b/print/epsmerge/pkg-descr
new file mode 100644
index 000000000000..73a95136caca
--- /dev/null
+++ b/print/epsmerge/pkg-descr
@@ -0,0 +1,13 @@
+epsmerge is a perl program for merging EPS (Encapsulated Postscript)
+files into one bigger EPS file. It does this by reading the files
+and arranging them in rows (or columns), squeezing them together
+so that they all fit. It can squeeze in several ways: uniformly,
+preserving aspect ratios, preserving the relative sizes of the
+images, etc. It can also be used to format a single EPS file on a
+paper which can then be sent to a printer. There are options to put
+labels over or under the images.
+
+WWW: http://home.clara.net/nox/software/epsmerge/
+
+Bruce
+bms@FreeBSD.org
diff --git a/print/epsmerge/pkg-plist b/print/epsmerge/pkg-plist
new file mode 100644
index 000000000000..3b4d3f305425
--- /dev/null
+++ b/print/epsmerge/pkg-plist
@@ -0,0 +1,13 @@
+lib/epsmerge/Options.pm
+lib/epsmerge/MainCell.pm
+lib/epsmerge/Io.pm
+lib/epsmerge/Formatter.pm
+lib/epsmerge/Eps.pm
+lib/epsmerge/Driver.pm
+lib/epsmerge/CellFactory.pm
+lib/epsmerge/Cell.pm
+lib/epsmerge/epsmerge
+@dirrm lib/epsmerge
+bin/epsmerge
+%%PORTDOCS%%%%DOCSDIR%%/epsmerge.txt
+%%PORTDOCS%%%%DOCSDIR%%/epsmerge.html