aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdevelop/Makefile
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>2000-03-08 00:55:15 +0800
committerimura <imura@FreeBSD.org>2000-03-08 00:55:15 +0800
commit009eedf9e4f0a8c03cd72b37ea2cbd288b9aec64 (patch)
tree390c337304091d222d417d4011b160cf77054e18 /devel/kdevelop/Makefile
parent22725d34ea5bd583850f440f9c2977044d08aba3 (diff)
downloadfreebsd-ports-gnome-009eedf9e4f0a8c03cd72b37ea2cbd288b9aec64.tar.gz
freebsd-ports-gnome-009eedf9e4f0a8c03cd72b37ea2cbd288b9aec64.tar.zst
freebsd-ports-gnome-009eedf9e4f0a8c03cd72b37ea2cbd288b9aec64.zip
Update to version 1.1.
This version 1.1 has many new features. See http://www.kdevelop.org/ for details. I reduced difference between kdevelop and kdevelop-i18n. The i18n patch to kdevelop's editor is now included in the distributed source. PR: 17034 Submitted by: Will Andrews <andrews@technologist.com>
Diffstat (limited to 'devel/kdevelop/Makefile')
-rw-r--r--devel/kdevelop/Makefile58
1 files changed, 38 insertions, 20 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile
index b0c1288e4941..0eb60672ee52 100644
--- a/devel/kdevelop/Makefile
+++ b/devel/kdevelop/Makefile
@@ -1,49 +1,67 @@
# New ports collection makefile for: kdevelop
-# Version required: 1.0 (final)
+# Version required: 1.1 (final)
# Date created: 12 Aug 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
-DISTNAME= kdevelop-1.0
+DISTNAME= kdevelop-1.1
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://ftp.weltopia.com/pub/kdevelop/ \
ftp://gd.tuwien.ac.at/hci/KDevelop/ \
- ftp://altair.dhs.org/pub/kdevelop/
+ ftp://altair.dhs.org/pub/kdevelop/ \
+ ftp://apcs.shellx.org/pub/KDevelop/ \
+ ftp://ftp.mpg.goe.ni.schule.de/pub/linux/ide/KDevelop/
MAINTAINER= andrews@technologist.com
LIB_DEPENDS= kdeui.3:${PORTSDIR}/x11/kdelibs11
RUN_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
-GNU_CONFIGURE= yes
+.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
+
USE_GMAKE= yes
-USE_NEWGCC= yes
+GNU_CONFIGURE= yes
USE_QT= yes
-MAKE_ENV= CXX="${CXX}"
-CONFIGURE_ENV= CXX="${CXX}" QTINC=${X11BASE}/include/X11/ \
- QTLIB=${X11BASE}
-CONFIGURE_ARGS= --prefix=${LOCALBASE} \
- --with-qtdoc-dir=${X11BASE}/share/doc/qt/html
+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}"
-.if !defined(USE_OPTIONAL_RUNDEPENDS)
pre-patch:
+.if !defined(USE_OPTIONAL_RUNDEPENDS)
@${ECHO}
@${ECHO} "You may define USE_OPTIONAL_RUNDEPENDS (make USE_OPTIONAL_RUNDEPENDS=YES)"
@${ECHO} "to automatically build the suggested programs to compliment kdevelop."
@${ECHO}
- @sleep 3
-.else
-RUN_DEPENDS+= automake:${PORTSDIR}/devel/automake \
- kdbg:${PORTSDIR}/devel/kdbg \
- ktranslator:${PORTSDIR}/devel/ktranslator \
- glimpse:${PORTSDIR}/textproc/glimpse \
- a2ps:${PORTSDIR}/print/a2ps43-letter
+ @sleep 1
.endif
-.include <bsd.port.mk>
+post-patch:
+ @${LN} -sf /usr/include/g++/FlexLexer.h ${WRKSRC}
+
+.include <bsd.port.post.mk>