svn commit: r312688 - head/graphics/potrace
Martin Wilke
miwi at FreeBSD.org
Thu Feb 21 00:47:50 UTC 2013
Author: miwi
Date: Thu Feb 21 00:47:49 2013
New Revision: 312688
URL: http://svnweb.freebsd.org/changeset/ports/312688
Log:
- Update to 1.11
- Convert to OptionNG
- Trim Header
- Add license
PR: 176307
Submitted by: maintainer
Modified:
head/graphics/potrace/Makefile (contents, props changed)
head/graphics/potrace/distinfo (contents, props changed)
Modified: head/graphics/potrace/Makefile
==============================================================================
--- head/graphics/potrace/Makefile Thu Feb 21 00:46:15 2013 (r312687)
+++ head/graphics/potrace/Makefile Thu Feb 21 00:47:49 2013 (r312688)
@@ -1,12 +1,8 @@
-# Ports collection makefile for: potrace
-# Date created: 24 September 2003
-# Whom: Piotr Smyrak <smyru at heron.pl>
-#
+# Created by: Piotr Smyrak <smyru at 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>
Modified: head/graphics/potrace/distinfo
==============================================================================
--- head/graphics/potrace/distinfo Thu Feb 21 00:46:15 2013 (r312687)
+++ head/graphics/potrace/distinfo Thu Feb 21 00:47:49 2013 (r312688)
@@ -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
More information about the svn-ports-head
mailing list