pkgsrc/x11/kdelibs3/Makefile

114 lines
3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2002/10/01 19:28:34 jlam Exp $
2002-05-31 15:16:30 +02:00
Update to KDE 3.0.3. While I'm here do the a.out dance for kuickshow and a couple of other minor clean ups. Changes are: kdelibs kprocess / kprocctrl: fix problem with hanging kdevelop. Javascript (core): more robust stack overflow check Javascript (html): allow to set a JS (non-CSS) property to a style object Javascript (html): improved result of navigator.platform using uname() Javascript (html): more aggressive garbage collection on clear, fixing many crashes Javascript (html): global object (window) has a correct object prototype now khtml: several crashes and bugs fixed kssl: Always verify the basic constraints on certificates (SECURITY) kdefx: Make the blending routine used by transparent menus work properly on big-endian platforms kdeui: Fix KDialog::setPlainCaption() kdebase Build fixes for IRIX / MipsPro (kcontrol, konqueror, konsole). Kicker: Quick browser escapes ampersand characters in file names. Konsole: Don't prepend ESC if Meta is pressed if key definition is for "+Alt". Konsole: Fixed crashes at startup related to broken font installations. Konsole: Fixed crashes when selecting in history buffer. krdb: Smarter handling of multiple and symlinked KDE and Qt installs when exporting plugin path to Qt. kdenetwork KMail: allow an ampersand as last char of an URL. KMail: Don't crash when custom drafts or sent-mail folders have been deleted or renamed. KMail: Fix auto charset detection for empty strings. KMail/KNode: Correctly handle quotes in user ids of OpenPGP keys. KMail: Make custom (global) Bcc headers work correctly with encryption and distribution list expansion. kdepim KAlarm: Fix session restoration often not occurring at login. KAlarm: Adjust wrong summer times stored by KDE 3.0.0 version of KAlarm. KAlarm: Make Close button on message window not the default button to reduce chance of accidental acknowledgement. KAlarm: Make Help button in configuration dialog display KAlarm handbook. KNotes: Compile fix for Qt 3.0.5 KOrganizer: Fixed context menu of todo list/view and event list which disappeared when using Qt 3.0.5
2002-08-28 09:15:25 +02:00
DISTNAME= kdelibs-3.0.3
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"
BUILDLINK_DEPENDS.audiofile= libaudiofile>=0.1.9
BUILDLINK_DEPENDS.qt3-libs= qt3-libs>=3.0.3
2002-10-01 15:29:21 +02:00
USE_BUILDLINK2= YES
USE_CXX= 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
.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= \
${WRKSRC}/kio/proxytype.pl \
${WRKSRC}/kio/useragent.pl
PLIST_SRC= ${WRKDIR}/PLIST
UNLIMIT_RESOURCES= datasize memorysize
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
.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 "../../lang/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"
.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 gcc for:
2002-05-31 15:16:30 +02:00
# XXX
# XXX alpha
# XXX
# XXX has an optimization bug when compiling with -O2 that is tickled by
# XXX ${WRKSRC}/kdeprint/management/kmiconview.cpp.
#
.if ${OPSYS} == "NetBSD"
. if (${MACHINE_ARCH} == "alpha")
CFLAGS+= -O
. endif
.endif