upgrade to pngcrush 1.3.2
This commit is contained in:
parent
f193b7fb3f
commit
4578ef0bd2
@ -1,13 +1,12 @@
|
||||
# $FreeBSD: Makefile,v 1.1 1999/12/22 14:53:53 jedgar Exp $
|
||||
|
||||
DISTNAME= pngcrush-1.3.1
|
||||
DISTNAME= pngcrush-1.3.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://ftp.xnot.com/pmt/pub/pngcrush/src/
|
||||
|
||||
MAINTAINER= brad@openbsd.org
|
||||
|
||||
post-extract:
|
||||
@cp ${FILESDIR}/Makefile ${WRKSRC}
|
||||
MAKEFILE= Makefile.gcc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
|
@ -1,13 +0,0 @@
|
||||
PROG= pngcrush
|
||||
SRCS= adler32.c crc32.c deflate.c gzio.c infblock.c infcodes.c \
|
||||
inffast.c inflate.c inftrees.c infutil.c png.c pngcrush.c \
|
||||
pngerror.c pngget.c pngmem.c pngpread.c pngread.c pngrio.c \
|
||||
pngrtran.c pngrutil.c pngset.c pngtrans.c pngvcrd.c \
|
||||
pngwio.c pngwrite.c pngwtran.c pngwutil.c trees.c zutil.c
|
||||
|
||||
BINDIR= ${PREFIX}/bin
|
||||
CFLAGS+=-Wall
|
||||
LDADD+= -lm
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -1,3 +1,3 @@
|
||||
MD5 (pngcrush-1.3.1.tar.gz) = 17856afa81149f0b394185c065553a22
|
||||
RMD160 (pngcrush-1.3.1.tar.gz) = 6423fe0b569475b445bd0da853c0cf39ee65d343
|
||||
SHA1 (pngcrush-1.3.1.tar.gz) = c9aa258857c9ca0a8792463a9e10f225822a1b01
|
||||
MD5 (pngcrush-1.3.2.tar.gz) = 7f6697ebcf14120158ccd5716a6631b8
|
||||
RMD160 (pngcrush-1.3.2.tar.gz) = 09c2e375fae74b17a78041daaac3731374484697
|
||||
SHA1 (pngcrush-1.3.2.tar.gz) = 93b96478188e5811d10d7338fde679abad54bcd4
|
||||
|
26
graphics/pngcrush/patches/patch-aa
Normal file
26
graphics/pngcrush/patches/patch-aa
Normal file
@ -0,0 +1,26 @@
|
||||
--- Makefile.gcc.orig Wed Dec 29 19:07:26 1999
|
||||
+++ Makefile.gcc Wed Dec 29 19:11:04 1999
|
||||
@@ -10,10 +10,10 @@
|
||||
|
||||
# macros --------------------------------------------------------------------
|
||||
|
||||
-CC = gcc
|
||||
-LD = gcc
|
||||
+#CC = gcc
|
||||
+LD = $(CC)
|
||||
RM = rm -f
|
||||
-CFLAGS = -O -Wall
|
||||
+CFLAGS += -Wall
|
||||
# [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
|
||||
LDFLAGS =
|
||||
O = .o
|
||||
@@ -32,6 +32,9 @@
|
||||
|
||||
EXES = $(PNGCRUSH)$(E)
|
||||
|
||||
+install: $(EXES)
|
||||
+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin
|
||||
+ $(BSD_INSTALL_PROGRAM) $(EXES) $(PREFIX)/bin
|
||||
|
||||
# implicit make rules -------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user