mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
08eca3dd90
- 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
37 lines
962 B
Makefile
37 lines
962 B
Makefile
# Created by: Piotr Smyrak <smyru@heron.pl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= potrace
|
|
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 \
|
|
man/man1/potrace.1.gz \
|
|
man/man1/mkbitmap.1.gz
|
|
|
|
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
|
|
A4_CONFIGURE_ENABLE= a4
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/potrace ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/mkbitmap ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/potrace.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|