aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qsvn
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-19 07:50:29 +0800
committermiwi <miwi@FreeBSD.org>2008-06-19 07:50:29 +0800
commitb3015f798d3a0f3bc36212e5a6642cbad646e69c (patch)
treee27722261b76db9432523c65a044dac77729c7ef /devel/qsvn
parentd79981c8072f39d9a3ad05933b7f0586ae9317a8 (diff)
downloadfreebsd-ports-gnome-b3015f798d3a0f3bc36212e5a6642cbad646e69c.tar.gz
freebsd-ports-gnome-b3015f798d3a0f3bc36212e5a6642cbad646e69c.tar.zst
freebsd-ports-gnome-b3015f798d3a0f3bc36212e5a6642cbad646e69c.zip
- Fix build when qt3 is installed,
- Install icons - Bump PORTREVISION PR: 124387 Submitted by: Max Brazhnikov <makc@issp.ac.ru> (maintainer)
Diffstat (limited to 'devel/qsvn')
-rw-r--r--devel/qsvn/Makefile11
-rw-r--r--devel/qsvn/pkg-plist1
2 files changed, 10 insertions, 2 deletions
diff --git a/devel/qsvn/Makefile b/devel/qsvn/Makefile
index 1bebdf3a7bc8..e66ead0dcb59 100644
--- a/devel/qsvn/Makefile
+++ b/devel/qsvn/Makefile
@@ -8,7 +8,7 @@
PORTNAME= qsvn
DISTVERSION= 0.6.1
DISTVERSIONSUFFIX= -src
-PORTREVISION= 1
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://www.anrichter.net/projects/qsvn/chrome/site/
@@ -24,6 +24,13 @@ USE_CMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-DESKTOP_ENTRIES="QSvn" "SVN client" "" "qsvn" "" false
+DESKTOP_ENTRIES="QSvn" "SVN client" "qsvn.png" "qsvn" "" false
+
+# Fix build when qt3 is installed
+post-patch:
+ ${REINPLACE_CMD} -e 's:<\(q.*h\):<Qt/\1:' ${WRKSRC}/svnqt/*pp
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/images/qsvn.png ${PREFIX}/share/pixmaps/
.include <bsd.port.mk>
diff --git a/devel/qsvn/pkg-plist b/devel/qsvn/pkg-plist
index 0dc3a1807f37..e4c57f1316a9 100644
--- a/devel/qsvn/pkg-plist
+++ b/devel/qsvn/pkg-plist
@@ -32,4 +32,5 @@ include/svnqt-qt4/wc.hpp
lib/libsvnqt-qt4.so
lib/libsvnqt-qt4.so.4
lib/libsvnqt-qt4.so.4.1.0
+share/pixmaps/qsvn.png
@dirrm include/svnqt-qt4