2000-02-12 21:50:42 +00:00
|
|
|
# New ports collection makefile for: kdevelop
|
2000-03-07 16:55:15 +00:00
|
|
|
# Version required: 1.1 (final)
|
2000-02-12 21:50:42 +00:00
|
|
|
# Date created: 12 Aug 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-03-07 16:55:15 +00:00
|
|
|
DISTNAME= kdevelop-1.1
|
2000-02-12 21:50:42 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://fara.cs.uni-potsdam.de/pub/kdevelop/ \
|
|
|
|
ftp://129.187.206.68/pub/unix/ide/KDevelop/ \
|
|
|
|
ftp://ftp.bawue.de/pub/unix/KDevelop/ \
|
|
|
|
ftp://ftp.chg.ru/pub/X11/kdevelop/ \
|
|
|
|
ftp://gd.tuwien.ac.at/hci/KDevelop/ \
|
2000-03-07 16:55:15 +00:00
|
|
|
ftp://altair.dhs.org/pub/kdevelop/ \
|
|
|
|
ftp://apcs.shellx.org/pub/KDevelop/ \
|
|
|
|
ftp://ftp.mpg.goe.ni.schule.de/pub/linux/ide/KDevelop/
|
2000-02-12 21:50:42 +00:00
|
|
|
|
|
|
|
MAINTAINER= andrews@technologist.com
|
|
|
|
|
2000-02-24 07:01:14 +00:00
|
|
|
LIB_DEPENDS= kdeui.3:${PORTSDIR}/x11/kdelibs11
|
2000-02-12 21:50:42 +00:00
|
|
|
RUN_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
|
|
|
|
|
2000-03-07 16:55:15 +00:00
|
|
|
.if defined(USE_OPTIONAL_DEPENDS)
|
|
|
|
RUN_DEPENDS+= automake:${PORTSDIR}/devel/automake \
|
|
|
|
kdbg:${PORTSDIR}/devel/kdbg \
|
|
|
|
${LOCALBASE}/share/doc/HTML/en/kdelibs/kdecore/index.html:${PORTSDIR}/devel/kdelibdocs \
|
|
|
|
ktranslator:${PORTSDIR}/devel/ktranslator \
|
|
|
|
kiconedit:${PORTSDIR}/graphics/kdegraphics11 \
|
|
|
|
glimpse:${PORTSDIR}/textproc/glimpse \
|
|
|
|
a2ps:${PORTSDIR}/print/a2ps43-letter
|
|
|
|
.endif
|
|
|
|
|
2000-02-12 21:50:42 +00:00
|
|
|
USE_GMAKE= yes
|
2000-03-07 16:55:15 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-02-12 21:50:42 +00:00
|
|
|
USE_QT= yes
|
2000-03-07 16:55:15 +00:00
|
|
|
CONFIGURE_ARGS= --with-qtdoc-dir=${X11BASE}/share/doc/qt/html \
|
|
|
|
--with-qt-includes=${X11BASE}/include/X11/qt \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include \
|
|
|
|
--with-extra-libs=${LOCALBASE}/lib
|
|
|
|
MAKE_ENV= CXX="${CXX}" SOMAJOR="${SOMAJOR}" SOMINOR="${SOMINOR}"
|
|
|
|
SOMAJOR= 1
|
|
|
|
SOMINOR= 0
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
LIBVER="${SOMAJOR}.${SOMINOR}"
|
|
|
|
.else
|
|
|
|
LIBVER="${SOMAJOR}"
|
|
|
|
.endif
|
|
|
|
PLIST_SUB+= LIBVER="${LIBVER}"
|
2000-02-12 21:50:42 +00:00
|
|
|
|
|
|
|
pre-patch:
|
2000-03-07 16:55:15 +00:00
|
|
|
.if !defined(USE_OPTIONAL_RUNDEPENDS)
|
2000-02-12 21:50:42 +00:00
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} "You may define USE_OPTIONAL_RUNDEPENDS (make USE_OPTIONAL_RUNDEPENDS=YES)"
|
|
|
|
@${ECHO} "to automatically build the suggested programs to compliment kdevelop."
|
|
|
|
@${ECHO}
|
2000-03-07 16:55:15 +00:00
|
|
|
@sleep 1
|
2000-02-12 21:50:42 +00:00
|
|
|
.endif
|
|
|
|
|
2000-03-07 16:55:15 +00:00
|
|
|
post-patch:
|
|
|
|
@${LN} -sf /usr/include/g++/FlexLexer.h ${WRKSRC}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|