mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
- take maintainership
- update to 1.2.41
This commit is contained in:
parent
0019cecc09
commit
e311fad0a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247696
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
@ -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/*
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user