summaryrefslogtreecommitdiff
path: root/graphics/libkdcraw-kde4/Makefile
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2011-10-17 00:03:42 +0000
committerAlberto Villa <avilla@FreeBSD.org>2011-10-17 00:03:42 +0000
commita2d3b5a4bc5047210b788a128596ec34749ffa11 (patch)
treec3c20b47c3435ddcaf02b8570db6aab5b70011af /graphics/libkdcraw-kde4/Makefile
parent- Add dependency on security/pam_kde. (diff)
The KDE/FreeBSD team is pleased to announce KDE Software Compilation
4.7.2. The official release notes can be found at: http://kde.org/announcements/announce-4.7.2.php This release ships with many improvements. Read more about them here: http://FreeBSD.kde.org/news.php#itemKDESC472availableinports We'd like to say thanks to all testers and contributors, especially to lwhsu@ for his effort on hosting our test packages. PR: 156293 [1] 159219 [2] 160164 [3] Submitted by: Oleg Sidorkin <osidorkin@gmail.com> [1] Alvaro Castillo <gobledb@gmail.com> [2] dkeav04@gmail.com [3] Tested by: exp-run via pav
Diffstat (limited to 'graphics/libkdcraw-kde4/Makefile')
-rw-r--r--graphics/libkdcraw-kde4/Makefile45
1 files changed, 25 insertions, 20 deletions
diff --git a/graphics/libkdcraw-kde4/Makefile b/graphics/libkdcraw-kde4/Makefile
index 49a5de7e75e6..86a9815aab02 100644
--- a/graphics/libkdcraw-kde4/Makefile
+++ b/graphics/libkdcraw-kde4/Makefile
@@ -1,31 +1,36 @@
-# New ports collection makefile for: libkdcraw
-# Date created: 22 June 2007
-# Whom: Alex Dupre <ale@FreeBSD.org>
+# New ports collection makefile for: libkdcraw-kde4
+# Date created: Sat 13 Aug 2011, 23:48:30
+# Whom: Dima Panov <fluffy@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= libkdcraw
-PORTVERSION= 0.1.9
-PORTREVISION= 4
-CATEGORIES= graphics devel
-MASTER_SITES= SF/kipi/${PORTNAME}/${PORTVERSION}
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= graphics kde
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
+DIST_SUBDIR= KDE
-MAINTAINER= ale@FreeBSD.org
-COMMENT= A C++ interface around the LibRaw library
+MAINTAINER= kde@FreeBSD.org
+COMMENT= A LibRaw interface for KDE
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
+LATEST_LINK= ${PORTNAME}-kde4
+
+CONFLICTS= kdegraphics-4.[0-6].*
+
USE_BZIP2= yes
-USE_GETTEXT= yes
-USE_KDELIBS_VER=3
-USE_GNOME= gnomehack pkgconfig
-USE_GMAKE= yes
-USE_AUTOTOOLS= libtool
-USE_LDCONFIG= yes
-INSTALLS_ICONS= yes
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g;s|-fno-schedule-insns -fno-inline||g' \
- ${WRKSRC}/${CONFIGURE_SCRIPT}
+USE_KDE4= automoc4 kdehier kdeprefix kdelibs
+KDE4_BUILDENV= yes
+USE_QT_VER= 4
+QT_COMPONENTS= dbus gui xml \
+ moc_build qmake_build rcc_build uic_build
+MAKE_JOBS_SAFE= yes
+
+pre-configure:
+ ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \
+ -e 's/${PORTNAME}.pc\([^.]\)/${PORTNAME}-kde4.pc\1/g' \
+ ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>