aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2004-06-22 09:57:36 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2004-06-22 09:57:36 +0000
commit4d6f322684a06b9ce7c51b9c70dafb46a1c1f857 (patch)
tree7a29d73a13c1459479da7e5ebcfc1528451e4480 /graphics
parentdc9ea0fae46b9f36ad269f7f71a57773d7ffe279 (diff)
downloadports-4d6f322684a06b9ce7c51b9c70dafb46a1c1f857.tar.gz
ports-4d6f322684a06b9ce7c51b9c70dafb46a1c1f857.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/potracegui/Makefile31
-rw-r--r--graphics/potracegui/distinfo2
-rw-r--r--graphics/potracegui/files/patch-mainwidget.cpp10
-rw-r--r--graphics/potracegui/pkg-descr4
-rw-r--r--graphics/potracegui/pkg-plist21
6 files changed, 69 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 42c75606b157..7bee80e96956 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -331,6 +331,7 @@
SUBDIR += pngwriter
SUBDIR += pornview
SUBDIR += potrace
+ SUBDIR += potracegui
SUBDIR += povray
SUBDIR += povray31
SUBDIR += ppmcaption
diff --git a/graphics/potracegui/Makefile b/graphics/potracegui/Makefile
new file mode 100644
index 000000000000..556670a4c53f
--- /dev/null
+++ b/graphics/potracegui/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: potracegui
+# Date created: Tue Jun 22 10:03:28 CEST 2004
+# Whom: Markus Brueffer <markus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= potracegui
+PORTVERSION= 1.0
+CATEGORIES= graphics kde
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= markus@FreeBSD.org
+COMMENT= GUI for potrace, a program for tracing bitmap images
+
+RUN_DEPENDS= potrace:${PORTSDIR}/graphics/potrace
+
+USE_BZIP2= yes
+USE_KDELIBS_VER=3
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+post-extract:
+ @${RM} ${WRKSRC}/src/*.o
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
+.include <bsd.port.mk>
diff --git a/graphics/potracegui/distinfo b/graphics/potracegui/distinfo
new file mode 100644
index 000000000000..b6f1143a42f6
--- /dev/null
+++ b/graphics/potracegui/distinfo
@@ -0,0 +1,2 @@
+MD5 (potracegui-1.0.tar.bz2) = 6b7b02b199526f725c9a2b41133ce8f9
+SIZE (potracegui-1.0.tar.bz2) = 620090
diff --git a/graphics/potracegui/files/patch-mainwidget.cpp b/graphics/potracegui/files/patch-mainwidget.cpp
new file mode 100644
index 000000000000..fd91a417f8d2
--- /dev/null
+++ b/graphics/potracegui/files/patch-mainwidget.cpp
@@ -0,0 +1,10 @@
+--- src/mainwidget.cpp.orig Tue Jun 22 11:30:43 2004
++++ src/mainwidget.cpp Tue Jun 22 11:31:10 2004
+@@ -52,6 +52,7 @@
+ #include <fstream>
+ #include <vector>
+ #include <utility>
++#include <unistd.h>
+ using namespace std;
+
+ MainWidget::MainWidget(QWidget* parent, const char* name, WFlags fl)
diff --git a/graphics/potracegui/pkg-descr b/graphics/potracegui/pkg-descr
new file mode 100644
index 000000000000..4de556b04d71
--- /dev/null
+++ b/graphics/potracegui/pkg-descr
@@ -0,0 +1,4 @@
+Potracegui is a GUI interface for potrace, a great program for tracing
+bitmapped images.
+
+WWW: http://potracegui.sourceforge.net/
diff --git a/graphics/potracegui/pkg-plist b/graphics/potracegui/pkg-plist
new file mode 100644
index 000000000000..44eebdc9baa7
--- /dev/null
+++ b/graphics/potracegui/pkg-plist
@@ -0,0 +1,21 @@
+bin/potracegui
+share/applnk/Utilities/potracegui.desktop
+share/apps/potracegui/potraceguiui.rc
+share/doc/HTML/en/potracegui/common
+share/doc/HTML/en/potracegui/index.cache.bz2
+share/doc/HTML/en/potracegui/index.docbook
+share/icons/hicolor/16x16/apps/potracegui.png
+share/icons/hicolor/32x32/apps/potracegui.png
+@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
+@unexec rmdir %D/share/icons 2>/dev/null || true
+@dirrm share/doc/HTML/en/potracegui
+@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
+@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
+@dirrm share/apps/potracegui
+@unexec rmdir %D/share/apps 2>/dev/null || true
+@unexec rmdir %D/share/applnk/Utilities 2>/dev/null || true
+@unexec rmdir %D/share/applnk 2>/dev/null || true