mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
a2d3b5a4bc
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
93 lines
2.4 KiB
Makefile
93 lines
2.4 KiB
Makefile
# New ports collection Makefile for: kdeutils
|
|
# Date created: 2008-01-31
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kdeutils
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= misc kde
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Collection of utilities for KDE 4
|
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
|
|
qimageblitz.4:${PORTSDIR}/x11/qimageblitz
|
|
|
|
RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
|
|
|
|
LATEST_LINK= ${PORTNAME}4
|
|
|
|
KDE4_BUILDENV= yes
|
|
USE_KDE4= kdeprefix kdehier automoc4 sharedmime \
|
|
kdelibs pimlibs workspace baseapps
|
|
USE_PYTHON= 2.5+
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= dbus gui network script xml xmlpatterns \
|
|
qmake_build moc_build rcc_build uic_build
|
|
USE_XORG= x11 xrender xtst
|
|
USE_BZIP2= yes
|
|
CMAKE_ARGS+= -DBUILD_filelight:BOOL=FALSE \
|
|
-DBUILD_printer-applet:BOOL=FALSE
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
MAN1= ark.1
|
|
|
|
OPTIONS= FILELIGHT "Install Filelight file system viewer" on \
|
|
LIRC "Support for IR remote controls" off \
|
|
PRINTER_APPLET "Install printer system tray utility" off \
|
|
7ZIP "Support for 7-Zip archives in Ark" off \
|
|
RAR "Support for RAR archives in Ark" off \
|
|
ZIP "Support for ZIP archives in Ark" off
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.ifndef(WITHOUT_FILELIGHT)
|
|
RUN_DEPENDS+= ${KDE4_PREFIX}/bin/filelight:${PORTSDIR}/sysutils/filelight-kde4
|
|
.endif
|
|
|
|
.ifdef(WITH_LIRC)
|
|
RUN_DEPENDS+= lircd:${PORTSDIR}/comms/lirc
|
|
.endif
|
|
|
|
.ifdef(WITH_PRINTER_APPLET)
|
|
RUN_DEPENDS+= ${KDE4_PREFIX}/bin/printer-applet:${PORTSDIR}/print/kdeutils4-printer-applet
|
|
.endif
|
|
|
|
.ifdef(WITH_7ZIP)
|
|
RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip
|
|
.endif
|
|
|
|
.ifdef(WITH_ZIP)
|
|
RUN_DEPENDS+= unzip>0:${PORTSDIR}/archivers/unzip \
|
|
zip:${PORTSDIR}/archivers/zip
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
|
LIB_DEPENDS+= archive.10:${PORTSDIR}/archivers/libarchive
|
|
.endif
|
|
|
|
.ifdef(WITH_RAR)
|
|
RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
|
|
.if ${ARCH} != "amd64" && ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64"
|
|
INSTALL_RAR= YES
|
|
.elif ${ARCH} == "amd64"
|
|
.ifndef(HAVE_COMPAT_IA32_KERN)
|
|
HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then ${ECHO_CMD} YES; fi
|
|
.endif
|
|
.if ${HAVE_COMPAT_IA32_KERN} == "YES"
|
|
INSTALL_RAR= YES
|
|
.endif
|
|
.endif
|
|
.ifdef(INSTALL_RAR)
|
|
RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|