summaryrefslogtreecommitdiff
path: root/graphics/jpeg
diff options
context:
space:
mode:
authoragc <agc>1997-10-06 13:29:36 +0000
committeragc <agc>1997-10-06 13:29:36 +0000
commitca4627ef7619bb159b847debf1cbb97b11cbc26d (patch)
tree5058c5ead6fe4cc247b8c2e431718236fdc520d6 /graphics/jpeg
parentdf03ac421a15fe4bd0d9a726cc69d109d1d0c249 (diff)
downloadpkgsrc-ca4627ef7619bb159b847debf1cbb97b11cbc26d.tar.gz
Initial import of FreeBSD graphics ports into the NetBSD packages
system.
Diffstat (limited to 'graphics/jpeg')
-rw-r--r--graphics/jpeg/Makefile22
-rw-r--r--graphics/jpeg/files/md51
-rw-r--r--graphics/jpeg/patches/patch-aa146
-rw-r--r--graphics/jpeg/pkg/COMMENT1
-rw-r--r--graphics/jpeg/pkg/DESCR20
-rw-r--r--graphics/jpeg/pkg/PLIST18
6 files changed, 208 insertions, 0 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
new file mode 100644
index 00000000000..41436d0d890
--- /dev/null
+++ b/graphics/jpeg/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: jpeg
+# Version required: 6a
+# Date created: 6 November 1994
+# Whom: smace
+#
+# FreeBSD Id: Makefile,v 1.14 1997/07/17 15:12:43 max Exp
+#
+
+DISTNAME= jpegsrc.v6a
+PKGNAME= jpeg-6a
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.uu.net/graphics/jpeg/
+
+WRKSRC= ${WRKDIR}/jpeg-6a
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install install-lib
+MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
+
+post-install:
+ ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/graphics/jpeg/files/md5 b/graphics/jpeg/files/md5
new file mode 100644
index 00000000000..7c4c650e5e8
--- /dev/null
+++ b/graphics/jpeg/files/md5
@@ -0,0 +1 @@
+MD5 (jpegsrc.v6a.tar.gz) = 5360e0aa47b415daa44623196f7e6160
diff --git a/graphics/jpeg/patches/patch-aa b/graphics/jpeg/patches/patch-aa
new file mode 100644
index 00000000000..734d06528aa
--- /dev/null
+++ b/graphics/jpeg/patches/patch-aa
@@ -0,0 +1,146 @@
+*** makefile.cfg.orig Tue Jul 25 03:07:32 1995
+--- makefile.cfg Wed Oct 4 05:50:21 1995
+***************
+*** 115,121 ****
+ TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o
+
+
+! all: @ANSI2KNR@ libjpeg.a cjpeg djpeg jpegtran rdjpgcom wrjpgcom
+
+ # This rule causes ansi2knr to be invoked.
+ @ISANSICOM@.c.o:
+--- 115,121 ----
+ TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o
+
+
+! all: @ANSI2KNR@ libjpeg.a libjpeg.so.7.0 cjpeg djpeg jpegtran rdjpgcom wrjpgcom
+
+ # This rule causes ansi2knr to be invoked.
+ @ISANSICOM@.c.o:
+***************
+*** 124,129 ****
+--- 124,134 ----
+ @ISANSICOM@ $(RM) T$*.c $*.o
+ @ISANSICOM@ $(MV) T$*.o $*.o
+
++ .SUFFIXES: .c .so .o
++
++ .c.so:
++ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
++
+ ansi2knr: ansi2knr.c
+ $(CC) $(CFLAGS) $(ANSI2KNRFLAGS) -o ansi2knr ansi2knr.c
+
+***************
+*** 132,145 ****
+ $(AR) libjpeg.a $(LIBOBJECTS)
+ $(AR2) libjpeg.a
+
+! cjpeg: $(COBJECTS) libjpeg.a
+! $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.a $(LDLIBS)
+
+! djpeg: $(DOBJECTS) libjpeg.a
+! $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.a $(LDLIBS)
+
+! jpegtran: $(TROBJECTS) libjpeg.a
+! $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.a $(LDLIBS)
+
+ rdjpgcom: rdjpgcom.o
+ $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
+--- 137,153 ----
+ $(AR) libjpeg.a $(LIBOBJECTS)
+ $(AR2) libjpeg.a
+
+! libjpeg.so.7.0: @ANSI2KNR@ $(LIBOBJECTS:S/o$/so/g)
+! ld -Bshareable -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g)
+!
+! cjpeg: $(COBJECTS) libjpeg.so.7.0
+! $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) -L. -ljpeg $(LDLIBS)
+
+! djpeg: $(DOBJECTS) libjpeg.so.7.0
+! $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) -L. -ljpeg $(LDLIBS)
+
+! jpegtran: $(TROBJECTS) libjpeg.so.7.0
+! $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) -L. -ljpeg $(LDLIBS)
+
+ rdjpgcom: rdjpgcom.o
+ $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
+***************
+*** 164,171 ****
+ $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
+ $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
+
+! install-lib: libjpeg.a install-headers
+ $(INSTALL_DATA) libjpeg.a $(libdir)/$(binprefix)libjpeg.a
+
+ install-headers: jconfig.h
+ $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
+--- 172,181 ----
+ $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
+ $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
+
+! install-lib: libjpeg.a libjpeg.so.7.0 install-headers
+! $(INSTALL_DATA) libjpeg.so.7.0 $(libdir)/$(binprefix)libjpeg.so.7.0
+ $(INSTALL_DATA) libjpeg.a $(libdir)/$(binprefix)libjpeg.a
++ ranlib $(libdir)/$(binprefix)libjpeg.a
+
+ install-headers: jconfig.h
+ $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
+***************
+*** 202,207 ****
+--- 212,266 ----
+ # GNU Make likes to know which target names are not really files to be made:
+ .PHONY: all install install-lib install-headers clean distribute test check
+
++ jcapimin.so: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcapistd.so: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jccoefct.so: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jccolor.so: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcdctmgr.so: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jchuff.so: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
++ jcinit.so: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcmainct.so: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcmarker.so: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcmaster.so: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcomapi.so: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcparam.so: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcphuff.so: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
++ jcprepct.so: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcsample.so: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jctrans.so: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdapimin.so: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdapistd.so: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdatadst.so: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
++ jdatasrc.so: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
++ jdcoefct.so: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdcolor.so: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jddctmgr.so: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jdhuff.so: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
++ jdinput.so: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmainct.so: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmarker.so: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmaster.so: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmerge.so: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdphuff.so: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
++ jdpostct.so: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdsample.so: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdtrans.so: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jerror.so: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
++ jfdctflt.so: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jfdctfst.so: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jfdctint.so: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctflt.so: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctfst.so: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctint.so: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctred.so: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jquant1.so: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jquant2.so: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jutils.so: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jmemmgr.so: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemansi.so: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemname.so: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemnobs.so: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemdos.so: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
+
+ jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
diff --git a/graphics/jpeg/pkg/COMMENT b/graphics/jpeg/pkg/COMMENT
new file mode 100644
index 00000000000..346b918b514
--- /dev/null
+++ b/graphics/jpeg/pkg/COMMENT
@@ -0,0 +1 @@
+IJG's jpeg compression utilities.
diff --git a/graphics/jpeg/pkg/DESCR b/graphics/jpeg/pkg/DESCR
new file mode 100644
index 00000000000..a804f2ad48d
--- /dev/null
+++ b/graphics/jpeg/pkg/DESCR
@@ -0,0 +1,20 @@
+The Independent JPEG Group's JPEG software
+==========================================
+
+README for release 6 of 2-Aug-95
+================================
+
+This distribution contains the sixth public release of the Independent JPEG
+Group's free JPEG software. You are welcome to redistribute this software and
+to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
+
+Serious users of this software (particularly those incorporating it into
+larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to
+our electronic mailing list. Mailing list members are notified of updates
+and have a chance to participate in technical discussions, etc.
+
+This software is the work of Tom Lane, Philip Gladstone, Luis Ortiz, Jim
+Boucher, Lee Crocker, Julian Minguillon, George Phillips, Davide Rossi,
+Ge' Weijers, and other members of the Independent JPEG Group.
+
+IJG is not affiliated with the official ISO JPEG standards committee.
diff --git a/graphics/jpeg/pkg/PLIST b/graphics/jpeg/pkg/PLIST
new file mode 100644
index 00000000000..90496fbaba5
--- /dev/null
+++ b/graphics/jpeg/pkg/PLIST
@@ -0,0 +1,18 @@
+bin/cjpeg
+bin/djpeg
+bin/jpegtran
+bin/rdjpgcom
+bin/wrjpgcom
+man/man1/cjpeg.1.gz
+man/man1/djpeg.1.gz
+man/man1/jpegtran.1.gz
+man/man1/rdjpgcom.1.gz
+man/man1/wrjpgcom.1.gz
+include/jconfig.h
+include/jpeglib.h
+include/jmorecfg.h
+include/jerror.h
+lib/libjpeg.so.7.0
+@exec /sbin/ldconfig -m %B
+lib/libjpeg.a
+@exec ranlib %D/%F