Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Sep 2015 12:23:09 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396267 - in head/graphics/pngwriter: . files
Message-ID:  <201509071223.t87CN9FJ027124@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Mon Sep  7 12:23:08 2015
New Revision: 396267
URL: https://svnweb.freebsd.org/changeset/ports/396267

Log:
  Update to 0.5.5.
  
  This is mostly a bug fix release. Change log:
  https://github.com/pngwriter/pngwriter/blob/283c34deaf775d0a03426fe082de1681c16d136f/CHANGELOG.md
  
  Thankfully the port now has a CMake-based build system, so we can drop a lot
  of hand-made build and installation code from the Makefile.

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

Modified: head/graphics/pngwriter/Makefile
==============================================================================
--- head/graphics/pngwriter/Makefile	Mon Sep  7 12:09:53 2015	(r396266)
+++ head/graphics/pngwriter/Makefile	Mon Sep  7 12:23:08 2015	(r396267)
@@ -2,47 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	pngwriter
-PORTVERSION=	0.5.4
-PORTREVISION=	5
+PORTVERSION=	0.5.5
 CATEGORIES=	graphics devel
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	rakuco@FreeBSD.org
 COMMENT=	C++ library for creating PNG images
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/doc/LICENSE
+
 LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
 		libfreetype.so:${PORTSDIR}/print/freetype2
 
-USES=		pkgconfig
-
-WRKSRC=		${WRKDIR}/${DISTNAME}
-
-CXXFLAGS+=	`pkg-config --cflags freetype2 libpng` -I${LOCALBASE}/include
+USES=		cmake:outsource
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+GH_ACCOUNT=	${PORTNAME}
 
 PLIST_FILES=	include/pngwriter.h \
 		lib/libpngwriter.a \
-		%%DATADIR%%/fonts/FreeMonoBold.ttf \
-		%%DATADIR%%/fonts/FreeSansBold.ttf
-
-PORTDOCS=	*
-PORTEXAMPLES=	*
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-post-extract:
-	@${FIND} ${WRKSRC} -name "\.*" -delete
-
-do-build:
-	cd ${WRKSRC}/src \
-		&& ${CXX} ${CXXFLAGS} -c pngwriter.cc -o pngwriter.o \
-		&& ${AR} rv libpngwriter.a pngwriter.o
-
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/src/pngwriter.h ${STAGEDIR}${PREFIX}/include/
-	${INSTALL_DATA} ${WRKSRC}/src/libpngwriter.a ${STAGEDIR}${PREFIX}/lib/
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} fonts ${STAGEDIR}${DATADIR})
-
-	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+		lib/libpngwriter.so
 
 .include <bsd.port.mk>

Modified: head/graphics/pngwriter/distinfo
==============================================================================
--- head/graphics/pngwriter/distinfo	Mon Sep  7 12:09:53 2015	(r396266)
+++ head/graphics/pngwriter/distinfo	Mon Sep  7 12:23:08 2015	(r396267)
@@ -1,2 +1,2 @@
-SHA256 (pngwriter-0.5.4.tar.gz) = e17568e834f5195109a2a13509a679cca95d6087d27812564f7fcfc8ac700ee6
-SIZE (pngwriter-0.5.4.tar.gz) = 756781
+SHA256 (pngwriter-pngwriter-0.5.5_GH0.tar.gz) = ad9d061ddafb8da25f29f2ee552f410e59f34fbf3b9984168fa364d7a993ee8d
+SIZE (pngwriter-pngwriter-0.5.5_GH0.tar.gz) = 549677



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