From owner-svn-ports-all@FreeBSD.ORG Mon Jul 23 06:04:21 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C6651065672; Mon, 23 Jul 2012 06:04:21 +0000 (UTC) (envelope-from nivit@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3C2DA8FC0C; Mon, 23 Jul 2012 06:04:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6N64LIv072038; Mon, 23 Jul 2012 06:04:21 GMT (envelope-from nivit@svn.freebsd.org) Received: (from nivit@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6N64Kli072032; Mon, 23 Jul 2012 06:04:20 GMT (envelope-from nivit@svn.freebsd.org) Message-Id: <201207230604.q6N64Kli072032@svn.freebsd.org> From: Nicola Vitale Date: Mon, 23 Jul 2012 06:04:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301369 - in head/math/wxMaxima: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 06:04:21 -0000 Author: nivit Date: Mon Jul 23 06:04:20 2012 New Revision: 301369 URL: http://svn.freebsd.org/changeset/ports/301369 Log: - Update to 12.04.0 - Remove the Author: line from pkg-descr - Add files/patch-wxmaxima.desktop (validation ok) - Replace DESKTOP_ENTRIES with the provided wxmaxima.desktop file - Add desktopfileutils to USE_GNOME - Add commands to update desktop database on install/deinstall Buildlog: http://goo.gl/HFNGE [@redports] Added: head/math/wxMaxima/files/ head/math/wxMaxima/files/patch-wxmaxima.desktop (contents, props changed) Modified: head/math/wxMaxima/Makefile head/math/wxMaxima/distinfo head/math/wxMaxima/pkg-descr head/math/wxMaxima/pkg-plist Modified: head/math/wxMaxima/Makefile ============================================================================== --- head/math/wxMaxima/Makefile Mon Jul 23 05:48:14 2012 (r301368) +++ head/math/wxMaxima/Makefile Mon Jul 23 06:04:20 2012 (r301369) @@ -6,10 +6,12 @@ # PORTNAME= wxMaxima -PORTVERSION= 11.08.0 -PORTREVISION= 4 +PORTVERSION= 12.04.0 +PORTREVISION= 0 CATEGORIES= math -MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION} +MASTER_SITES= SF +MASTER_SITE_SUBDIR= ${PORTNAME:L}/${PORTNAME}/${PORTVERSION} +#MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTNAME}/${PORTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= A wxWidgets GUI for the computer algebra system maxima @@ -19,7 +21,7 @@ LICENSE= GPLv2 RUN_DEPENDS= maxima:${PORTSDIR}/math/maxima USE_GETTEXT= yes -USE_GNOME= libxml2 +USE_GNOME= desktopfileutils libxml2 USE_WX= 2.8 WX_COMPS= wx WX_CONF_ARGS= absolute @@ -27,10 +29,14 @@ WANT_UNICODE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix= -DESKTOP_ENTRIES= "wxMaxima" "${COMMENT}" "${DATADIR}/wxmaxima.png" \ - "wxmaxima" "Education;Science;Math;" false +PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,} post-install: + @${LN} -s ${DATADIR}/wxmaxima.png ${PREFIX}/share/pixmaps/wxmaxima.png + @${LOCALBASE}/bin/desktop-file-install \ + --mode=${SHAREMODE} --dir=${DESKTOPDIR} \ + --rebuild-mime-info-cache ${WRKSRC}/${PORTNAME:L}.desktop +# --rebuild-mime-info-cache ${WRKSRC}/${PORTNAME:tl}.desktop @${CAT} ${PKGMESSAGE} .include Modified: head/math/wxMaxima/distinfo ============================================================================== --- head/math/wxMaxima/distinfo Mon Jul 23 05:48:14 2012 (r301368) +++ head/math/wxMaxima/distinfo Mon Jul 23 06:04:20 2012 (r301369) @@ -1,2 +1,2 @@ -SHA256 (wxMaxima-11.08.0.tar.gz) = dfa25cc15de52829a93da624d42344213cc979351b5fcd3dff2afed6738832df -SIZE (wxMaxima-11.08.0.tar.gz) = 1471498 +SHA256 (wxMaxima-12.04.0.tar.gz) = 60110507e0a63738a1f420b22697eaac9bea3866122e072dcd697077e8744824 +SIZE (wxMaxima-12.04.0.tar.gz) = 1490662 Added: head/math/wxMaxima/files/patch-wxmaxima.desktop ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/wxMaxima/files/patch-wxmaxima.desktop Mon Jul 23 06:04:20 2012 (r301369) @@ -0,0 +1,11 @@ +--- ./wxmaxima.desktop.orig 2012-07-22 22:58:40.000000000 +0200 ++++ ./wxmaxima.desktop 2012-07-22 22:58:43.000000000 +0200 +@@ -2,7 +2,7 @@ + Name=wxMaxima + Comment=Perform symbolic and numeric calculations using Maxima + Exec=wxmaxima %f +-Icon=wxmaxima.png ++Icon=wxmaxima + Terminal=false + Type=Application + Categories=Education;Science;Math;X-Red-Hat-Base;X-Red-Hat-Base-Only; Modified: head/math/wxMaxima/pkg-descr ============================================================================== --- head/math/wxMaxima/pkg-descr Mon Jul 23 05:48:14 2012 (r301368) +++ head/math/wxMaxima/pkg-descr Mon Jul 23 06:04:20 2012 (r301369) @@ -5,5 +5,4 @@ dialogs. The input line has command hist completion based on previous input (tab-key). wxMaxima provides 2d formated display of maxima output. -Author: Andrej Vodopivec WWW: http://wxmaxima.sourceforge.net/ Modified: head/math/wxMaxima/pkg-plist ============================================================================== --- head/math/wxMaxima/pkg-plist Mon Jul 23 05:48:14 2012 (r301368) +++ head/math/wxMaxima/pkg-plist Mon Jul 23 06:04:20 2012 (r301369) @@ -1,5 +1,6 @@ @comment $FreeBSD$ bin/wxmaxima +%%DESKTOPDIR%%/wxmaxima.desktop share/locale/ca/LC_MESSAGES/wxMaxima.mo share/locale/cs/LC_MESSAGES/wxMaxima.mo share/locale/da/LC_MESSAGES/wxMaxima.mo @@ -15,6 +16,7 @@ share/locale/pt_BR/LC_MESSAGES/wxMaxima. share/locale/ru/LC_MESSAGES/wxMaxima.mo share/locale/uk/LC_MESSAGES/wxMaxima.mo share/locale/zh_TW/LC_MESSAGES/wxMaxima.mo +share/pixmaps/wxmaxima.png %%DATADIR%%/COPYING %%DATADIR%%/README %%DATADIR%%/autocomplete.txt @@ -25,3 +27,6 @@ share/locale/zh_TW/LC_MESSAGES/wxMaxima. %%DATADIR%%/wxmathml.lisp %%DATADIR%%/wxmaxima.png @dirrm %%DATADIR%% +@dirrmtry %%DESKTOPDIR%% +@exec %%LOCALBASE%%/bin/update-desktop-database -q > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database -q > /dev/null || /usr/bin/true