blob: 1184938aef82e01230e38de881a3be831eb661b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Piotr Smyrak <smyru@heron.pl>
# $FreeBSD$
PORTNAME= potrace
PORTVERSION= 1.11
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ps.ports@smyrak.com
COMMENT= Transforms bitmaps into vector graphics
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
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
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>
|