aboutsummaryrefslogtreecommitdiff
path: root/graphics/kdegraphics4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kdegraphics4')
-rw-r--r--graphics/kdegraphics4/Makefile41
-rw-r--r--graphics/kdegraphics4/distinfo2
-rw-r--r--graphics/kdegraphics4/files/patch-font.cpp10
-rw-r--r--graphics/kdegraphics4/pkg-plist6
4 files changed, 15 insertions, 44 deletions
diff --git a/graphics/kdegraphics4/Makefile b/graphics/kdegraphics4/Makefile
index 7e907f21dd23..a849320ab964 100644
--- a/graphics/kdegraphics4/Makefile
+++ b/graphics/kdegraphics4/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= kdegraphics
-PORTVERSION= 2.2.2
-PORTREVISION= 2
+PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -15,25 +15,22 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
- automake14:${PORTSDIR}/devel/automake14
-RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
-
-USE_KDELIBS_VER=2
+USE_KDELIBS_VER=3
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ARGS+=--without-kamera
-
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500029
-_NO_KDE_OBJPRELINK=yes
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
.endif
-.include "${.CURDIR}/../../x11/kde2/Makefile.kde"
+.include <bsd.port.pre.mk>
# temporarily disable kamera, it requires gphoto2
PLIST_SUB+= KAMERA="@comment "
@@ -56,20 +53,4 @@ pre-everything::
@${ECHO_MSG}
.endif
-pre-configure:
- ${MKDIR} ${WRKSRC}/auto-bin
-.for AC in autoconf autoheader
- ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
-.endfor
-.for AM in automake aclocal
- ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
-.endfor
- cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
- ${GMAKE} -f Makefile.cvs
- ${PERL} -pi -e "s@libkscan_la_LIBADD =@libkscan_la_LIBADD= -lintl@g" ${WRKSRC}/libkscan/Makefile.in
- ${PERL} -pi -e "s@libkcm_kamera_la_LIBADD =@libkcm_kamera_la_LIBADD= -lintl@g" ${WKRSRC}/kamera/kcontrol/Makefile.in
- ${PERL} -pi -e "s@name = item@name=(char*)item@g" ${WRKSRC}/kamera/kcontrol/kamera.cpp
- find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
- "s@GPHOTO2_LIBS =@GPHOTO2_LIBS= -lintl@g"
-
.include <bsd.port.post.mk>
diff --git a/graphics/kdegraphics4/distinfo b/graphics/kdegraphics4/distinfo
index 2369e2cdb937..a2d9ff6259d8 100644
--- a/graphics/kdegraphics4/distinfo
+++ b/graphics/kdegraphics4/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdegraphics-2.2.2.tar.bz2) = b9341505c6b9de8f018dd9d1896356e9
+MD5 (KDE/kdegraphics-3.0.tar.bz2) = e90e7df47c51c10355b4f034f5e74788
diff --git a/graphics/kdegraphics4/files/patch-font.cpp b/graphics/kdegraphics4/files/patch-font.cpp
deleted file mode 100644
index 6c124a48a8b5..000000000000
--- a/graphics/kdegraphics4/files/patch-font.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- kdvi/font.cpp Fri Nov 9 21:20:17 2001
-+++ kdvi/font.cpp.new Mon Dec 10 22:48:01 2001
-@@ -3,7 +3,6 @@
-
- #include <kdebug.h>
- #include <klocale.h>
--#include <malloc.h>
- #include <qapplication.h>
- #include <qfile.h>
- #include <stdio.h>
diff --git a/graphics/kdegraphics4/pkg-plist b/graphics/kdegraphics4/pkg-plist
index 13fa5a861549..9e4307a74b95 100644
--- a/graphics/kdegraphics4/pkg-plist
+++ b/graphics/kdegraphics4/pkg-plist
@@ -5,7 +5,7 @@ bin/kfax
bin/kfract
bin/kghostview
bin/kiconedit
-%%SANE%%bin/kooka
+bin/kooka
bin/kpaint
bin/kruler
bin/ksnapshot
@@ -239,8 +239,8 @@ share/icons/locolor/32x32/apps/kcoloredit.png
@dirrm share/apps/kruler
@dirrm share/apps/kpaint/toolbar
@dirrm share/apps/kpaint
-%%SANE%%@dirrm share/apps/kooka/pics
-%%SANE%%@dirrm share/apps/kooka
+@dirrm share/apps/kooka/pics
+@dirrm share/apps/kooka
@dirrm share/apps/kiconedit/toolbar
@dirrm share/apps/kiconedit/pics
@dirrm share/apps/kiconedit