upgrade to png 1.2.4

--
compat symlinks have been removed.
This commit is contained in:
brad 2002-07-17 22:39:03 +00:00
parent a5e3ca7009
commit 400870d2bb
5 changed files with 16 additions and 25 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.39 2002/05/13 23:31:24 espie Exp $ # $OpenBSD: Makefile,v 1.40 2002/07/17 22:39:03 brad Exp $
COMMENT= "library for manipulating PNG images" COMMENT= "library for manipulating PNG images"
DISTNAME= libpng-1.2.2 DISTNAME= libpng-1.2.4
PKGNAME= ${DISTNAME:S/lib//} PKGNAME= ${DISTNAME:S/lib//}
CATEGORIES= graphics CATEGORIES= graphics
NEED_VERSION= 1.522
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/}
HOMEPAGE= http://www.libpng.org/pub/png/libpng.html HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
@ -24,12 +23,4 @@ MAKE_FILE= scripts/makefile.openbsd
REGRESS_TARGET= test REGRESS_TARGET= test
# short term compatibility sym-links
# will be removed once all ports have been checked
# for proper operation without the sym-links
post-install:
@cd ${PREFIX}/include && \
ln -sf libpng/png.h png.h && \
ln -sf libpng/pngconf.h pngconf.h
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (libpng-1.2.2.tar.gz) = 4a23be1a1752537ec3bf210bb3fd03ad MD5 (libpng-1.2.4.tar.gz) = 6a5609d704bc6674339d77a11d44cbaf
RMD160 (libpng-1.2.2.tar.gz) = 036c5bf28086cb2369760052781a686e3ee3784d RMD160 (libpng-1.2.4.tar.gz) = 0a6e6088250c07e898f5c8c7dafd853bcfcf2232
SHA1 (libpng-1.2.2.tar.gz) = 0eae122ed275320056c7eb7046fc30f68c828399 SHA1 (libpng-1.2.4.tar.gz) = 245fdfbe51cb3ff96639bfbc99ff8c9d681cdde1

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-scripts_makefile_openbsd,v 1.1 2002/04/26 02:19:04 brad Exp $ $OpenBSD: patch-scripts_makefile_openbsd,v 1.2 2002/07/17 22:39:03 brad Exp $
--- scripts/makefile.openbsd.orig Mon Apr 15 10:25:46 2002 --- scripts/makefile.openbsd.orig Wed May 22 21:35:26 2002
+++ scripts/makefile.openbsd Sun Apr 21 16:16:34 2002 +++ scripts/makefile.openbsd Wed May 22 21:41:41 2002
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
-# makefile for libpng -# makefile for libpng
+# makefile for libpng under OpenBSD +# makefile for libpng under OpenBSD
@ -15,9 +15,9 @@ $OpenBSD: patch-scripts_makefile_openbsd,v 1.1 2002/04/26 02:19:04 brad Exp $
+DOCDIR= ${PREFIX}/share/doc/png +DOCDIR= ${PREFIX}/share/doc/png
-SHLIB_MAJOR= 0 -SHLIB_MAJOR= 0
-SHLIB_MINOR= 1.2.2 -SHLIB_MINOR= 1.2.4
+SHLIB_MAJOR= 3 +SHLIB_MAJOR= 3
+SHLIB_MINOR= 0 +SHLIB_MINOR= 1
LIB= png LIB= png
SRCS= png.c pngerror.c pnggccrd.c pngget.c pngmem.c pngpread.c \ SRCS= png.c pngerror.c pnggccrd.c pngget.c pngmem.c pngpread.c \
@ -40,7 +40,7 @@ $OpenBSD: patch-scripts_makefile_openbsd,v 1.1 2002/04/26 02:19:04 brad Exp $
fi fi
if [ ! -d ${DESTDIR}${LIBDIR} ]; then \ if [ ! -d ${DESTDIR}${LIBDIR} ]; then \
${INSTALL} -d -o root -g wheel ${DESTDIR}${LIBDIR}; \ ${INSTALL} -d -o root -g wheel ${DESTDIR}${LIBDIR}; \
@@ -52,19 +55,17 @@ beforeinstall: @@ -52,21 +55,17 @@ beforeinstall:
if [ ! -d ${DESTDIR}${MANDIR}5 ]; then \ if [ ! -d ${DESTDIR}${MANDIR}5 ]; then \
${INSTALL} -d -o root -g wheel ${DESTDIR}${MANDIR}5; \ ${INSTALL} -d -o root -g wheel ${DESTDIR}${MANDIR}5; \
fi fi
@ -60,6 +60,8 @@ $OpenBSD: patch-scripts_makefile_openbsd,v 1.1 2002/04/26 02:19:04 brad Exp $
- -m ${NONBINMODE} ${HDRS} ${DESTDIR}${PREFIX}/include/libpng - -m ${NONBINMODE} ${HDRS} ${DESTDIR}${PREFIX}/include/libpng
+ -m ${NONBINMODE} ${HDRS} ${DESTDIR}${INCDIR} + -m ${NONBINMODE} ${HDRS} ${DESTDIR}${INCDIR}
${INSTALL} ${INSTALL_COPY} -o ${SHAREOWN} -g ${SHAREGRP} \ ${INSTALL} ${INSTALL_COPY} -o ${SHAREOWN} -g ${SHAREGRP} \
- -m ${NONBINMODE} ${HDRS} ${DESTDIR}${PREFIX}/include
- ${INSTALL} ${INSTALL_COPY} -o ${SHAREOWN} -g ${SHAREGRP} \
- -m ${NONBINMODE} ${DOCS} ${DESTDIR}${PREFIX}/share/doc/png - -m ${NONBINMODE} ${DOCS} ${DESTDIR}${PREFIX}/share/doc/png
+ -m ${NONBINMODE} ${DOCS} ${DESTDIR}${DOCDIR} + -m ${NONBINMODE} ${DOCS} ${DESTDIR}${DOCDIR}

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.7 2001/11/19 02:40:52 brad Exp $ @comment $OpenBSD: PFRAG.shared,v 1.8 2002/07/17 22:39:03 brad Exp $
lib/libpng.so.3.0 lib/libpng.so.3.1
DYNLIBDIR(%B) DYNLIBDIR(%B)

View File

@ -1,6 +1,4 @@
@comment $OpenBSD: PLIST,v 1.13 2002/04/26 02:19:04 brad Exp $ @comment $OpenBSD: PLIST,v 1.14 2002/07/17 22:39:03 brad Exp $
include/png.h
include/pngconf.h
include/libpng/png.h include/libpng/png.h
include/libpng/pngconf.h include/libpng/pngconf.h
lib/libpng.a lib/libpng.a