From nobody@FreeBSD.org  Wed Feb 20 22:47:26 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 7DCD0871
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Feb 2013 22:47:26 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3F47FF36
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Feb 2013 22:47:26 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1KMlP8l024068
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Feb 2013 22:47:25 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1KMlPdT024067;
	Wed, 20 Feb 2013 22:47:25 GMT
	(envelope-from nobody)
Message-Id: <201302202247.r1KMlPdT024067@red.freebsd.org>
Date: Wed, 20 Feb 2013 22:47:25 GMT
From: Piotr Smyrak <smyru@heron.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] update graphics/portace to 1.11
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176307
>Category:       ports
>Synopsis:       [patch] update graphics/portace to 1.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 20 22:50:00 UTC 2013
>Closed-Date:    Thu Feb 21 00:47:48 UTC 2013
>Last-Modified:  Thu Feb 21 00:50:02 UTC 2013
>Originator:     Piotr Smyrak
>Release:        FreeBSD 8.3-STABLE
>Organization:
>Environment:
FreeBSD dsk.smyrak.com 8.3-STABLE FreeBSD 8.3-STABLE #3 r243184: Sun Nov 18 17:10:13 CET 2012     root@dsk.smyrak.com:/home/usr/obj/usr/src/sys/SMYRU  amd64
>Description:
The attached patch updates graphics/potrace to newly released app version.

See: http://potrace.sourceforge.net/#news

The patch also:
1. adds LICENSE to Makefile, 
2. converts legacy OPTIONS to new world order,
3. drops old Makefile headers.
>How-To-Repeat:
N/A
>Fix:


Patch attached with submission follows:

diff -Naru /usr/ports/graphics/potrace/Makefile potrace/Makefile
--- /usr/ports/graphics/potrace/Makefile	2012-11-17 06:58:19.000000000 +0100
+++ potrace/Makefile	2013-02-20 23:18:03.000000000 +0100
@@ -1,18 +1,15 @@
-# Ports collection makefile for:	potrace
-# Date created:				24 September 2003
-# Whom:					Piotr Smyrak <smyru@heron.pl>
-#
 # $FreeBSD: ports/graphics/potrace/Makefile,v 1.16 2012/11/17 05:58:19 svnexp Exp $
-#
 
 PORTNAME=	potrace
-PORTVERSION=	1.9
+PORTVERSION=	1.11
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
 MAINTAINER=	smyru@heron.pl
 COMMENT=	Transforms bitmaps into vector graphics
 
+LICENSE=	GPLv2
+
 GNU_CONFIGURE=	yes
 
 .if !defined(NO_INSTALL_MANPAGES)
@@ -20,16 +17,19 @@
 .endif
 PLIST_FILES=	bin/potrace bin/mkbitmap
 
-OPTIONS=	METRIC	"Enable use of metric units (centimeters) as default" on \
-		A4	"Enable use of A4 as the default papersize"           on
+OPTIONS_DEFINE=	METRIC A4
+OPTIONS_DEFAULT=METRIC A4
+
+METRIC_DESC=	Use metric units (cm) as default
+A4_DESC=	Use A4 as the default papersize
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITH_A4)
+.if ${PORT_OPTIONS:MA4}
 CONFIGURE_ARGS+=	--enable-a4
 .endif
 
-.if defined(WITH_METRIC)
+.if ${PORT_OPTIONS:MMETRIC}
 CONFIGURE_ARGS+=	--enable-metric
 .endif
 
@@ -41,4 +41,4 @@
 	${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${MAN1PREFIX}/man/man1
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -Naru /usr/ports/graphics/potrace/distinfo potrace/distinfo
--- /usr/ports/graphics/potrace/distinfo	2011-01-26 12:51:25.000000000 +0100
+++ potrace/distinfo	2013-02-20 23:04:02.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (potrace-1.9.tar.gz) = edce2dff19f91e727a4f39e1839b582b83d49ef252af429a0772ddc3626349be
-SIZE (potrace-1.9.tar.gz) = 601675
+SHA256 (potrace-1.11.tar.gz) = 5aa5eb496e00206d68b67edf8f6067999a45d1b69f848c18af5cbdf8e4a17ead
+SIZE (potrace-1.11.tar.gz) = 662085


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Feb 21 00:47:48 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176307 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/176307: commit references a PR
Date: Thu, 21 Feb 2013 00:48:00 +0000 (UTC)

 Author: miwi
 Date: Thu Feb 21 00:47:49 2013
 New Revision: 312688
 URL: http://svnweb.freebsd.org/changeset/ports/312688
 
 Log:
   - Update to 1.11
   - Convert to OptionNG
   - Trim Header
   - Add license
   
   PR:		176307
   Submitted by:	maintainer
 
 Modified:
   head/graphics/potrace/Makefile   (contents, props changed)
   head/graphics/potrace/distinfo   (contents, props changed)
 
 Modified: head/graphics/potrace/Makefile
 ==============================================================================
 --- head/graphics/potrace/Makefile	Thu Feb 21 00:46:15 2013	(r312687)
 +++ head/graphics/potrace/Makefile	Thu Feb 21 00:47:49 2013	(r312688)
 @@ -1,12 +1,8 @@
 -# Ports collection makefile for:	potrace
 -# Date created:				24 September 2003
 -# Whom:					Piotr Smyrak <smyru@heron.pl>
 -#
 +# Created by: Piotr Smyrak <smyru@heron.pl>
  # $FreeBSD$
 -#
  
  PORTNAME=	potrace
 -PORTVERSION=	1.9
 +PORTVERSION=	1.11
  CATEGORIES=	graphics
  MASTER_SITES=	SF
  
 @@ -20,16 +16,19 @@ MAN1=		potrace.1 mkbitmap.1
  .endif
  PLIST_FILES=	bin/potrace bin/mkbitmap
  
 -OPTIONS=	METRIC	"Enable use of metric units (centimeters) as default" on \
 -		A4	"Enable use of A4 as the default papersize"           on
 +OPTIONS_DEFINE=	METRIC A4
 +OPTIONS_DEFAULT=METRIC A4
  
 -.include <bsd.port.pre.mk>
 +METRIC_DESC=	Use metric units (cm) as default
 +A4_DESC=	Use A4 as the default papersize
  
 -.if defined(WITH_A4)
 +.include <bsd.port.options.mk>
 +
 +.if ${PORT_OPTIONS:MA4}
  CONFIGURE_ARGS+=	--enable-a4
  .endif
  
 -.if defined(WITH_METRIC)
 +.if ${PORT_OPTIONS:MMETRIC}
  CONFIGURE_ARGS+=	--enable-metric
  .endif
  
 @@ -41,4 +40,4 @@ do-install:
  	${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${MAN1PREFIX}/man/man1
  .endif
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 
 Modified: head/graphics/potrace/distinfo
 ==============================================================================
 --- head/graphics/potrace/distinfo	Thu Feb 21 00:46:15 2013	(r312687)
 +++ head/graphics/potrace/distinfo	Thu Feb 21 00:47:49 2013	(r312688)
 @@ -1,2 +1,2 @@
 -SHA256 (potrace-1.9.tar.gz) = edce2dff19f91e727a4f39e1839b582b83d49ef252af429a0772ddc3626349be
 -SIZE (potrace-1.9.tar.gz) = 601675
 +SHA256 (potrace-1.11.tar.gz) = 5aa5eb496e00206d68b67edf8f6067999a45d1b69f848c18af5cbdf8e4a17ead
 +SIZE (potrace-1.11.tar.gz) = 662085
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
