ports/176307: [patch] update graphics/portace to 1.11
Piotr Smyrak
smyru at heron.pl
Wed Feb 20 22:50:01 UTC 2013
>Number: 176307
>Category: ports
>Synopsis: [patch] update graphics/portace to 1.11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 20 22:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list