aboutsummaryrefslogtreecommitdiff
path: root/math/kcalc/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-08-10 11:47:36 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-08-10 11:47:36 +0000
commit1f8475f22f8d8bb9c6054ead276e33153e3b573a (patch)
tree1e7b22352a31c0762d4f7d0726861139ea86a514 /math/kcalc/Makefile
parent9a6142d406ab92ebb826f5a0db82728b0a705d6b (diff)
downloadports-1f8475f22f8d8bb9c6054ead276e33153e3b573a.tar.gz
ports-1f8475f22f8d8bb9c6054ead276e33153e3b573a.zip
Mk/bsd.kde4.mk:
- rework KDE4_BUILDENV All ports: - remove needless post-extract target - make patches relative to ${PATCH_WRKSRC} - clean up - bump PORTREVISION when required databases/akonadi: - replace dependency on boost-python-libs with boost-libs (finally, boost-pyhton does not conflict with boost \o/) deskutils/kdepim*: - replace boost-python-libs with boost-libs - reduce dependencies - respect PREFIX - fix build with qt3 installed misc/kdeedu4: - add dependency on astro/xplanet (for KStars) misc/kdeutils4: - add dependency on devel/qca (for okteta) - make dependency on kdebase non-optional multimedia/kdemultimedia4: - add optional support for PulseAudio x11/kdebase4: - remove needless dependency on kdebase4-runtime x11/kdebase4-runtime, x11/kdebase4-workspace - remove extra CMAKE_ARGS to fix build for qt3/kde3 users x11/kdelibs4 - remove needless dependencies - remove extra CMAKE_ARGS to fix build for qt3/kde3 users
Notes
Notes: svn path=/head/; revision=239247
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 4f3ef3b2ecf0..f0b770f809a2 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>