aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2017-03-01 02:39:52 +0800
committerolivierd <olivierd@FreeBSD.org>2017-03-01 02:39:52 +0800
commit9a50d9c9179fdf06e613a61a8d9021b06f18f235 (patch)
tree85ccdb296cb294b00c8db1a78ff6cde68c9e7e24 /graphics
parent571d909c2a2296aa8a3a6fec76e0dd5d0b21adf5 (diff)
downloadfreebsd-ports-gnome-9a50d9c9179fdf06e613a61a8d9021b06f18f235.tar.gz
freebsd-ports-gnome-9a50d9c9179fdf06e613a61a8d9021b06f18f235.tar.zst
freebsd-ports-gnome-9a50d9c9179fdf06e613a61a8d9021b06f18f235.zip
- 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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/potrace/Makefile19
-rw-r--r--graphics/potrace/distinfo5
2 files changed, 10 insertions, 14 deletions
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 <bsd.port.options.mk>
-
-.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