pkgsrc/x11/kdelibs3/Makefile

148 lines
3.9 KiB
Makefile
Raw Normal View History

2003-07-13 15:50:19 +02:00
# $NetBSD: Makefile,v 1.32 2003/07/13 13:54:25 wiz Exp $
2002-05-31 15:16:30 +02:00
DISTNAME= kdelibs-3.1.2
2003-07-13 15:50:19 +02:00
PKGREVISION= 1
2002-05-31 15:16:30 +02:00
CATEGORIES= x11
COMMENT= Support libraries for the KDE integrated X11 desktop
.include "../../x11/kde3/Makefile.kde3"
CONFLICTS+= koffice3<=1.1.1
2002-10-01 15:29:21 +02:00
USE_BUILDLINK2= YES
USE_GCC_SHLIB= YES
2002-05-31 15:16:30 +02:00
USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096}
2002-10-01 15:29:21 +02:00
CONFIGURE_ARGS+= --with-ssl-dir="${BUILDLINK_PREFIX.openssl}"
2002-05-31 15:16:30 +02:00
2002-05-31 15:16:30 +02:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
LIBS+= ${EXPORT_SYMBOLS_LDFLAGS}
2002-05-31 15:16:30 +02:00
.endif
KDEDIR= ${PREFIX}
REPLACE_PERL= \
kio/proxytype.pl \
kio/useragent.pl \
kdeui/preparetips
2002-05-31 15:16:30 +02:00
PLIST_SRC= ${WRKDIR}/PLIST
UNLIMIT_RESOURCES= datasize memorysize
2002-05-31 15:16:30 +02:00
FOO_MAIN_FILES= \
arts/knotify/knotify_main.cpp \
dcop/dcopserver_main.cpp \
kconf_update/kconf_update_main.cpp \
kded/kbuildsycoca_main.cpp \
kded/kded_main.cpp \
kdeprint/management/kaddprinterwizard_main.cpp \
kio/misc/kio_uiserver_main.cpp \
kioslave/http/http_cache_cleaner_main.cpp \
kioslave/http/kcookiejar/kcookiejar_main.cpp
.include "../../x11/kde3/Makefile.foo_main"
FIXUP_FILES= \
kspell/ksconfig.cpp \
kio/kssl/kopenssl.cc
pre-configure:
@for i in ${FIXUP_FILES}; do \
${SED} -e 's:@LOCALBASE@:${LOCALBASE}:g' \
${WRKSRC}/$${i} > ${WRKSRC}/$${i}.fixup && \
${MV} ${WRKSRC}/$${i}.fixup ${WRKSRC}/$${i}; \
done
2002-05-31 15:16:30 +02:00
.if defined(USE_CUPS) && (${USE_CUPS} == "YES")
2002-10-01 15:29:21 +02:00
.include "../../print/cups/buildlink2.mk"
2002-05-31 15:16:30 +02:00
BUILD_DEFS+= USE_CUPS
PLIST_SUBST+= CUPS=
.else
PLIST_SUBST+= CUPS="@comment "
.endif
.if ${OPSYS} == "NetBSD"
. if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*}
PLIST_SUBST+= KDED_WORKAROUND="@comment "
. else
PLIST_SUBST+= KDED_WORKAROUND=""
. endif
.else
PLIST_SUBST+= KDED_WORKAROUND=""
2002-05-31 15:16:30 +02:00
.endif
# We will create the complete icon directory tree for use by other KDE3
# packages at post-install time.
#
ICONCOLORS= hicolor locolor
ICONSIZES= 16x16 22x22 32x32 48x48 64x64
ICONDIRS= actions/kde actions apps devices filesystems mimetypes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/kde/locale
.if ${OPSYS} == "NetBSD"
. if ${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*}
@${RM} ${PREFIX}/lib/kded.*
. endif
.endif
@( ${CAT} ${PKGDIR}/PLIST; \
for color in ${ICONCOLORS}; do \
colordir=share/kde/icons/$${color}; \
for size in ${ICONSIZES}; do \
sizedir=$${colordir}/$${size}; \
for dir in ${ICONDIRS}; do \
icondir=$${sizedir}/$${dir}; \
${INSTALL_DATA_DIR} ${PREFIX}/$${icondir}; \
${ECHO} "@exec ${MKDIR} %D/$${icondir}"; \
${ECHO} "@dirrm $${icondir}"; \
done; \
${ECHO} "@dirrm $${sizedir}"; \
done; \
${ECHO} "@dirrm $${colordir}"; \
done; \
${ECHO} "@dirrm share/kde/icons"; \
${ECHO} "@dirrm share/kde"; \
) > ${PLIST_SRC}
.if ${MACHINE_ARCH} == "alpha"
. include "../../mk/gcc.buildlink2.mk"
.endif
2002-10-01 15:29:21 +02:00
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../audio/arts/buildlink2.mk"
.include "../../audio/libaudiofile/buildlink2.mk"
.include "../../devel/pcre/buildlink2.mk"
Update KDE to 3.1. Many bugfixes and functionality enhancements including: General New default widget style: Keramik New default icon theme: Crystal Created and enhanced framework to effectively disable certain features of the GUI, like for example shell access, disallowing to select custom wall papers. "Kiosk mode" Usability improvements: Kicker: Context menu, applet menus, wording and panel feature consistency improved Kicker: Redesigned control module. KCalc: Usability Improvements. KSnapshot: Usability Improvements. KsCD: User Interface Improvements in configuration and information dialogs kdelibs Extended the DCOP commandline client to enable nonGUI applications (such as shell scripts) to use DCOP send DCOP messages to multiple users and/or sessions concurrently Added to notification dialog to allow applications to configure their notifications with a common GUI. Added "Open File", "Open Destination" and "Keep window open" to download progress dialog. KDatePicker has now week number display and selection. Added KLocale support for setting/retrieving the first day of a week Support for "Multimedia keys" on your keyboard. Added on-demand icon loading support to improve startup performance of applications. KHTML: Improvements to printing support. Page Info and Frame info dialog. Auto-Scroll support of webpages using Shift combined with arrow keys. Many, many Bugfixes and improvements. Small codebase merges with Safari. The main merge is planned for a future release however, as it requires more testing. KIO: Modified thumbnail ioslave that can extract a thumbnail from the file directly if it contains one, rather than generating one itself. Added fish:// protocol slave, which can access remote filesystems via SSH and SCP Cleanups and Corrections in smtp:// protocol slave. Activated rtsp:// protocol slave. Added support for Public Key Authentication and interopability with newer versions of OpenSSH to sftp:// protocol slave. KSSL: SSL certificate policies can now be configured based on the host name
2003-03-11 14:10:15 +01:00
.include "../../graphics/libart2/buildlink2.mk"
2002-10-01 15:29:21 +02:00
.include "../../graphics/tiff/buildlink2.mk"
.include "../../lang/perl5/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../textproc/libxslt/buildlink2.mk"
.include "../../x11/kde3/buildlink2.mk"
.include "../../x11/qt3-libs/buildlink2.mk"
.include "../../mk/ossaudio.buildlink2.mk"
2002-05-31 15:16:30 +02:00
.include "../../mk/bsd.pkg.mk"
# XXX On NetBSD, the egcs and gcc-2.95.3 for:
2002-05-31 15:16:30 +02:00
# XXX
# XXX alpha and sparc
2002-05-31 15:16:30 +02:00
# XXX
# XXX has an optimization bug when compiling with -O2 that is tickled by
# XXX ${WRKSRC}/kio/kio/global.cpp
2002-05-31 15:16:30 +02:00
# XXX ${WRKSRC}/kdeprint/management/kmiconview.cpp.
# XXX and others
2002-05-31 15:16:30 +02:00
#
.if ${OPSYS} == "NetBSD"
. if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc")
2003-03-28 21:28:56 +01:00
CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*/-O/g}
CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g}
CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
2002-05-31 15:16:30 +02:00
. endif
.endif