summaryrefslogtreecommitdiff
path: root/misc/mango
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-06-26 16:45:48 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-06-26 16:45:48 +0000
commitee1bdff76afb1079034c8ba9baeae3ec6af6ed8c (patch)
tree731e7412762cf0e27759c2cf8f4011bc4c2851d6 /misc/mango
parentAdd kmyirc, yet another IRC Client for KDE (diff)
Update to 0.25
PR: 48884 Submitted by: Roland Jesse <roland.jesse@gmx.net>
Notes
Notes: svn path=/head/; revision=83680
Diffstat (limited to 'misc/mango')
-rw-r--r--misc/mango/Makefile16
-rw-r--r--misc/mango/distinfo2
-rw-r--r--misc/mango/files/patch-mango.pro10
3 files changed, 10 insertions, 18 deletions
diff --git a/misc/mango/Makefile b/misc/mango/Makefile
index 833a76c146e0..6b1357ea7941 100644
--- a/misc/mango/Makefile
+++ b/misc/mango/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mango
-PORTVERSION= 0.24
+PORTVERSION= 0.25
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=mango
@@ -24,10 +24,12 @@ PKGNAMESUFFIX= -nokde
.endif
USE_BZIP2= yes
-USE_QT_VER= 3
-MAKE_ENV+= QTDIR=${QT_PREFIX} LDFLAGS="-lkdevelopqextmdi"
+USE_REINPLACE= yes
+MAKE_ENV+= QTDIR=${QT_PREFIX} LDFLAGS="-lkextmdi"
.if defined(WITH_KDE)
USE_KDEBASE_VER= 3
+.else
+USE_QT_VER= 3
.endif
.if defined(MAKE_JOBS)
MAKE_ARGS+= -j${MAKE_JOBS}
@@ -48,14 +50,14 @@ pre-configure:
do-configure:
.if defined(WITH_KDE)
@(cd ${WRKSRC} && \
- ${SED} -i -e 's|warn_on debug|warn_off release kde thread|' mango.pro)
+ ${REINPLACE_CMD} -e 's|warn_on debug|warn_off release kde|' mango.pro)
.else
@(cd ${WRKSRC} && \
- ${SED} -i -e 's|warn_on debug|warn_off release thread|' mango.pro)
+ ${REINPLACE_CMD} -e 's|warn_on debug|warn_off release|' mango.pro)
.endif
@(cd ${WRKSRC} && \
- ${SETENV} ${MAKE_ENV} PREFIX=${PREFIX} QMAKESPEC=freebsd-g++ \
- qmake mango.pro)
+ ${SETENV} ${MAKE_ENV} PREFIX=${PREFIX} \
+ qmake -spec ${X11BASE}/share/qt/mkspecs/freebsd-g++ mango.pro)
pre-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mango ${PREFIX}/bin
diff --git a/misc/mango/distinfo b/misc/mango/distinfo
index f4cd34ef45ec..c43396722ea7 100644
--- a/misc/mango/distinfo
+++ b/misc/mango/distinfo
@@ -1 +1 @@
-MD5 (KDE/mango-0.24.tar.bz2) = f0bf708ad8173425a9cd0f36e8942dff
+MD5 (KDE/mango-0.25.tar.bz2) = 928b8fd2fa0795aa9216a670760ac0ab
diff --git a/misc/mango/files/patch-mango.pro b/misc/mango/files/patch-mango.pro
deleted file mode 100644
index 2211e86585b1..000000000000
--- a/misc/mango/files/patch-mango.pro
+++ /dev/null
@@ -1,10 +0,0 @@
---- mango.pro.orig Wed Jan 15 17:01:32 2003
-+++ mango.pro Wed Jan 15 17:01:35 2003
-@@ -11,6 +11,7 @@
-
- TEMPLATE = app
- CONFIG += qt opengl warn_on debug
-+INCLUDEPATH += ${PREFIX}/include/qextmdi
- unix:CONFIG += x11
- win32:CONFIG += windows
- #REQUIRES = xml