aboutsummaryrefslogtreecommitdiffstats
path: root/math/kcalc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/kcalc/Makefile')
-rw-r--r--math/kcalc/Makefile22
1 files changed, 6 insertions, 16 deletions
diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile
index 4f3ef3b2ecf..f0b770f809a 100644
--- a/math/kcalc/Makefile
+++ b/math/kcalc/Makefile
@@ -6,6 +6,7 @@
PORTNAME= kdeutils
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -17,7 +18,8 @@ COMMENT= Utilities for the KDE4 integrated X11 Desktop
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 \
zip.1:${PORTSDIR}/archivers/libzip \
lzma.0:${PORTSDIR}/archivers/lzmautils-devel \
- qimageblitz.4:${PORTSDIR}/x11/qimageblitz
+ qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
+ qca.2:${PORTSDIR}/devel/qca
RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
LATEST_LINK= ${PORTNAME}4
@@ -26,36 +28,24 @@ USE_BZIP2= yes
USE_QT_VER= 4
USE_PYTHON= 2.5+
KDE4_BUILDENV= yes
-USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4 kdeexp
+USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4 kdeexp kdebase
QT_COMPONENTS= network gui porting xml \
qmake_build moc_build rcc_build uic_build
MAKE_JOBS_SAFE= yes
MAN1= ark.1
-OPTIONS= PRINTER_APPLET "Install printer system tray utility" off \
- KONQUI "Konqueror UI integration" off
+OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
.include <bsd.port.pre.mk>
-.if defined(WITH_KONQUI)
-USE_KDE4+= kdebase
-PLIST_SUB+= KONQUI=""
-.else
-PLIST_SUB+= KONQUI="@comment "
-
-.endif
-
.if defined(WITH_PRINTER_APPLET)
RUN_DEPENDS+= ${KDE4_PREFIX}/bin/printer-applet:${PORTSDIR}/print/kdeutils4-printer-applet
.endif
-post-extract:
- ${MKDIR} ${WRKSRC}
-
post-patch:
#disable printer-applet, it comes with print/kdeutils4-printer-applet
${REINPLACE_CMD} -e '/add_subdirectory.*printer-applet/d' \
- ${WRKSRC}/../CMakeLists.txt
+ ${PATCH_WRKSRC}/CMakeLists.txt
.include <bsd.port.post.mk>