svn commit: r489975 - in head/graphics/gif2png: . files

Martin Wilke miwi at FreeBSD.org
Fri Jan 11 14:51:59 UTC 2019


Author: miwi
Date: Fri Jan 11 14:51:57 2019
New Revision: 489975
URL: https://svnweb.freebsd.org/changeset/ports/489975

Log:
  - Update to 2.5.11
  
  PR:		230660
  Submitted by:	ndowens at yahoo.com
  Approved by:	maintainer timeout
  Sponsored by:	iXsystems Inc.

Added:
  head/graphics/gif2png/files/
  head/graphics/gif2png/files/patch-Makefile   (contents, props changed)
Modified:
  head/graphics/gif2png/Makefile
  head/graphics/gif2png/distinfo

Modified: head/graphics/gif2png/Makefile
==============================================================================
--- head/graphics/gif2png/Makefile	Fri Jan 11 14:41:07 2019	(r489974)
+++ head/graphics/gif2png/Makefile	Fri Jan 11 14:51:57 2019	(r489975)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gif2png
-PORTVERSION=	2.5.9
-PORTREVISION=	3
+PORTVERSION=	2.5.11
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.catb.org/~esr/gif2png/
 
@@ -11,16 +10,22 @@ MAINTAINER=	saper at saper.info
 COMMENT=	Converts GIF images to a PNG format
 
 LICENSE=	ZLIB
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libpng.so:graphics/png
+BUILD_DEPENDS=	png>0:graphics/png \
+		gzip:archivers/gzip
 
-USES=		localbase:ldflags python:2.7,run shebangfix
+USES=		python:2.7,run shebangfix
 SHEBANG_FILES=	web2png
-GNU_CONFIGURE=	yes
 
-PLIST_FILES=	bin/${PORTNAME} bin/web2png \
+PLIST_FILES=	bin/gif2png bin/web2png \
 		man/man1/gif2png.1.gz \
 		man/man1/web2png.1.gz
+
+MAKE_ARGS=	CFLAGS="${CFLAGS}" prefix=${STAGEDIR}${PREFIX}
+CFLAGS+=	-I${PREFIX}/include/libpng16 -L${PREFIX}/lib
+
+pre-build:
+	${REINPLACE_CMD} -e 's|"gif2png " VERSION|" gif2png " ; VERSION|' ${WRKSRC}/version.c
 
 .include <bsd.port.mk>

Modified: head/graphics/gif2png/distinfo
==============================================================================
--- head/graphics/gif2png/distinfo	Fri Jan 11 14:41:07 2019	(r489974)
+++ head/graphics/gif2png/distinfo	Fri Jan 11 14:51:57 2019	(r489975)
@@ -1,2 +1,3 @@
-SHA256 (gif2png-2.5.9.tar.gz) = c8406b7c0c08f504952a1719e04f2366ee44c888c0edfac3a63fea2ab05b64c7
-SIZE (gif2png-2.5.9.tar.gz) = 137750
+TIMESTAMP = 1534339110
+SHA256 (gif2png-2.5.11.tar.gz) = 40483169d2de06f632ada1de780c36f63325844ec62892b1652193f77fc508f7
+SIZE (gif2png-2.5.11.tar.gz) = 31507

Added: head/graphics/gif2png/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/gif2png/files/patch-Makefile	Fri Jan 11 14:51:57 2019	(r489975)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2015-07-15 00:06:28 UTC
++++ Makefile
+@@ -38,13 +38,13 @@ 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
+-	rm $(prefix)/share/man/man1/gif2png.1 $(prefix)/share/man/man1/web2png.1
++	rm $(prefix)/man/man1/gif2png.1 $(prefix)/man/man1/web2png.1
+ 
+ PYLINTOPTS = --rcfile=/dev/null --reports=n \
+ 	--msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \


More information about the svn-ports-head mailing list