2000-02-12 22:50:42 +01:00
|
|
|
# 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
|
2004-02-05 02:23:10 +01:00
|
|
|
PORTVERSION= 3.0.0
|
2001-08-30 20:56:50 +02:00
|
|
|
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
|
2004-02-05 02:23:10 +01:00
|
|
|
# DISTNAME= ${KDE_DISTNAME}
|
2001-09-10 22:22:28 +02:00
|
|
|
DIST_SUBDIR= KDE
|
2000-02-12 22:50:42 +01:00
|
|
|
|
2001-09-01 10:35:47 +02:00
|
|
|
MAINTAINER?= kde@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Powerful IDE for developing KDE/Qt-based apps
|
2000-02-12 22:50:42 +01:00
|
|
|
|
2004-02-05 02:23:10 +01:00
|
|
|
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
|
|
|
|
LIB_DEPENDS= db41:${PORTSDIR}/databases/db41
|
2003-10-17 08:09:39 +02:00
|
|
|
RUN_DEPENDS= extractrc:${PORTSDIR}/devel/kdesdk3 \
|
|
|
|
gmake:${PORTSDIR}/devel/gmake
|
2000-04-17 02:18:05 +02:00
|
|
|
.if defined(WITH_OPTIONAL_DEPENDS)
|
2001-01-28 04:56:18 +01:00
|
|
|
RUN_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf \
|
2001-02-14 21:51:00 +01:00
|
|
|
automake:${PORTSDIR}/devel/automake \
|
2002-06-15 18:16:32 +02:00
|
|
|
kiconedit:${PORTSDIR}/graphics/kdegraphics3 \
|
|
|
|
ark:${PORTSDIR}/misc/kdeutils3 \
|
2000-03-07 17:55:15 +01:00
|
|
|
glimpse:${PORTSDIR}/textproc/glimpse \
|
2001-12-19 20:49:10 +01:00
|
|
|
a2ps:${PORTSDIR}/print/a2ps-letter
|
2000-03-07 17:55:15 +01:00
|
|
|
.endif
|
|
|
|
|
2004-02-05 02:23:10 +01:00
|
|
|
# KDE_DISTNAME= ${PORTNAME}-${PORTVERSION}_for_KDE_3.1
|
2002-06-15 18:16:32 +02:00
|
|
|
USE_KDELIBS_VER=3
|
2001-01-28 04:56:18 +01:00
|
|
|
USE_BZIP2= yes
|
2000-02-12 22:50:42 +01:00
|
|
|
USE_GMAKE= yes
|
2001-03-02 17:50:50 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-06-15 18:16:32 +02:00
|
|
|
CONFIGURE_ARGS+= --with-qtdoc-dir=${X11BASE}/share/doc/qt/html
|
2003-08-04 15:18:38 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-07-04 21:39:36 +02:00
|
|
|
|
2003-02-22 01:30:38 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${PORTSDIR}/x11/kde3/Makefile.kde"
|
2000-02-12 22:50:42 +01:00
|
|
|
|
2001-03-26 23:21:39 +02:00
|
|
|
pre-everything::
|
2000-04-17 02:18:05 +02:00
|
|
|
.if !defined(WITH_OPTIONAL_DEPENDS)
|
2001-01-28 04:56:18 +01:00
|
|
|
@${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}
|
2000-02-12 22:50:42 +01:00
|
|
|
.endif
|
|
|
|
|
2004-02-05 02:23:10 +01:00
|
|
|
post-patch:
|
2004-02-07 10:30:22 +01:00
|
|
|
${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in
|
2004-02-05 02:23:10 +01:00
|
|
|
|
2003-08-04 15:18:38 +02:00
|
|
|
pre-configure:
|
2004-02-05 02:23:10 +01:00
|
|
|
${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
|
2003-08-04 15:18:38 +02:00
|
|
|
|
2003-02-22 01:30:38 +01:00
|
|
|
.include <bsd.port.post.mk>
|