Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2017 19:45:27 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450933 - in head/graphics/pngcrush: . files
Message-ID:  <201709291945.v8TJjR8Y019660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Sep 29 19:45:27 2017
New Revision: 450933
URL: https://svnweb.freebsd.org/changeset/ports/450933

Log:
  graphics/pngcrush: Update to 1.8.13
  
  PR:		222517
  Submitted by:	lightside <lightside@gmx.com>
  Approved by:	Anton Sayetsky <vsasjason@gmail.com> (maintainer)

Deleted:
  head/graphics/pngcrush/files/
Modified:
  head/graphics/pngcrush/Makefile
  head/graphics/pngcrush/distinfo

Modified: head/graphics/pngcrush/Makefile
==============================================================================
--- head/graphics/pngcrush/Makefile	Fri Sep 29 19:39:55 2017	(r450932)
+++ head/graphics/pngcrush/Makefile	Fri Sep 29 19:45:27 2017	(r450933)
@@ -2,23 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	pngcrush
-PORTVERSION=	1.8.7
+PORTVERSION=	1.8.13
 CATEGORIES=	graphics
-MASTER_SITES=	SF/pmt/${PORTNAME}/old-versions/${PORTVERSION:R}/${PORTVERSION}/
-#		# SF/pmt/${PORTNAME}/${PORTVERSION}/
+MASTER_SITES=	SF/pmt/${PORTNAME}/${PORTVERSION}/ \
+		SF/pmt/${PORTNAME}/old-versions/${PORTVERSION:R}/${PORTVERSION}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-nolib
 
 MAINTAINER=	vsasjason@gmail.com
 COMMENT=	Optimizer for PNG files
 
+LICENSE=	Pngcrush
+LICENSE_NAME=	Pngcrush License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
+
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USES=		tar:xz
-CFLAGS+=	-DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
+USES=		localbase:ldflags tar:xz
+MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LD="${CC}" \
+		LDFLAGS="${LDFLAGS}"
 
 PLIST_FILES=	bin/pngcrush
+
+post-patch:
+	@${REINPLACE_CMD} -e '/^LIBS/s|-L$$([[:alnum:]]*) ||g' \
+		${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/pngcrush

Modified: head/graphics/pngcrush/distinfo
==============================================================================
--- head/graphics/pngcrush/distinfo	Fri Sep 29 19:39:55 2017	(r450932)
+++ head/graphics/pngcrush/distinfo	Fri Sep 29 19:45:27 2017	(r450933)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1477914424
-SHA256 (pngcrush-1.8.7-nolib.tar.xz) = f0cfc0d6f4df67106a184600f891b164875b6be7173111c87bec48a509fac60b
-SIZE (pngcrush-1.8.7-nolib.tar.xz) = 64556
+TIMESTAMP = 1504041316
+SHA256 (pngcrush-1.8.13-nolib.tar.xz) = 3b4eac8c5c69fe0894ad63534acedf6375b420f7038f7fc003346dd352618350
+SIZE (pngcrush-1.8.13-nolib.tar.xz) = 66104



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709291945.v8TJjR8Y019660>