From 9a50d9c9179fdf06e613a61a8d9021b06f18f235 Mon Sep 17 00:00:00 2001 From: olivierd Date: Tue, 28 Feb 2017 18:39:52 +0000 Subject: - Update to 1.14 - Add LICENSE and USES= cpe - Switch to options helpers PR: 217347 Submitted by: lightside Approved by: Piotr Smyrak (maintainer) MFH: 2017Q1 Security: f4eb9a25-fde0-11e6-9ad0-b8aeed92ecc4 --- graphics/potrace/Makefile | 19 +++++++------------ graphics/potrace/distinfo | 5 +++-- 2 files changed, 10 insertions(+), 14 deletions(-) (limited to 'graphics') diff --git a/graphics/potrace/Makefile b/graphics/potrace/Makefile index 1d579a3b093c..082c863e1b88 100644 --- a/graphics/potrace/Makefile +++ b/graphics/potrace/Makefile @@ -2,14 +2,17 @@ # $FreeBSD$ PORTNAME= potrace -PORTVERSION= 1.11 -PORTREVISION= 1 +PORTVERSION= 1.14 CATEGORIES= graphics MASTER_SITES= http://sourceforge.net/projects/potrace/files/${PORTVERSION}/ MAINTAINER= ps.ports@smyrak.com COMMENT= Transforms bitmaps into vector graphics +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cpe GNU_CONFIGURE= yes PLIST_FILES= bin/potrace bin/mkbitmap \ @@ -20,17 +23,9 @@ OPTIONS_DEFINE= METRIC A4 OPTIONS_DEFAULT=METRIC A4 METRIC_DESC= Use metric units (cm) as default +METRIC_CONFIGURE_ENABLE= metric A4_DESC= Use A4 as the default papersize - -.include - -.if ${PORT_OPTIONS:MA4} -CONFIGURE_ARGS+= --enable-a4 -.endif - -.if ${PORT_OPTIONS:MMETRIC} -CONFIGURE_ARGS+= --enable-metric -.endif +A4_CONFIGURE_ENABLE= a4 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/potrace ${STAGEDIR}${PREFIX}/bin diff --git a/graphics/potrace/distinfo b/graphics/potrace/distinfo index e51dfc14afcc..7b9c48ddd022 100644 --- a/graphics/potrace/distinfo +++ b/graphics/potrace/distinfo @@ -1,2 +1,3 @@ -SHA256 (potrace-1.11.tar.gz) = 5aa5eb496e00206d68b67edf8f6067999a45d1b69f848c18af5cbdf8e4a17ead -SIZE (potrace-1.11.tar.gz) = 662085 +TIMESTAMP = 1487558979 +SHA256 (potrace-1.14.tar.gz) = db72b65311cfdcb63880b317f610d84485f086e15f88ca2346012d49414cd97e +SIZE (potrace-1.14.tar.gz) = 649685 -- cgit