From 453665d66ae3a1b8fca6192805a323b5c9edc4b8 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 21 Feb 2013 00:47:49 +0000 Subject: [PATCH] - Update to 1.11 - Convert to OptionNG - Trim Header - Add license PR: 176307 Submitted by: maintainer --- graphics/potrace/Makefile | 23 +++++++++++------------ graphics/potrace/distinfo | 4 ++-- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/graphics/potrace/Makefile b/graphics/potrace/Makefile index c9b9374ff7d6..18aaf1ae4ff3 100644 --- a/graphics/potrace/Makefile +++ b/graphics/potrace/Makefile @@ -1,12 +1,8 @@ -# Ports collection makefile for: potrace -# Date created: 24 September 2003 -# Whom: Piotr Smyrak -# +# Created by: Piotr Smyrak # $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 +METRIC_DESC= Use metric units (cm) as default +A4_DESC= Use A4 as the default papersize -.if defined(WITH_A4) +.include + +.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 +.include diff --git a/graphics/potrace/distinfo b/graphics/potrace/distinfo index 4186af3ca564..e51dfc14afcc 100644 --- a/graphics/potrace/distinfo +++ b/graphics/potrace/distinfo @@ -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