summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-07-09 23:39:44 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-07-09 23:39:44 +0000
commitf31512dd5f7c52616df03040197085c749b23d15 (patch)
tree00204e044b6d8838cc758410317007851fd849b3 /graphics/png
parentA library for Japanese Input Method Canna and Wnn6 (diff)
Upgrade to 1.0.2
Notes
Notes: svn path=/head/; revision=11807
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/Makefile8
-rw-r--r--graphics/png/distinfo2
-rw-r--r--graphics/png/files/patch-aa27
3 files changed, 21 insertions, 16 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
index 3c1c6fac9fec..7517727db20a 100644
--- a/graphics/png/Makefile
+++ b/graphics/png/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: PNG images library
-# Version required: 1.0.1
+# Version required: 1*
# Date created: 5 Dec 1995
# Whom: ache
#
-# $Id: Makefile,v 1.11 1998/03/02 19:43:11 ache Exp $
+# $Id: Makefile,v 1.12 1998/03/28 13:48:18 ache Exp $
#
-DISTNAME= libpng-1.0.1
-PKGNAME= png-1.0.1
+DISTNAME= libpng-1.0.2
+PKGNAME= png-1.0.2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.uu.net/graphics/png/src/
diff --git a/graphics/png/distinfo b/graphics/png/distinfo
index 9d574814d7cf..8b6d4d9080e6 100644
--- a/graphics/png/distinfo
+++ b/graphics/png/distinfo
@@ -1 +1 @@
-MD5 (libpng-1.0.1.tar.gz) = 7dd031b93f0a9b99bd5fdccb38e270cb
+MD5 (libpng-1.0.2.tar.gz) = a8b093154f07f7b82e5c9bb77c11a0c4
diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-aa
index 603f34b3d644..b7b896056f86 100644
--- a/graphics/png/files/patch-aa
+++ b/graphics/png/files/patch-aa
@@ -1,5 +1,5 @@
-*** scripts/makefile.std.orig Sat Mar 7 23:12:04 1998
---- scripts/makefile.std Sat Mar 28 16:39:42 1998
+*** scripts/makefile.std.orig Wed Apr 1 04:49:34 1998
+--- scripts/makefile.std Fri Jul 10 03:34:22 1998
***************
*** 5,33 ****
# Where the zlib library and include files are located
@@ -9,7 +9,7 @@
! ZLIBINC=../zlib
! CC=cc
-! CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=1
+! CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=5
! LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm
#RANLIB=echo
@@ -31,21 +31,26 @@
pngtest: pngtest.o libpng.a
$(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
---- 5,42 ----
+--- 5,47 ----
# Where the zlib library and include files are located
#ZLIBLIB=/usr/local/lib
#ZLIBINC=/usr/local/include
! #ZLIBLIB=../zlib
! #ZLIBINC=../zlib
-! VER=2.1
! #CC=cc
-! #CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=1
-! LDFLAGS=-L. -lpng -lz -lm -static
+! CFLAGS+=-I.
+! LDFLAGS+=-L. -lpng -lz -lm -static
#RANLIB=echo
RANLIB=ranlib
++ # read libpng.txt or png.h to see why PNGMAJ is 2. You should not
++ # have to change it.
++ PNGMAJ = 2
++ PNGMIN = 1
++ PNGVER = $(PNGMAJ).$(PNGMIN)
++
# where make install puts libpng.a and png.h
! prefix=${PREFIX}
@@ -58,13 +63,13 @@
! .c.so:
! ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
!
-! all: libpng.a libpng.so.${VER}
+! all: libpng.a libpng.so.${PNGVER}
libpng.a: $(OBJS)
ar rc $@ $(OBJS)
$(RANLIB) $@
-+ libpng.so.${VER}: $(OBJS:S/o$/so/g)
++ libpng.so.${PNGVER}: $(OBJS:S/o$/so/g)
+ ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g) -lz -lm
+
pngtest: pngtest.o libpng.a
@@ -84,12 +89,12 @@
clean:
rm -f *.o libpng.a pngtest pngout.png
---- 46,56 ----
+--- 51,61 ----
install: libpng.a
-@mkdir $(prefix)/include
-@mkdir $(prefix)/lib
! ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} png.h pngconf.h $(prefix)/include
-! ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} libpng.a libpng.so.${VER} $(prefix)/lib
+! ${INSTALL} -c -m ${BINMODE} -o ${BINOWN} -g ${BINGRP} libpng.a libpng.so.${PNGVER} $(prefix)/lib
! ranlib $(prefix)/lib/libpng.a
! ${INSTALL} -c -m ${MANMODE} -o ${MANOWN} -g ${MANGRP} libpng.3 libpngpf.3 $(prefix)/man/man3
! ${INSTALL} -c -m ${MANMODE} -o ${MANOWN} -g ${MANGRP} png.5 $(prefix)/man/man5