Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2018 08:55:14 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463879 - head/graphics/potrace
Message-ID:  <201803080855.w288tEY0006030@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Mar  8 08:55:14 2018
New Revision: 463879
URL: https://svnweb.freebsd.org/changeset/ports/463879

Log:
  graphics/potrace: Update to 1.15
  
  Port changes:
  * Changed DISTVERSION
  * Simplified MASTER_SITES
  * Added LIBRARY DOCS options
  * Moved plist into pkg-plist
  * Added CONFLICTS
  
  PR:		221938
  Submitted by:	Piotr Smyrak <ps.ports@smyrak.com> (maintainer)
  Approved by:	tcberner (mentor, implicit)

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

Modified: head/graphics/potrace/Makefile
==============================================================================
--- head/graphics/potrace/Makefile	Thu Mar  8 08:39:47 2018	(r463878)
+++ head/graphics/potrace/Makefile	Thu Mar  8 08:55:14 2018	(r463879)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	potrace
-PORTVERSION=	1.14
+DISTVERSION=	1.15
 CATEGORIES=	graphics
-MASTER_SITES=	http://sourceforge.net/projects/potrace/files/${PORTVERSION}/
+MASTER_SITES=	SF/potrace/${PORTVERSION}
 
 MAINTAINER=	ps.ports@smyrak.com
 COMMENT=	Transforms bitmaps into vector graphics
@@ -15,22 +15,20 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 USES=		cpe
 GNU_CONFIGURE=	yes
 
-PLIST_FILES=	bin/potrace bin/mkbitmap \
-		man/man1/potrace.1.gz \
-		man/man1/mkbitmap.1.gz
-
-OPTIONS_DEFINE=	METRIC A4
+OPTIONS_DEFINE=	METRIC A4 LIBRARY DOCS
 OPTIONS_DEFAULT=METRIC A4
+OPTIONS_SUB=	yes
 
 METRIC_DESC=	Use metric units (cm) as default
 METRIC_CONFIGURE_ENABLE=	metric
 A4_DESC=	Use A4 as the default papersize
 A4_CONFIGURE_ENABLE=	a4
+LIBRARY_DESC=	Enable building libpotrace
+LIBRARY_CONFIGURE_WITH=	libpotrace
+LIBRARY_USE=	LDCONFIG=yes
+LIBRARY_USES=	libtool
+LIBRARY_INSTALL_TARGET=	install-strip
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/potrace ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/src/mkbitmap ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/doc/potrace.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+CONFLICTS=	libpotrace-*
 
 .include <bsd.port.mk>

Modified: head/graphics/potrace/distinfo
==============================================================================
--- head/graphics/potrace/distinfo	Thu Mar  8 08:39:47 2018	(r463878)
+++ head/graphics/potrace/distinfo	Thu Mar  8 08:55:14 2018	(r463879)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487558979
-SHA256 (potrace-1.14.tar.gz) = db72b65311cfdcb63880b317f610d84485f086e15f88ca2346012d49414cd97e
-SIZE (potrace-1.14.tar.gz) = 649685
+TIMESTAMP = 1503607801
+SHA256 (potrace-1.15.tar.gz) = a9b33904ace328340c850a01458199e0064e03ccaaa731bc869a842b1b8d529d
+SIZE (potrace-1.15.tar.gz) = 650840

Added: head/graphics/potrace/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/potrace/pkg-plist	Thu Mar  8 08:55:14 2018	(r463879)
@@ -0,0 +1,10 @@
+bin/potrace
+bin/mkbitmap
+man/man1/potrace.1.gz
+man/man1/mkbitmap.1.gz
+%%LIBRARY%%include/potracelib.h
+%%LIBRARY%%lib/libpotrace.a
+%%LIBRARY%%lib/libpotrace.so
+%%LIBRARY%%lib/libpotrace.so.0
+%%LIBRARY%%lib/libpotrace.so.0.0.5
+%%PORTDOCS%%%%DOCSDIR%%/placement.pdf



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