View | Details | Raw Unified | Return to bug 63862
Collapse All | Expand All

(-)potrace/Makefile (-29 / +8 lines)
Lines 6-58 Link Here
6
#
6
#
7
7
8
PORTNAME=	potrace
8
PORTNAME=	potrace
9
PORTVERSION=	1.3
9
PORTVERSION=	1.4
10
PORTREVISION=	2
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	http://potrace.sourceforge.net/download/
11
MASTER_SITES=	http://potrace.sourceforge.net/download/
13
12
14
PATCH_SITES=	${MASTER_SITES}
15
PATCHFILES=	${PORTNAME}-${PORTVERSION}-speed.patch
16
PATCH_DIST_STRIP=	-p1
17
18
MAINTAINER=	smyru@heron.pl
13
MAINTAINER=	smyru@heron.pl
19
COMMENT=	Transforms bitmaps into vector graphics
14
COMMENT=	Transforms bitmaps into vector graphics
20
15
21
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
22
17
23
MAN1=		potrace.1 mkbitmap.1
18
MAN1=		potrace.1 mkbitmap.1
19
PLIST_FILES=	bin/potrace bin/mkbitmap
24
20
25
.if defined(A4)
21
.if defined(A4)
26
CONFIGURE_ARGS+=	--enable-a4
22
CONFIGURE_ARGS+=	--enable-a4
27
.endif
23
.endif
28
24
29
.if defined(WITH_LZW) || defined(HAVE_UNISYS_LICENSE) || defined(WITH_GIF_LZW_COMPRESSION)
30
CONFIGURE_ARGS+=	--enable-compress
31
.else
32
CONFIGURE_ARGS+=	--disable-compress
33
.endif
34
35
.if defined(WITH_METRIC)
25
.if defined(WITH_METRIC)
36
CONFIGURE_ARGS+=	--enable-metric
26
CONFIGURE_ARGS+=	--enable-metric
37
.endif
27
.endif
38
28
39
PORTDOCS=	potrace.ps potrace.pdf
40
41
pre-everything::
29
pre-everything::
42
	@${ECHO} ""
30
	@${ECHO_MSG} ""
43
	@${ECHO} "You may define the following build options:"
31
	@${ECHO_MSG} "You may define the following build options:"
44
	@${ECHO} ""
32
	@${ECHO_MSG} ""
45
	@${ECHO} "    WITH_LZW         Enable patented external LZW compression"
33
	@${ECHO_MSG} "    WITH_METRIC      Enable use of metric units (centimeters) as default"
46
	@${ECHO} "    WITH_METRIC      Enable use of metric units (centimeters) as default"
34
	@${ECHO_MSG} "    A4               Enable use of A4 as the default papersize"
47
	@${ECHO} "    A4               Enable use of A4 as the default papersize"
35
	@${ECHO_MSG} ""
48
	@${ECHO} ""
49
50
post-install:
51
.if !defined(NOPORTDOCS)
52
	@${MKDIR} ${DOCSDIR}
53
.for doc in ${PORTDOCS}
54
	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
55
.endfor
56
.endif
57
36
58
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)potrace/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (potrace-1.3.tar.gz) = 726f1e063d3a131504aaf80e653ee053
1
MD5 (potrace-1.4.tar.gz) = f24018c4a7d65bf88fb55bbda543204d
2
MD5 (potrace-1.3-speed.patch) = 119b6cb8980996e4fba793e1f2326174
2
SIZE (potrace-1.4.tar.gz) = 222112
(-)potrace/pkg-descr (-3 / +3 lines)
Lines 4-13 Link Here
4
It accepts as input a bitmap B/W images (PBM, PGM, PPM 
4
It accepts as input a bitmap B/W images (PBM, PGM, PPM 
5
and BMP formats), and returns encapsulated PostScript 
5
and BMP formats), and returns encapsulated PostScript 
6
(EPS) as the default output. Other output format are 
6
(EPS) as the default output. Other output format are 
7
available: PS, SVG and also PGM.
7
available: PS, SVG, Xfig, PGM and experimental GimpPath.
8
8
9
You can create scalable image formats from scans, such 
9
You can create scalable images from scans, such as 
10
as logos, hand taken notes, etc. The resulting smooth 
10
logos, hand taken notes, etc. The resulting smooth 
11
images can then be rendered at any resolution. 
11
images can then be rendered at any resolution. 
12
12
13
WWW: http://potrace.sourceforge.net
13
WWW: http://potrace.sourceforge.net
(-)potrace/pkg-plist (-2 lines)
Lines 1-2 Link Here
1
bin/mkbitmap
2
bin/potrace

Return to bug 63862