summaryrefslogtreecommitdiff
path: root/graphics/jpeg2ps
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2002-09-04 16:31:39 +0000
committerdillo <dillo@pkgsrc.org>2002-09-04 16:31:39 +0000
commit0af60ea7f3cba0651d700c3c0c931e031a087abc (patch)
treea999e77d76f2bde51bca82bfcce49eb9f086c9cb /graphics/jpeg2ps
parent12679ee8e6f4c8ec06e7d874994ece20037de08e (diff)
downloadpkgsrc-0af60ea7f3cba0651d700c3c0c931e031a087abc.tar.gz
add 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. jpeg2ps is a simple command line utility.
Diffstat (limited to 'graphics/jpeg2ps')
-rw-r--r--graphics/jpeg2ps/DESCR5
-rw-r--r--graphics/jpeg2ps/Makefile22
-rw-r--r--graphics/jpeg2ps/PLIST3
-rw-r--r--graphics/jpeg2ps/distinfo5
-rw-r--r--graphics/jpeg2ps/patches/patch-aa33
5 files changed, 68 insertions, 0 deletions
diff --git a/graphics/jpeg2ps/DESCR b/graphics/jpeg2ps/DESCR
new file mode 100644
index 00000000000..bb16eb5d7be
--- /dev/null
+++ b/graphics/jpeg2ps/DESCR
@@ -0,0 +1,5 @@
+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. jpeg2ps is a simple command line
+utility.
diff --git a/graphics/jpeg2ps/Makefile b/graphics/jpeg2ps/Makefile
new file mode 100644
index 00000000000..3048415d385
--- /dev/null
+++ b/graphics/jpeg2ps/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/04 16:31:39 dillo Exp $
+#
+
+DISTNAME= jpeg2ps-1.9
+CATEGORIES= graphics
+MASTER_SITES= http://www.pdflib.com/jpeg2ps/
+
+MAINTAINER= dillo@giga.or.at
+HOMEPAGE= http://www.pdflib.com/jpeg2ps/
+COMMENT= convert jpeg images to PostScript level 2 or 3
+
+USE_BUILDLINK2= YES
+
+RESTRICTED= may not be sold
+NO_SRC_ON_CD= ${RESTRICTED}
+NO_BIN_ON_CD= ${RESTRICTED}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${LOCALBASE}/bin
+ ${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${LOCALBASE}/man/man1
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jpeg2ps/PLIST b/graphics/jpeg2ps/PLIST
new file mode 100644
index 00000000000..91188d140cd
--- /dev/null
+++ b/graphics/jpeg2ps/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/04 16:31:39 dillo Exp $
+bin/jpeg2ps
+man/man1/jpeg2ps.1
diff --git a/graphics/jpeg2ps/distinfo b/graphics/jpeg2ps/distinfo
new file mode 100644
index 00000000000..59317000815
--- /dev/null
+++ b/graphics/jpeg2ps/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/09/04 16:31:39 dillo Exp $
+
+SHA1 (jpeg2ps-1.9.tar.gz) = 2fc2701c7c00ba17b051ebcc7b9c8059eb6614f9
+Size (jpeg2ps-1.9.tar.gz) = 67105 bytes
+SHA1 (patch-aa) = f3f983f02917b78c395886c8a7de36026dc3733a
diff --git a/graphics/jpeg2ps/patches/patch-aa b/graphics/jpeg2ps/patches/patch-aa
new file mode 100644
index 00000000000..8ed06bcf8f6
--- /dev/null
+++ b/graphics/jpeg2ps/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/09/04 16:31:39 dillo Exp $
+
+--- Makefile.orig Mon Feb 4 12:39:21 2002
++++ Makefile
+@@ -14,15 +14,15 @@ ZIPFILE = jpeg2ps-$(VERSION).zip
+ # The following was reported to work for emx/gcc 0.9c fix04 under OS/2:
+ # make -f Makefile "CFLAGS=-c -DA4 -DDOS -O2" "LDFLAGS=-Zexe -s"
+
+-CFLAGS=-c -DA4
+-LD=cc
+-LDFLAGS=
++#CFLAGS=-c -DA4
++#LD=cc
++#LDFLAGS=
+ OBJ=o
+ EXE=
+ RM=rm -f
+
+ .c.$(OBJ) :
+- $(CC) $(CFLAGS) $*.c
++ $(CC) -c $(CFLAGS) $*.c
+
+ all: jpeg2ps$(EXE)
+
+@@ -30,7 +30,7 @@ all: jpeg2ps$(EXE)
+ # at the end of the next two lines below.
+
+ jpeg2ps$(EXE): jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ)
+- $(LD) $(LDFLAGS) -o jpeg2ps$(EXE) jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ)
++ $(CC) $(LDFLAGS) -o jpeg2ps$(EXE) jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ)
+
+ DISTFILES = \
+ jpeg2ps.c psimage.h readjpeg.c asc85ec.c getopt.c \