aboutsummaryrefslogtreecommitdiff
path: root/graphics/potracegui
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2004-12-22 17:46:02 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2004-12-22 17:46:02 +0000
commit06697563defdec1ad2a8995b2f6f20a7b2d1a916 (patch)
tree449db56cf267a7200afb8af79bd87c7078ece85f /graphics/potracegui
parent8ecfad9e5977ab8508b06cb2f6e17782ef1b73d0 (diff)
downloadports-06697563defdec1ad2a8995b2f6f20a7b2d1a916.tar.gz
ports-06697563defdec1ad2a8995b2f6f20a7b2d1a916.zip
Notes
Diffstat (limited to 'graphics/potracegui')
-rw-r--r--graphics/potracegui/Makefile10
-rw-r--r--graphics/potracegui/distinfo4
-rw-r--r--graphics/potracegui/files/patch-mainwidget.cpp11
3 files changed, 19 insertions, 6 deletions
diff --git a/graphics/potracegui/Makefile b/graphics/potracegui/Makefile
index cb4cd57b5207..46ed0d4d2f10 100644
--- a/graphics/potracegui/Makefile
+++ b/graphics/potracegui/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= potracegui
-PORTVERSION= 1.1
-PORTREVISION= 1
+PORTVERSION= 1.2
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,9 +14,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= markus@FreeBSD.org
COMMENT= GUI for potrace, a program for tracing bitmap images
-EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
+RUN_DEPENDS= potrace:${PORTSDIR}/graphics/potrace
-RUN_DEPENDS= potrace:${PORTSDIR}/graphics/potrace
+EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-configure
USE_BZIP2= yes
USE_KDELIBS_VER=3
@@ -25,6 +24,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+post-extract:
+ @${TOUCH} ${WRKSRC}/config.h.in
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
diff --git a/graphics/potracegui/distinfo b/graphics/potracegui/distinfo
index 668d9da2f3e9..50d132a529bb 100644
--- a/graphics/potracegui/distinfo
+++ b/graphics/potracegui/distinfo
@@ -1,2 +1,2 @@
-MD5 (potracegui-1.1.tar.bz2) = 45097e02397a64271ec3bb0e1625a3a9
-SIZE (potracegui-1.1.tar.bz2) = 517143
+MD5 (potracegui-1.2.tar.bz2) = 5d4db03321e4abd6337e7f38389685a3
+SIZE (potracegui-1.2.tar.bz2) = 583116
diff --git a/graphics/potracegui/files/patch-mainwidget.cpp b/graphics/potracegui/files/patch-mainwidget.cpp
new file mode 100644
index 000000000000..2e0872c5510c
--- /dev/null
+++ b/graphics/potracegui/files/patch-mainwidget.cpp
@@ -0,0 +1,11 @@
+--- src/mainwidget.cpp.orig Wed Dec 22 18:36:50 2004
++++ src/mainwidget.cpp Wed Dec 22 18:38:09 2004
+@@ -44,6 +44,8 @@
+ #include <kpushbutton.h>
+ #include <kmessagebox.h>
+
++#include <unistd.h>
++
+ #include <fstream>
+ using namespace std;
+