aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2003-12-09 00:22:05 +0800
committerbms <bms@FreeBSD.org>2003-12-09 00:22:05 +0800
commite2fdbfec014677fd03fa60780c247e2f6b384cd0 (patch)
treea17634b4989ea1ec6fcf49ac9d960a84a04fc7c2
parentfda0e2a160795908a2c0b65bf01f2d154aa59301 (diff)
downloadfreebsd-ports-gnome-e2fdbfec014677fd03fa60780c247e2f6b384cd0.tar.gz
freebsd-ports-gnome-e2fdbfec014677fd03fa60780c247e2f6b384cd0.tar.zst
freebsd-ports-gnome-e2fdbfec014677fd03fa60780c247e2f6b384cd0.zip
New port: epsmerge, merge multiple EPS files into single PS or EPS output.
-rw-r--r--print/Makefile1
-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
6 files changed, 81 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile
index f0ddb92a2b31..778ea8fa401a 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -54,6 +54,7 @@
SUBDIR += enscript-letterdj
SUBDIR += enscriptfonts
SUBDIR += envelope
+ SUBDIR += epsmerge
SUBDIR += epsonepl
SUBDIR += font2svg
SUBDIR += foomatic-db
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