svn commit: r396267 - in head/graphics/pngwriter: . files

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Sep 7 12:23:10 UTC 2015


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 at FreeBSD.org
+MAINTAINER=	rakuco at 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


More information about the svn-ports-all mailing list