Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 15:30:52 +0100 (MET)
From:      Roland Jesse <roland.jesse@gmx.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Tilman Linneweh <arved@FreeBSD.org>
Subject:   ports/47050: Update misc/mango to version 0.23 (SUPERCEEDS ports/47012)
Message-ID:  <200301141430.h0EEUqwo087235@arthur.cs.uni-magdeburg.de>

next in thread | raw e-mail | index | archive | help

>Number:         47050
>Category:       ports
>Synopsis:       Update misc/mango to version 0.23 (SUPERCEEDS ports/47012)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 14 06:30:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Roland Jesse
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.7-STABLE #9: Tue Nov 19 13:06:45 CET 2002 i386
>Description:

This is an update of port misc/mango. Compared to ports/47012, the use
of KDE has been made an option instead of a requirement. A respective
comment is added to the pre-configure target. DIST_SUBDIR has been set
to KDE in order to avoid any participation in an overpopulated
/usr/ports/distfiles.

No new files are introduced by this update.

My email address changed.
>How-To-Repeat:
build and install port misc/mango
>Fix:
diff -ruN mango/Makefile mango.new/Makefile
--- mango/Makefile	Mon May 13 10:04:29 2002
+++ mango.new/Makefile	Tue Jan 14 15:22:09 2003
@@ -1,31 +1,60 @@
 # New ports collection makefile for:   mango
 # Date created:        23 March 2001
-# Whom:                Roland Jesse <jesse@cs.uni-magdeburg.de>
+# Whom:                Roland Jesse <roland.jesse@gmx.net>
 #
 # $FreeBSD: ports/misc/mango/Makefile,v 1.4 2002/05/11 09:33:46 kris Exp $
 #
 
 PORTNAME=	mango
-PORTVERSION=	0.3
-PORTREVISION=	2
+PORTVERSION=	0.23
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=mango
+DIST_SUBDIR=	KDE
 
-MAINTAINER=	jesse@cs.uni-magdeburg.de
+MAINTAINER=	roland.jesse@gmx.net
 
-BUILD_DEPENDS=	tmake:${PORTSDIR}/devel/tmake
+.if defined(WITH_KDE)
+LIB_DEPENDS+=	kextmdi.2:${PORTSDIR}/devel/qextmdi
+.else
+LIB_DEPENDS+=	qextmdi.2:${PORTSDIR}/devel/qextmdi
+.endif
 
 USE_BZIP2=	yes
-USE_QT_VER=	2
-TMAKEENV=	TMAKEPATH=${PREFIX}/share/tmake/freebsd-g++ QTDIR=${X11BASE}
-MAKE_ENV+=	QTDIR=${X11BASE}
-
-do-build:
-	(cd ${WRKSRC}; ${SETENV} ${TMAKEENV} tmake -o Makefile mango.pro)
-	(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
+USE_QT_VER=	3
+MAKE_ENV+=	QTDIR=${QT_PREFIX}
+.if defined(WITH_KDE)
+USE_KDEBASE_VER=	3
+.endif
+.if defined(MAKE_JOBS)
+MAKE_ARGS+=	-j${MAKE_JOBS}
+.endif
+
+.if !defined(WITH_KDE)
+pre-configure:
+	@${ECHO_CMD}
+	@${ECHO_CMD} "Note: Mango can be build with KDE support."
+	@${ECHO_CMD} "      Please specify WITH_KDE in case you want to do so."
+	@${ECHO_CMD} "      Make sure that the prerequisite QextMDI library"
+	@${ECHO_CMD} "      was also installed with KDE support. The easiest"
+	@${ECHO_CMD} "      way to accomplish this is to set WITH_KDE=yes in"
+	@${ECHO_CMD} "      /etc/make.conf."
+	@${ECHO_CMD}
+.endif
+
+do-configure:
+.if defined(WITH_KDE)
+	@(cd ${WRKSRC} && \
+	${SED} -i -e 's|warn_on debug|warn_off release kde thread|' mango.pro)
+.else
+	@(cd ${WRKSRC} && \
+	${SED} -i -e 's|warn_on debug|warn_off release thread|' mango.pro)
+.endif
+	@(cd ${WRKSRC} && \
+	${SETENV} QTDIR=${X11BASE} PREFIX=${PREFIX} QMAKESPEC=freebsd-g++ \
+	qmake mango.pro)
 
-do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/mango ${PREFIX}/bin
+pre-install:
+	@${STRIP_CMD} ${WRKSRC}/mango
 
 .include <bsd.port.mk>
diff -ruN mango/distinfo mango.new/distinfo
--- mango/distinfo	Sat Mar 31 04:25:18 2001
+++ mango.new/distinfo	Tue Jan 14 11:56:05 2003
@@ -1 +1 @@
-MD5 (mango-0.3.tar.bz2) = ac9cb32f5174890552e4711065890f1d
+MD5 (KDE/mango-0.23.tar.bz2) = c982c2efcfb32ee654b345eb9d4e2e19
diff -ruN mango/pkg-descr mango.new/pkg-descr
--- mango/pkg-descr	Sat Mar 31 04:25:18 2001
+++ mango.new/pkg-descr	Mon Jul 29 10:18:25 2002
@@ -1,8 +1,7 @@
 Mango is a recipe management software. The main motivation of the
-project is to provide a mealmaster compatible application for UNIX and
-similar systems.
+project is to provide an open source mealmaster compatible
+application.
                       
 WWW: http://mango.sourceforge.net/
 
 - Roland
-jesse@cs.uni-magdeburg.de
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301141430.h0EEUqwo087235>