Import potrace 1.7

potrace is a utility for tracing a bitmap, which means, transforming a
bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM,
PPM, or BMP format), and the default output is an encapsulated
PostScript file (EPS). A typical use is to create EPS files from scanned
data, such as company or university logos, handwritten notes, etc. The
resulting image is not "jaggy" like a bitmap, but smooth. It can then be
rendered at any resolution. 

From Matt Jibson <dolmant@gmail.com>
This commit is contained in:
alek 2005-11-03 13:11:52 +00:00
parent 8999f33b0c
commit 540a82dba1
4 changed files with 47 additions and 0 deletions

26
graphics/potrace/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/11/03 13:11:52 alek Exp $
COMMENT= "transforming bitmaps into vector graphics"
DISTNAME= potrace-1.7
CATEGORIES= graphics
HOMEPAGE= http://potrace.sourceforge.net
MAINTAINER= Matt Jibson <dolmant@gmail.com>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=potrace/}
WANTLIB= c m z
CONFIGURE_STYLE= gnu
REGRESS_DEPENDS= :ghostscript-*:print/ghostscript/gnu
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (potrace-1.7.tar.gz) = 8bfaabf935c03643a6875bde36fe6302
RMD160 (potrace-1.7.tar.gz) = 3a817e86f6c1836a6b833af6583b2228d54bbec2
SHA1 (potrace-1.7.tar.gz) = 281d041c97c48a8f469b9951c8d778774128dbf5
SIZE (potrace-1.7.tar.gz) = 414480

View File

@ -0,0 +1,12 @@
potrace is a utility for tracing a bitmap, which means, transforming a
bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM,
PPM, or BMP format), and the default output is an encapsulated
PostScript file (EPS). A typical use is to create EPS files from scanned
data, such as company or university logos, handwritten notes, etc. The
resulting image is not "jaggy" like a bitmap, but smooth. It can then be
rendered at any resolution.
potrace can currently produce the following output formats: EPS,
PostScript, PDF, SVG (scalable vector graphics), Xfig, Gimppath, and PGM
(for easy antialiasing). Additional backends might be added in the
future.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/11/03 13:11:52 alek Exp $
bin/mkbitmap
bin/potrace
@man man/man1/mkbitmap.1
@man man/man1/potrace.1