aboutsummaryrefslogtreecommitdiff
path: root/graphics/potrace
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/potrace')
-rw-r--r--graphics/potrace/Makefile23
-rw-r--r--graphics/potrace/distinfo4
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 <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>
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