From 0534eca1a20daf06a25bdfeb07fa8ceb944a503d Mon Sep 17 00:00:00 2001 From: sturm Date: Sun, 11 May 2003 16:52:29 +0000 Subject: [PATCH] Initial import of jpeg2ps 1.9 jpeg2ps is a utility for converting JPEG images to compressed PostScript Level 2 or 3 files (without uncompressing the images). The JPEG data is simply 'wrapped' with PostScript which yields considerably smaller PS files. WWW: http://www.pdflib.com/jpeg2ps/ from Sebastian Stark --- graphics/jpeg2ps/Makefile | 21 +++++++++++++++++++++ graphics/jpeg2ps/distinfo | 3 +++ graphics/jpeg2ps/patches/patch-Makefile | 16 ++++++++++++++++ graphics/jpeg2ps/pkg/DESCR | 6 ++++++ graphics/jpeg2ps/pkg/PLIST | 3 +++ 5 files changed, 49 insertions(+) create mode 100644 graphics/jpeg2ps/Makefile create mode 100644 graphics/jpeg2ps/distinfo create mode 100644 graphics/jpeg2ps/patches/patch-Makefile create mode 100644 graphics/jpeg2ps/pkg/DESCR create mode 100644 graphics/jpeg2ps/pkg/PLIST diff --git a/graphics/jpeg2ps/Makefile b/graphics/jpeg2ps/Makefile new file mode 100644 index 00000000000..7a592f3a664 --- /dev/null +++ b/graphics/jpeg2ps/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2003/05/11 16:52:29 sturm Exp $ + +COMMENT= "convert jpeg to compressed PostScript" + +DISTNAME= jpeg2ps-1.9 +CATEGORIES= graphics + +# according to jpeg2ps.1 +PERMIT_PACKAGE_CDROM= "may not sell" +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= "may not sell" +PERMIT_DISTFILES_FTP= Yes + +MAINTAINER= Sebastian Stark +MASTER_SITES= ${HOMEPAGE} +HOMEPAGE= http://www.pdflib.com/jpeg2ps/ + +REGRESS_TARGET= test +MAKE_FLAGS= CC='${CC}' CFLAGS='${CFLAGS} -c' LD='${CC}' + +.include diff --git a/graphics/jpeg2ps/distinfo b/graphics/jpeg2ps/distinfo new file mode 100644 index 00000000000..417898c6e71 --- /dev/null +++ b/graphics/jpeg2ps/distinfo @@ -0,0 +1,3 @@ +MD5 (jpeg2ps-1.9.tar.gz) = e654f6a584435e6717b6c2659c07db28 +RMD160 (jpeg2ps-1.9.tar.gz) = 076c59aeded1615bdb65db138a8448e9146f7ed3 +SHA1 (jpeg2ps-1.9.tar.gz) = 2fc2701c7c00ba17b051ebcc7b9c8059eb6614f9 diff --git a/graphics/jpeg2ps/patches/patch-Makefile b/graphics/jpeg2ps/patches/patch-Makefile new file mode 100644 index 00000000000..306fec3addf --- /dev/null +++ b/graphics/jpeg2ps/patches/patch-Makefile @@ -0,0 +1,16 @@ +$OpenBSD: patch-Makefile,v 1.1.1.1 2003/05/11 16:52:29 sturm Exp $ +--- Makefile.orig Sat May 3 13:43:44 2003 ++++ Makefile Sat May 3 13:44:25 2003 +@@ -42,10 +42,10 @@ DOSDISTFILES = $(DISTFILES) jpeg2ps.exe + + # Location where to install the binary. This is a suitable value for Linux + # (and possibly other unix-like) systems. +-BINDIR = /usr/local/bin ++BINDIR = ${PREFIX}/bin + + # Location where to install the manual page. +-MANDIR = /usr/local/man/man1 ++MANDIR = ${PREFIX}/man/man1 + + CONVFILES = \ + jpeg2ps.c psimage.h readjpeg.c asc85ec.c getopt.c \ diff --git a/graphics/jpeg2ps/pkg/DESCR b/graphics/jpeg2ps/pkg/DESCR new file mode 100644 index 00000000000..499b1c6eae8 --- /dev/null +++ b/graphics/jpeg2ps/pkg/DESCR @@ -0,0 +1,6 @@ +jpeg2ps is a utility for converting JPEG images to compressed PostScript +Level 2 or 3 files (without uncompressing the images). The JPEG data is +simply 'wrapped' with PostScript which yields considerably smaller PS +files. + +WWW: ${HOMEPAGE} diff --git a/graphics/jpeg2ps/pkg/PLIST b/graphics/jpeg2ps/pkg/PLIST new file mode 100644 index 00000000000..d7ed8639de5 --- /dev/null +++ b/graphics/jpeg2ps/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/11 16:52:29 sturm Exp $ +bin/jpeg2ps +man/man1/jpeg2ps.1