1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Update to 1.11

- Convert to OptionNG
- Trim Header
- Add license

PR:		176307
Submitted by:	maintainer
This commit is contained in:
Martin Wilke 2013-02-21 00:47:49 +00:00
parent e8cb96ccd9
commit 453665d66a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312688
2 changed files with 13 additions and 14 deletions

View File

@ -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>

View File

@ -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