freebsd-ports/devel/kdevelop/Makefile

100 lines
3.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: kdevelop
# Date created: 12 Aug 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
2000-04-11 23:30:15 +02:00
PORTNAME= kdevelop
PORTVERSION= 3.5.4
PORTREVISION= 2
CATEGORIES?= devel kde
2001-03-03 14:45:27 +01:00
MASTER_SITES= ${MASTER_SITE_KDE}
2007-07-04 12:25:00 +02:00
MASTER_SITE_SUBDIR= stable/${KDE_VERSION}/src
# DISTNAME= ${KDE_DISTNAME}
2001-09-10 22:22:28 +02:00
DIST_SUBDIR= KDE
2001-09-01 10:35:47 +02:00
MAINTAINER?= kde@FreeBSD.org
2006-01-08 20:32:36 +01:00
COMMENT= IDE for a wide variety of programming tasks
BUILD_DEPENDS= cervisia:${PORTSDIR}/devel/kdesdk3 \
2007-03-13 20:13:51 +01:00
dot:${PORTSDIR}/graphics/graphviz \
msgfmt:${PORTSDIR}/devel/gettext
2007-03-13 20:13:51 +01:00
LIB_DEPENDS= svn_client-1.0:${PORTSDIR}/devel/subversion
RUN_DEPENDS= extractrc:${PORTSDIR}/devel/kdesdk3 \
gdb66:${PORTSDIR}/devel/gdb6 \
gmake:${PORTSDIR}/devel/gmake
.if defined(WITH_OPTIONAL_DEPENDS)
PAPERSIZE?= letter
.if ${PAPERSIZE} != a4 && ${PAPERSIZE} != letter && ${PAPERSIZE} != letterdj
.BEGIN:
@${ECHO_CMD}
@${ECHO_CMD} "PAPERSIZE incorrect value: ${PAPERSIZE}."
@${ECHO_CMD}
@${ECHO_CMD} "Must specify PAPERSIZE as one of a4, letter, or letterdj."
@${ECHO_CMD} "letterdj allows a slightly larger margins for DeskJets."
@${FALSE}
.endif
2007-03-13 20:13:51 +01:00
RUN_DEPENDS+= ark:${PORTSDIR}/misc/kdeutils3 \
a2ps:${PORTSDIR}/print/a2ps-${PAPERSIZE} \
2007-03-13 20:13:51 +01:00
dot:${PORTSDIR}/graphics/graphviz \
glimpse:${PORTSDIR}/textproc/glimpse \
2007-03-13 20:13:51 +01:00
kiconedit:${PORTSDIR}/graphics/kdegraphics3
.endif
# KDE_DISTNAME= ${PORTNAME}-${PORTVERSION}_for_KDE_3.1
2004-06-04 19:29:38 +02:00
2007-03-13 20:13:51 +01:00
USE_LDCONFIG= yes
Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to the rigorous testing performed on the part of the KDE/FreeBSD Project over the last three weeks. Thanks to everyone who helped test! General changes: [1] Follow KDE2 style by moving KDE core specific macros and the like to x11/kde3/Makefile.kde. [2] Fix a variety of comments or miscellaneous data to reflect that this is KDE3 and not KDE2. [3] Account for more empty directories in the PLISTs. deskutils/kdepim3: [4] More #include <malloc.h> -> #include <stdlib.h>. audio/arts: [5] Upgrade to 1.0.1. [6] Point at MASTER_SITE_KDE not my own mirror. audio/kdemultimedia3: [7] Account for the removal of the <machine/soundcard.h> symlink. Simply point all such includes at <sys/soundcard.h>. editors/koffice-kde3: [8] Get rid of #include <values.h> preemptively. devel/kdesdk3: [9] Remove cervisia from build if building on -CURRENT due to C++-unsafe sys/wait.h. The header is believed to have been fixed in newer -CURRENT (>= Jun 5) but we have not tested that. devel/kdevelop: [10] Upgrade to 2.1.1 and use KDE 3 version. [11] Remove a number of suggested dependencies that no longer fit. [12] Account for where the docs for Qt went since they got moved to fit in hier(7) better. graphics/kdegraphics3: [13] Turn off kuickshow by default because it depends on imlib, which in turn depends on gtk/glib. This will be revisited when we split up the KDE ports a bit. games/kdegames3: [14] Fix compile error on -CURRENT where kpat/freecell-solver/md5.h tried to define uint32_t after sys/types.h already had. sysutils/kdeadmin3: No particular changes. misc/kdeaddons3: No particular changes. misc/kdeedu3: [15] Re-add the huge number of missing @dirrm's. misc/kdeutils3: No particular changes. misc/kde3-i18n-* and */kde3-i18n: For the most part, no particular changes. A huge number of I18N message updates went into this release, though. french/kde3-i18n: [16] Fix build Makefile error due to tarball builder's env. net/kdenetwork3: No particular changes. x11-clocks/kdetoys3: No particular changes. x11/kdebase3: [17] Account for mkfontdir "soft" build-time dependency. If mkfontdir is available, use it to build fonts.dir where kdebase installs fonts. Otherwise, don't bother. [18] Patch ElectricEyes.desktop to use the name of the program that FreeBSD uses when you install the port for it. [19] Patches for KDM merged into KDE 3.0.1. [20] Properly fix kdm/backend/xdmcp.c string format error. x11/kdelibs3: [21] Support the KDE3 version check to make sure no one tries to install KDE2 then KDE3. The 'kde-version-check' target is centralized in x11/kde3/Makefile.kde. [22] Remove patch for kdeprint/configure.in.in. [23] Add patch to fix critical icon loader bug. x11/kde3: [24] Add Makefile.kde for centralizing KDE core-specific macros that don't belong in bsd.kde.mk. x11-toolkits/qt30: [25] Mark broken on any XFree86 version < 4 due to packing list related problems if we tried to support XFree86 3. [26] Error out if the user has Qt2 installed already. x11-wm/kdeartwork3: [27] Add USE_MESA to explicitly support the 3D screensavers. [28] Re-add a large number of missing @dirrm's. Credits: [1] [4] [5] [6] [7] [9] [10] [14] [16] [21] [22] [24] [26]: will [2] [3] [8] [15] [17] [19] [25] [27] [28]: alane [11] [12] Submitted by: Lauri Watts <lauri@kde.org> [13] Found by: mi Removed by: will [18] [23] Submitted by: Andy Fawcett <andy@athame.co.uk> Tested by: [in addition to the above, in no particular order] knu Mattias Douhan <matt@athame.co.uk> Bradley T. Hughes <bhughes@trolltech.com> Erik H. Bakke <ebakke@trolltech.com> David Johnson <david@usermode.org> JJ Behrens <jj@nttmcl.com> Michael W. Collette <metrol@metrol.net> Adriaan de Groot <adridg@sci.kun.nl> Mark Rowlands <mark.rowlands@minmail.net> Mark Stosberg <mark@summersault.com> Dave Cantrell <phaedrus@alltel.net> Mark Miller <joup@bigfoot.com> Wesley Morgan <morganw@chemikals.org> Arjan van Leeuwen <avl@operamail.com>
2002-06-15 18:16:32 +02:00
USE_KDELIBS_VER=3
USE_BZIP2= yes
USE_GMAKE= yes
2007-03-13 20:13:51 +01:00
USE_BDB= yes
USE_AUTOTOOLS= libtool:22 autotools:run
2007-03-13 20:13:51 +01:00
_NO_KDE_FINAL= yes
CONFIGURE_ARGS+=--with-qtdoc-dir=${LOCALBASE}/share/doc/qt/html \
2007-03-13 20:13:51 +01:00
--with-db-includedir=${BDB_INCLUDE_DIR} \
--with-db-libdir=${BDB_LIB_DIR} --with-db-lib=${BDB_LIB_NAME} \
2006-01-08 20:32:36 +01:00
--with-apr-config=${LOCALBASE}/bin/apr-1-config \
--with-apu-config=${LOCALBASE}/bin/apu-1-config \
2007-07-04 12:25:00 +02:00
--with-svn-include=${LOCALBASE}/include/subversion-1 \
2006-01-08 20:32:36 +01:00
--with-svn-lib=${LOCALBASE}/lib \
--with-neon-config=${LOCALBASE}/bin/neon-config
2004-08-30 21:55:42 +02:00
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
pre-everything::
.if !defined(WITH_OPTIONAL_DEPENDS)
@${ECHO_MSG}
@${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
@${ECHO_MSG} "to automatically build the suggested programs to complement kdevelop."
@${ECHO_MSG}
.endif
post-patch:
@${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in
@${CP} ${WRKSRC}/admin/acinclude.m4.in ${WRKSRC}/parts/appwizard/common/admin/acinclude.m4.in
post-configure:
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%PREFIX%%|${PREFIX}|g ; \
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' < ${FILESDIR}/kdevelop \
> ${WRKDIR}/kdevelop
${REINPLACE_CMD} -e 's|<gdbpath>.*</gdbpath>|<gdbpath></gdbpath>|g' \
-e 's|<dbgshell>.*</dbgshell>|<dbgshell></dbgshell>|g' \
${WRKSRC}/languages/cpp/app_templates/*/*.kdevelop
${REINPLACE_CMD} -e 's|"gdb"|"gdb66"|g' \
${WRKSRC}/languages/cpp/debugger/gdbcontroller.cpp
${REINPLACE_CMD} -E -e 's|(.*shell =.*)libtool|\1libtool --mode=execute|g' \
${WRKSRC}/languages/cpp/debugger/debuggerconfigwidget.cpp
post-install:
@${MV} ${PREFIX}/bin/kdevelop ${PREFIX}/bin/kdevelop-bin
@${INSTALL_SCRIPT} ${WRKDIR}/kdevelop ${PREFIX}/bin
.include <bsd.port.post.mk>