From owner-freebsd-ports Mon Jan 13 8:40: 6 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CD4037B401 for ; Mon, 13 Jan 2003 08:40:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B20443F5B for ; Mon, 13 Jan 2003 08:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0DGe2NS005407 for ; Mon, 13 Jan 2003 08:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0DGe2ie005406; Mon, 13 Jan 2003 08:40:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88FF237B401; Mon, 13 Jan 2003 08:31:20 -0800 (PST) Received: from arthur.cs.uni-magdeburg.de (arthur.cs.uni-magdeburg.de [141.44.27.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C69D543ED8; Mon, 13 Jan 2003 08:31:19 -0800 (PST) (envelope-from jesse@arthur.cs.uni-magdeburg.de) Received: from arthur.cs.uni-magdeburg.de (localhost [127.0.0.1]) by arthur.cs.uni-magdeburg.de (8.12.6/8.12.6) with ESMTP id h0DGXcPV046985; Mon, 13 Jan 2003 17:33:38 +0100 (CET) (envelope-from jesse@arthur.cs.uni-magdeburg.de) Received: (from jesse@localhost) by arthur.cs.uni-magdeburg.de (8.12.6/8.12.6/Submit) id h0DGXckV046984; Mon, 13 Jan 2003 17:33:38 +0100 (MET) Message-Id: <200301131633.h0DGXckV046984@arthur.cs.uni-magdeburg.de> Date: Mon, 13 Jan 2003 17:33:38 +0100 (MET) From: Roland Jesse Reply-To: Roland Jesse To: FreeBSD-gnats-submit@FreeBSD.org Cc: Tilman Linneweh X-Send-Pr-Version: 3.113 Subject: ports/47022: devel/qextmdi: Minor fixes for KDE support Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47022 >Category: ports >Synopsis: devel/qextmdi: Minor fixes for KDE support >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: Mon Jan 13 08:40:01 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: Some changes needed to be made to Makefile and pkg-plist in order to link accordingly against KDE3 if the user wants to. This "wants to" is determined by the WITH_KDE variable. My email address has changed, too. >How-To-Repeat: "env WITH_KDE=yes make install" in devel/qextmdi >Fix: diff -ruN qextmdi/Makefile qextmdi.new/Makefile --- qextmdi/Makefile Mon Jan 13 13:16:58 2003 +++ qextmdi.new/Makefile Mon Jan 13 17:32:55 2003 @@ -1,46 +1,62 @@ # New ports collection makefile for: qextmdi # Date created: 29 April 2002 -# Whom: jesse@cs.uni-magdeburg.de +# Whom: Roland Jesse # # $FreeBSD: ports/devel/qextmdi/Makefile,v 1.1 2003/01/13 12:16:58 arved Exp $ PORTNAME= qextmdi PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.geocities.com/gigafalk/qextmdi/ EXTRACT_SUFX= .tgz DIST_SUBDIR= KDE -MAINTAINER= jesse@cs.uni-magdeburg.de +MAINTAINER= roland.jesse@gmx.net WRKSRC= ${WRKDIR}/${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/qextmdi USE_QT_VER= 3 USE_X_PREFIX= yes +CONFIG_ARGS= -release +CONFIG_ENV= QTDIR=${QT_PREFIX} QMAKESPEC=freebsd-g++ +MAKE_ENV+= QTDIR=${QT_PREFIX} +LIB_NAME= libqextmdi .if defined(WITH_KDE) USE_KDEBASE_VER= 3 # The name of this option is misleading. It uses either KDE2 or KDE3. -CONFIGURE_ARGS+= -kde2 +CONFIG_ARGS+= -kde2 +CONFIG_ENV+= KDE2DIR=${PREFIX} +MAKE_ENV+= KDE2DIR=${PREFIX} +LIB_NAME= libkextmdi +.endif +.if defined(MAKE_JOBS) +MAKE_ARGS+= -j${MAKE_JOBS} .endif -MAKE_ENV+= QTDIR=${QT_PREFIX} QMAKESPEC=freebsd-g++ INSTALLS_SHLIB= yes USE_REINPLACE= yes pre-configure: @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|tmake|qmake|g' configure - @cd ${WRKSRC}/qextmdi && ${PERL} -e 's|warn_on|warn_on thread|g' *.pro + @cd ${WRKSRC}/qextmdi && ${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' *.pro # define this here to prevent any "--with-qt-includes" or similar: do-configure: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIG_ARGS} + cd ${WRKSRC} && ${SETENV} ${CONFIG_ENV} ./${CONFIGURE_SCRIPT} ${CONFIG_ARGS} + +pre-install: + ${REINPLACE_CMD} -e 's|libname|${LIB_NAME}|g' pkg-plist do-install: - ${INSTALL_DATA} ${WRKSRC}/lib/libqextmdi.so.2.0.2 ${PREFIX}/lib/libqextmdi.so.2 - ${LN} ${PREFIX}/lib/libqextmdi.so.2 ${PREFIX}/lib/libqextmdi.so + ${INSTALL_DATA} ${WRKSRC}/lib/${LIB_NAME}.so.2.0.2 ${PREFIX}/lib/${LIB_NAME}.so.2 + ${LN} ${PREFIX}/lib/${LIB_NAME}.so.2 ${PREFIX}/lib/${LIB_NAME}.so ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/qextmdi @cd ${WRKSRC}/doc && ${TAR} cf - * | (cd ${PREFIX}/share/doc/qextmdi && ${TAR} xf -) .endif + +post-install-script: + ${REINPLACE_CMD} -e 's|${LIB_NAME}|libname|g' pkg-plist .include diff -ruN qextmdi/pkg-descr qextmdi.new/pkg-descr --- qextmdi/pkg-descr Mon Apr 29 11:13:23 2002 +++ qextmdi.new/pkg-descr Mon Nov 25 09:29:08 2002 @@ -5,4 +5,3 @@ WWW: http://www.geocities.com/gigafalk/qextmdi.htm Roland -jesse@cs.uni-magdeburg.de diff -ruN qextmdi/pkg-plist qextmdi.new/pkg-plist --- qextmdi/pkg-plist Mon Jan 13 13:16:58 2003 +++ qextmdi.new/pkg-plist Mon Jan 13 17:26:07 2003 @@ -15,8 +15,8 @@ include/qextmdimainfrm.h include/qextmdinulliterator.h include/qextmditaskbar.h -lib/libqextmdi.so -lib/libqextmdi.so.2 +lib/libname.so +lib/libname.so.2 %%PORTDOCS%%share/doc/qextmdi/handbook/logotp3.png %%PORTDOCS%%share/doc/qextmdi/handbook/index.html %%PORTDOCS%%share/doc/qextmdi/handbook/index.sgml >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message