Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 14:43:41 +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: r460816 - head/graphics/pngwriter
Message-ID:  <201802031443.w13EhfKq036665@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sat Feb  3 14:43:41 2018
New Revision: 460816
URL: https://svnweb.freebsd.org/changeset/ports/460816

Log:
  Update to 0.7.0.
  
  Add a DOCS option to conditionally install some documentation.

Added:
  head/graphics/pngwriter/pkg-plist   (contents, props changed)
Modified:
  head/graphics/pngwriter/Makefile
  head/graphics/pngwriter/distinfo

Modified: head/graphics/pngwriter/Makefile
==============================================================================
--- head/graphics/pngwriter/Makefile	Sat Feb  3 14:17:01 2018	(r460815)
+++ head/graphics/pngwriter/Makefile	Sat Feb  3 14:43:41 2018	(r460816)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pngwriter
-PORTVERSION=	0.6.0
+PORTVERSION=	0.7.0
 CATEGORIES=	graphics devel
 
 MAINTAINER=	rakuco@FreeBSD.org
@@ -18,12 +18,19 @@ BROKEN_mips=		fails to build: ios_base.h: 'std::ios_ba
 BROKEN_mips64=		fails to build: ios_base.h: 'std::ios_base::ios_base(const std::ios_base&)' is private
 BROKEN_powerpc64=	fails to build: ios_base.h: 'std::ios_base::ios_base(const std::ios_base&)' is private
 
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	CHANGES EXAMPLES README PNGwriterQuickReference.pdf
+
 USES=		cmake:outsource
+CMAKE_ON=	BUILD_SHARED_LIBS PNGwriter_USE_FREETYPE
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 
-PLIST_FILES=	include/pngwriter.h \
-		lib/libpngwriter.a \
-		lib/libpngwriter.so
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
 
 .include <bsd.port.mk>

Modified: head/graphics/pngwriter/distinfo
==============================================================================
--- head/graphics/pngwriter/distinfo	Sat Feb  3 14:17:01 2018	(r460815)
+++ head/graphics/pngwriter/distinfo	Sat Feb  3 14:43:41 2018	(r460816)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1494082079
-SHA256 (pngwriter-pngwriter-0.6.0_GH0.tar.gz) = 5107c6be0bfadf76ba4d01a553f7e060b5a7763ca7d9374ef3e7e59746b3911e
-SIZE (pngwriter-pngwriter-0.6.0_GH0.tar.gz) = 571576
+TIMESTAMP = 1517567846
+SHA256 (pngwriter-pngwriter-0.7.0_GH0.tar.gz) = 82d46eef109f434f95eba9cf5908710ae4e75f575fd3858178ad06e800152825
+SIZE (pngwriter-pngwriter-0.7.0_GH0.tar.gz) = 570525

Added: head/graphics/pngwriter/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/pngwriter/pkg-plist	Sat Feb  3 14:43:41 2018	(r460816)
@@ -0,0 +1,6 @@
+include/pngwriter.h
+lib/cmake/PNGwriter/PNGwriterConfig.cmake
+lib/cmake/PNGwriter/PNGwriterConfigVersion.cmake
+lib/cmake/PNGwriter/PNGwriterTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/PNGwriter/PNGwriterTargets.cmake
+lib/libPNGwriter.so



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