summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libpotrace/Makefile32
-rw-r--r--graphics/libpotrace/distinfo2
-rw-r--r--graphics/libpotrace/files/patch-Makefile.in11
-rw-r--r--graphics/libpotrace/files/patch-src-Makefile.in11
-rw-r--r--graphics/libpotrace/pkg-descr4
6 files changed, 61 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index f3c0d3a70011..07539c888b32 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -513,6 +513,7 @@
SUBDIR += libpano13
SUBDIR += libpcd
SUBDIR += libpgf
+ SUBDIR += libpotrace
SUBDIR += libprojectm
SUBDIR += libpuzzle
SUBDIR += libqrencode
diff --git a/graphics/libpotrace/Makefile b/graphics/libpotrace/Makefile
new file mode 100644
index 000000000000..f0d4b532b988
--- /dev/null
+++ b/graphics/libpotrace/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= libpotrace
+PORTVERSION= 1.11
+CATEGORIES= graphics
+MASTER_SITES= SF
+DISTNAME= potrace-${PORTVERSION}
+
+MAINTAINER= hrs@FreeBSD.org
+COMMENT= Library for transforming bitmaps into vector graphics
+
+LICENSE= GPLv2
+
+USES= libtool
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-libpotrace
+INSTALL_TARGET= install-strip
+PLIST_FILES= include/potracelib.h \
+ lib/libpotrace.a \
+ lib/libpotrace.so \
+ lib/libpotrace.so.0 \
+ lib/libpotrace.so.0.0.1
+
+OPTIONS_DEFINE= METRIC A4
+OPTIONS_DEFAULT=METRIC A4
+A4_DESC= Use A4 as the default papersize
+A4_CONFIGURE_ENABLE= a4
+METRIC_DESC= Use metric units (cm) as default
+METRIC_CONFIGURE_ENABLE= metric
+
+.include <bsd.port.mk>
diff --git a/graphics/libpotrace/distinfo b/graphics/libpotrace/distinfo
new file mode 100644
index 000000000000..e51dfc14afcc
--- /dev/null
+++ b/graphics/libpotrace/distinfo
@@ -0,0 +1,2 @@
+SHA256 (potrace-1.11.tar.gz) = 5aa5eb496e00206d68b67edf8f6067999a45d1b69f848c18af5cbdf8e4a17ead
+SIZE (potrace-1.11.tar.gz) = 662085
diff --git a/graphics/libpotrace/files/patch-Makefile.in b/graphics/libpotrace/files/patch-Makefile.in
new file mode 100644
index 000000000000..d51cf46bc905
--- /dev/null
+++ b/graphics/libpotrace/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2013-02-20 00:49:08 UTC
++++ Makefile.in
+@@ -259,7 +259,7 @@ top_srcdir = @top_srcdir@
+ # unsure why automake/autoconf does not automatically distribute libtool
+ EXTRA_DIST = README-WIN libtool
+ ACLOCAL_AMFLAGS = -I m4
+-SUBDIRS = src doc check
++SUBDIRS = src
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
diff --git a/graphics/libpotrace/files/patch-src-Makefile.in b/graphics/libpotrace/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..a86f3addc2ac
--- /dev/null
+++ b/graphics/libpotrace/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2013-02-20 00:49:08 UTC
++++ src/Makefile.in
+@@ -664,7 +664,7 @@ install-dvi: install-dvi-am
+
+ install-dvi-am:
+
+-install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
++install-exec-am: install-libLTLIBRARIES
+
+ install-html: install-html-am
+
diff --git a/graphics/libpotrace/pkg-descr b/graphics/libpotrace/pkg-descr
new file mode 100644
index 000000000000..1eb4d5062be0
--- /dev/null
+++ b/graphics/libpotrace/pkg-descr
@@ -0,0 +1,4 @@
+libpotrace is a libraru for Peter Selinger's GPLed utility
+for tracing bitmaps, converting them into smooth, scalable images.
+
+WWW: http://potrace.sourceforge.net