diff options
Diffstat (limited to 'graphics/png')
-rw-r--r-- | graphics/png/Makefile | 4 | ||||
-rw-r--r-- | graphics/png/distinfo | 6 | ||||
-rw-r--r-- | graphics/png/files/patch-libpng.pc.in (renamed from graphics/png/files/patch-ab) | 6 | ||||
-rw-r--r-- | graphics/png/files/patch-makefile.freebsd (renamed from graphics/png/files/patch-aa) | 22 | ||||
-rw-r--r-- | graphics/png/pkg-descr | 2 |
5 files changed, 21 insertions, 19 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 28c142e93efc..65bc7edf63ff 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -6,7 +6,7 @@ # PORTNAME= png -PORTVERSION= 1.2.40 +PORTVERSION= 1.2.41 CATEGORIES= graphics MASTER_SITES= SF/lib${PORTNAME}/00-lib${PORTNAME}-stable/${PORTVERSION} DISTNAME= lib${PORTNAME}-${PORTVERSION} @@ -15,7 +15,7 @@ DISTNAME= lib${PORTNAME}-${PORTVERSION} #PATCHFILES= #PATCH_DIST_STRIP= -p1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dinoex@FreeBSD.org COMMENT= Library for manipulating PNG images MAKEFILE= ${WRKSRC}/scripts/makefile.freebsd diff --git a/graphics/png/distinfo b/graphics/png/distinfo index 40e42ecf64de..10ddd30c8192 100644 --- a/graphics/png/distinfo +++ b/graphics/png/distinfo @@ -1,3 +1,3 @@ -MD5 (libpng-1.2.40.tar.bz2) = 29bbd1c3cbe54b04bfc2bda43067ccb5 -SHA256 (libpng-1.2.40.tar.bz2) = a6197352ad5b79a9a1ce0dd59f5e737cfbf909e0f3c5f64631cf0d93549e4e40 -SIZE (libpng-1.2.40.tar.bz2) = 629950 +MD5 (libpng-1.2.41.tar.bz2) = 2faa7f8d81e6a35beb991cb75edbf056 +SHA256 (libpng-1.2.41.tar.bz2) = a172c5afe4668a31eb090d14be7fc2811a9fec8568a785badd30280f47a27e00 +SIZE (libpng-1.2.41.tar.bz2) = 670288 diff --git a/graphics/png/files/patch-ab b/graphics/png/files/patch-libpng.pc.in index 227ba871f566..30af4b0d26e1 100644 --- a/graphics/png/files/patch-ab +++ b/graphics/png/files/patch-libpng.pc.in @@ -1,5 +1,5 @@ ---- scripts/libpng.pc.in.orig Wed Jun 28 00:22:40 2006 -+++ scripts/libpng.pc.in Sun Jul 23 10:56:25 2006 +--- scripts/libpng.pc.in.orig 2009-12-03 02:46:02.000000000 +0100 ++++ scripts/libpng.pc.in 2010-01-12 13:49:36.000000000 +0100 @@ -1,10 +1,10 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ @@ -12,7 +12,7 @@ Name: libpng Description: Loads and saves PNG files - Version: 1.2.40 + Version: 1.2.41 -Libs: -L${libdir} -lpng12 +Libs: -L${libdir} -lpng -lz -lm Cflags: -I${includedir} diff --git a/graphics/png/files/patch-aa b/graphics/png/files/patch-makefile.freebsd index 396cec04bdf7..bc1ed3f1dbef 100644 --- a/graphics/png/files/patch-aa +++ b/graphics/png/files/patch-makefile.freebsd @@ -1,29 +1,29 @@ ---- scripts/makefile.freebsd.orig 2007-06-21 02:10:26.000000000 +0400 -+++ scripts/makefile.freebsd 2007-10-13 17:24:24.000000000 +0400 -@@ -8,26 +8,27 @@ +--- scripts/makefile.freebsd.orig 2009-12-03 02:46:02.000000000 +0100 ++++ scripts/makefile.freebsd 2010-01-12 13:47:28.000000000 +0100 +@@ -11,26 +11,28 @@ LIB= png SHLIB_MAJOR= ${SHLIB_VER} SHLIB_MINOR= 0 --NOPROFILE= YES +.if (${OSVERSION} > 600007) -+NO_PROFILE= YES ++NO_PROFILE= YES +NO_OBJ= YES +.else -+NOPROFILE= YES + NOPROFILE= YES NOOBJ= YES +.endif # where make install puts libpng.a and png.h -DESTDIR= ${PREFIX} -LIBDIR= /lib -+LIBDIR= ${PREFIX}/lib ++#DESTDIR= ${PREFIX} ++LIBDIR= ${PREFIX}/lib INCS= png.h pngconf.h -INCSDIR= /include/libpng -+INCSDIR= ${PREFIX}/include/libpng ++INCSDIR= ${PREFIX}/include/libpng INCDIR= ${INCSDIR} # for 4.x bsd.lib.mk MAN= libpng.3 libpngpf.3 png.5 -MANDIR= /man/man -+MANDIR= ${PREFIX}/man/man ++MANDIR= ${PREFIX}/man/man SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \ libpng/pngconf.h ${INCSDIR}/../pngconf.h LDADD+= -lm -lz @@ -31,12 +31,12 @@ CFLAGS+= -I. -.if (${MACHINE_ARCH} != "i386") --CFLAGS+= -DPNG_NO_MMX_CODE +-CFLAGS+= -DPNG_CONFIGURE_LIBPNG -DPNG_NO_MMX_CODE -.endif SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ -@@ -45,4 +46,22 @@ +@@ -48,4 +50,22 @@ writelock: chmod a-w *.[ch35] $(DOCS) scripts/* diff --git a/graphics/png/pkg-descr b/graphics/png/pkg-descr index fb11db4ce311..7e9379d4fbf4 100644 --- a/graphics/png/pkg-descr +++ b/graphics/png/pkg-descr @@ -7,5 +7,7 @@ attempts were made to make it as complete as possible, while keeping the code easy to understand. Currently, this library only supports C. Support for other languages is being considered. +LICENSE: libpng license + WWW: http://www.libpng.org/pub/png/libpng.html http://libpng.sourceforge.net/ |