Bug 176307 - [patch] update graphics/portace to 1.11
Summary: [patch] update graphics/portace to 1.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 22:50 UTC by Piotr Smyrak
Modified: 2013-02-21 00:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.87 KB, patch)
2013-02-20 22:50 UTC, Piotr Smyrak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Smyrak 2013-02-20 22:50:00 UTC
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.

Fix: Patch attached with submission follows:
How-To-Repeat: N/A
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-02-21 00:47:48 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-21 00:48:00 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"