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
|
2005-11-05 12:19:58 +01:00
|
|
|
PORTVERSION= 3.2.3
|
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-08-30 21:55:42 +02: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-04-07 17:35:46 +02:00
|
|
|
BUILD_DEPENDS= cervisia:${PORTSDIR}/devel/kdesdk3 \
|
|
|
|
msgfmt:${PORTSDIR}/devel/gettext
|
2003-10-17 08:09:39 +02:00
|
|
|
RUN_DEPENDS= extractrc:${PORTSDIR}/devel/kdesdk3 \
|
2005-06-16 19:24:27 +02:00
|
|
|
gmake:${PORTSDIR}/devel/gmake \
|
|
|
|
${LOCALBASE}/gnu-autotools/bin/automake:${PORTSDIR}/devel/gnu-automake \
|
|
|
|
${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf \
|
|
|
|
${LOCALBASE}/gnu-autotools/bin/libtool:${PORTSDIR}/devel/gnu-libtool
|
|
|
|
|
2000-04-17 02:18:05 +02:00
|
|
|
.if defined(WITH_OPTIONAL_DEPENDS)
|
2004-03-09 20:41:12 +01:00
|
|
|
RUN_DEPENDS+= kiconedit:${PORTSDIR}/graphics/kdegraphics3 \
|
2002-06-15 18:16:32 +02:00
|
|
|
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
|
2004-06-04 19:29:38 +02:00
|
|
|
|
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
|
2004-08-30 21:55:42 +02:00
|
|
|
CONFIGURE_ARGS+=--with-qtdoc-dir=${X11BASE}/share/doc/qt/html
|
2005-06-16 19:24:27 +02:00
|
|
|
CONFIGURE_ENV+= PATH=${LOCALBASE}/gnu-autotools/bin:${PATH}
|
2003-08-04 15:18:38 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-07-04 21:39:36 +02:00
|
|
|
|
2004-08-30 21:55:42 +02:00
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
2003-02-22 01:30:38 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
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)"
|
2004-08-02 13:23:36 +02:00
|
|
|
@${ECHO_MSG} "to automatically build the suggested programs to complement kdevelop."
|
2001-01-28 04:56:18 +01:00
|
|
|
@${ECHO_MSG}
|
2000-02-12 22:50:42 +01:00
|
|
|
.endif
|
|
|
|
|
2004-02-05 02:23:10 +01:00
|
|
|
post-patch:
|
2005-06-16 19:24:27 +02:00
|
|
|
@${TOUCH} -t 200401230000 ${WRKSRC}/Makefile.am.in
|
2005-07-10 19:47:41 +02:00
|
|
|
@${CP} ${WRKSRC}/admin/acinclude.m4.in ${WRKSRC}/parts/appwizard/common/admin/acinclude.m4.in
|
2004-02-05 02:23:10 +01:00
|
|
|
|
2004-11-13 00:09:31 +01:00
|
|
|
post-configure:
|
2005-06-16 19:24:27 +02:00
|
|
|
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
2005-07-10 19:47:41 +02:00
|
|
|
s|%%PREFIX%%|${PREFIX}|g ; \
|
|
|
|
s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' < ${FILESDIR}/kdevelop \
|
2005-06-16 19:24:27 +02:00
|
|
|
> ${WRKDIR}/kdevelop
|
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
@${REINPLACE_CMD} -e "s,-O2,${CFLAGS} -fPIC," \
|
2004-11-13 00:09:31 +01:00
|
|
|
${WRKSRC}/bdb/build_unix/Makefile ${WRKSRC}/bdb/Makefile
|
|
|
|
.endif
|
|
|
|
|
2005-06-16 19:24:27 +02:00
|
|
|
post-install:
|
|
|
|
@${MV} ${PREFIX}/bin/kdevelop ${PREFIX}/bin/kdevelop-bin
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/kdevelop ${PREFIX}/bin
|
|
|
|
|
2003-02-22 01:30:38 +01:00
|
|
|
.include <bsd.port.post.mk>
|