update to gif2png-2.5.14, the last C version (newer ones are in golang)
drop web2png, a python 1.5/2 script that 2to3 can't handle that runs over website files converting in html/scripts (the golang version still has the same py1.5/2 script for this)
This commit is contained in:
parent
e6b76068ab
commit
5cc733a064
@ -1,35 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.48 2021/02/23 19:39:25 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.49 2021/02/28 13:29:02 sthen Exp $
|
||||
|
||||
COMMENT= converts GIF images to the PNG format
|
||||
COMMENT= converts GIF images to the PNG format
|
||||
|
||||
DISTNAME= gif2png-2.5.12
|
||||
CATEGORIES= graphics
|
||||
HOMEPAGE= http://www.catb.org/~esr/gif2png/
|
||||
DISTNAME= gif2png-2.5.14
|
||||
CATEGORIES= graphics
|
||||
HOMEPAGE= http://www.catb.org/~esr/gif2png/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB += c m png z
|
||||
|
||||
MODULES= lang/python
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
||||
MASTER_SITES= http://www.catb.org/~esr/gif2png/
|
||||
|
||||
MODPY_BUILDDEP= No
|
||||
MODPY_ADJ_FILES= web2png
|
||||
LIB_DEPENDS= graphics/png
|
||||
|
||||
MASTER_SITES= http://www.catb.org/~esr/gif2png/
|
||||
USE_GMAKE= Yes
|
||||
|
||||
LIB_DEPENDS= graphics/png
|
||||
CFLAGS += -I${LOCALBASE}/include
|
||||
MAKE_FLAGS= LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
prefix=${TRUEPREFIX} \
|
||||
mandir=${PREFIX}/man
|
||||
|
||||
USE_GMAKE= Yes
|
||||
NO_TEST= Yes
|
||||
|
||||
# we don't want the lang/python configure dance
|
||||
CONFIGURE_STYLE= none
|
||||
|
||||
CFLAGS += -I${LOCALBASE}/include
|
||||
MAKE_FLAGS= LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
prefix=${WRKINST}${PREFIX}
|
||||
|
||||
NO_TEST= Yes
|
||||
post-install:
|
||||
rm ${PREFIX}/bin/web2png ${PREFIX}/man/man1/web2png.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (gif2png-2.5.12.tar.gz) = w2k0Ixx5Aovvd0gtKJToFV7eroq3g3EsRjhKkdQJJME=
|
||||
SIZE (gif2png-2.5.12.tar.gz) = 31613
|
||||
SHA256 (gif2png-2.5.14.tar.gz) = 91hNwNFbgYYYLkfc9hkJJKO6bWaaz84zvoUSp5rm/iA=
|
||||
SIZE (gif2png-2.5.14.tar.gz) = 221609
|
||||
|
@ -1,25 +0,0 @@
|
||||
$OpenBSD: patch-Makefile,v 1.2 2019/03/20 13:58:23 sthen Exp $
|
||||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
VERSION = $(shell sed -n <NEWS '/::/s/^\([^:]*\).*/\1/p' | head -1)
|
||||
|
||||
-CFLAGS = -DVERSION=\"$(VERSION)\" -O2
|
||||
+CFLAGS += -DVERSION=\"$(VERSION)\"
|
||||
LDFLAGS = -s
|
||||
|
||||
SOURCES = 437_l1.c gif2png.c gifread.c memory.c version.c
|
||||
@@ -41,9 +41,9 @@ prefix?=/usr
|
||||
|
||||
install: gif2png gif2png.1 web2png.1
|
||||
mkdir -p $(prefix)/bin
|
||||
- mkdir -p $(prefix)/share/man/man1
|
||||
+ mkdir -p $(prefix)/man/man1
|
||||
cp gif2png web2png $(prefix)/bin/
|
||||
- cp gif2png.1 web2png.1 $(prefix)/share/man/man1/
|
||||
+ cp gif2png.1 web2png.1 $(prefix)/man/man1/
|
||||
|
||||
uninstall:
|
||||
rm $(prefix)/bin/gif2png $(prefix)/bin/web2png
|
@ -1,6 +1,7 @@
|
||||
--- gif2png.c.orig Mon Jul 13 03:26:18 2015
|
||||
+++ gif2png.c Wed Apr 27 19:51:20 2016
|
||||
@@ -137,6 +137,19 @@ static int writefile(struct GIFelement *s, struct GIFe
|
||||
Index: gif2png.c
|
||||
--- gif2png.c.orig
|
||||
+++ gif2png.c
|
||||
@@ -138,6 +138,19 @@ static int writefile(struct GIFelement *s, struct GIFe
|
||||
png_text software;
|
||||
png_text comment;
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.8 2016/04/27 18:07:00 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.9 2021/02/28 13:29:02 sthen Exp $
|
||||
@bin bin/gif2png
|
||||
bin/web2png
|
||||
@man man/man1/gif2png.1
|
||||
@man man/man1/web2png.1
|
||||
|
Loading…
Reference in New Issue
Block a user