freebsd-ports/devel/kdevelop/Makefile

64 lines
2.3 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.0.0
CATEGORIES?= devel kde
2001-03-03 14:45:27 +01:00
MASTER_SITES= ${MASTER_SITE_KDE}
2004-02-06 16:55:52 +01:00
MASTER_SITE_SUBDIR= stable/${KDE_VERSION:S/.0//}/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
COMMENT= Powerful IDE for developing KDE/Qt-based apps
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS= db41:${PORTSDIR}/databases/db41
RUN_DEPENDS= extractrc:${PORTSDIR}/devel/kdesdk3 \
gmake:${PORTSDIR}/devel/gmake
.if defined(WITH_OPTIONAL_DEPENDS)
RUN_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf \
automake:${PORTSDIR}/devel/automake \
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
kiconedit:${PORTSDIR}/graphics/kdegraphics3 \
ark:${PORTSDIR}/misc/kdeutils3 \
glimpse:${PORTSDIR}/textproc/glimpse \
a2ps:${PORTSDIR}/print/a2ps-letter
.endif
# KDE_DISTNAME= ${PORTNAME}-${PORTVERSION}_for_KDE_3.1
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
2001-03-02 17:50:50 +01:00
GNU_CONFIGURE= 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
CONFIGURE_ARGS+= --with-qtdoc-dir=${X11BASE}/share/doc/qt/html
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/x11/kde3/Makefile.kde"
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 compliment kdevelop."
@${ECHO_MSG}
.endif
post-patch:
${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in
pre-configure:
${REINPLACE_CMD} -e 's@extractrc@@g' ${WRKSRC}/Makefile.in
${REINPLACE_CMD} -e 's@$$CXXFLAGS $$X_CFLAGS -ldb@-I/usr/local/include/db41 $$CXXFLAGS $$X_CFLAGS -L/usr/local/lib -ldb41@' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's@INCLUDES = $$(all_includes)@INCLUDES = -I/usr/local/include/db41 $$(all_includes)@' ${WRKSRC}/lib/catalog/Makefile.in
${REINPLACE_CMD} -e 's@libkdevcatalog_la_LIBADD = -ldb@libkdevcatalog_la_LIBADD = -L/usr/local/lib -ldb41@' ${WRKSRC}/lib/catalog/Makefile.in
${REINPLACE_CMD} -e 's@^all_includes = @all_includes = -I/usr/local/include/db41 @' ${WRKSRC}/languages/cpp/Makefile.in
${REINPLACE_CMD} -e 's@^all_includes = @all_includes = -I/usr/local/include/db41 @' ${WRKSRC}/languages/java/Makefile.in
${REINPLACE_CMD} -e 's@^all_includes = @all_includes = -I/usr/local/include/db41 @' ${WRKSRC}/languages/pascal/Makefile.in
.include <bsd.port.post.mk>