aboutsummaryrefslogtreecommitdiff
path: root/graphics/potracegui/Makefile
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/Makefile
parent8ecfad9e5977ab8508b06cb2f6e17782ef1b73d0 (diff)
downloadports-06697563defdec1ad2a8995b2f6f20a7b2d1a916.tar.gz
ports-06697563defdec1ad2a8995b2f6f20a7b2d1a916.zip
Notes
Diffstat (limited to 'graphics/potracegui/Makefile')
-rw-r--r--graphics/potracegui/Makefile10
1 files changed, 6 insertions, 4 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}