MFH: r435078

- Update to 1.14
- Add LICENSE and USES= cpe
- Switch to options helpers

PR:		217347
Submitted by:	lightside
Approved by:	Piotr Smyrak (maintainer)
Security:	f4eb9a25-fde0-11e6-9ad0-b8aeed92ecc4

Approved by:	ports-secteam (junovitch@)
This commit is contained in:
Olivier Duchateau 2017-03-02 05:24:24 +00:00
parent 56df92e150
commit 0cab7793dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2017Q1/; revision=435208
2 changed files with 10 additions and 14 deletions

View File

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

View File

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