From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 21 07:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B10DC35E for ; Sun, 21 Apr 2013 07:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8F85D93D for ; Sun, 21 Apr 2013 07:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3L7U0lJ062864 for ; Sun, 21 Apr 2013 07:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3L7U0mu062863; Sun, 21 Apr 2013 07:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 21 Apr 2013 07:30:00 GMT Resent-Message-Id: <201304210730.r3L7U0mu062863@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Helfman Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 741EE316 for ; Sun, 21 Apr 2013 07:21:45 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 572AA920 for ; Sun, 21 Apr 2013 07:21:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3L7LjH3062689 for ; Sun, 21 Apr 2013 07:21:45 GMT (envelope-from jgh@freefall.freebsd.org) Received: (from jgh@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3L7Ljjn062688; Sun, 21 Apr 2013 07:21:45 GMT (envelope-from jgh) Message-Id: <201304210721.r3L7Ljjn062688@freefall.freebsd.org> Date: Sun, 21 Apr 2013 07:21:45 GMT From: Jason Helfman To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/178019: [patch] editors/textroom: trim header, lib depends, and move to USES=shared-mime-info X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jason Helfman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2013 07:30:00 -0000 >Number: 178019 >Category: ports >Synopsis: [patch] editors/textroom: trim header, lib depends, and move to USES=shared-mime-info >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 21 07:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jason Helfman >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r249172: Sat Apr 6 00:40:01 UTC 2013 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64 >Description: Update historical header Trim comment drop abi version for lib-depends adoption of USES=shared-mime-info cleanup reinplace_cmd standardize formatting in pkg-descr by using a space over tab >How-To-Repeat: >Fix: Index: editors/textroom/Makefile =================================================================== --- editors/textroom/Makefile (revision 316168) +++ editors/textroom/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: textroom -# Date created: 27 April 2010 -# Whom: admin@mjbrune.org -# +# Created by: admin@mjbrune.org # $FreeBSD$ -# PORTNAME= textroom PORTVERSION= 0.8.2 @@ -12,14 +8,13 @@ MASTER_SITES= SF MAINTAINER= admin@mjbrune.org -COMMENT= A full screen text editor +COMMENT= Full screen text editor -BUILD_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info -LIB_DEPENDS= hunspell-1.3:${PORTSDIR}/textproc/hunspell \ - xml++-2.6.2:${PORTSDIR}/textproc/libxml++26 \ - curl.6:${PORTSDIR}/ftp/curl -RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info +LIB_DEPENDS= hunspell-1:${PORTSDIR}/textproc/hunspell \ + xml++-2.6:${PORTSDIR}/textproc/libxml++26 \ + curl:${PORTSDIR}/ftp/curl +USES=shared-mime-info USE_SDL= mixer USE_QT4= moc_build qmake_build rcc_build uic_build corelib gui xml \ svg opengl qt3support @@ -29,17 +24,12 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ - ${WRKSRC}/application/src/textroom.cpp - @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ - ${WRKSRC}/application/src/getaword.cpp - @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ + ${WRKSRC}/application/src/textroom.cpp \ + ${WRKSRC}/application/src/getaword.cpp \ ${WRKSRC}/application/src/optionsdialog.cpp do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} textroom.pro -post-install: - @-update-mime-database ${PREFIX}/share/mime - .include Index: editors/textroom/pkg-descr =================================================================== --- editors/textroom/pkg-descr (revision 316168) +++ editors/textroom/pkg-descr (working copy) @@ -4,4 +4,4 @@ its behavior. If you don't feel comfortable already with your editor of choice, you may find it useful. -WWW: http://code.google.com/p/textroom/ +WWW: http://code.google.com/p/textroom/ Index: editors/textroom/pkg-plist =================================================================== --- editors/textroom/pkg-plist (revision 316168) +++ editors/textroom/pkg-plist (working copy) @@ -12,5 +12,3 @@ @dirrmtry share/hunspell @dirrmtry share/applications @dirrm share/textroom -@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true >Release-Note: >Audit-Trail: >Unformatted: