From tkato432@yahoo.com  Wed Dec 12 18:21:43 2007
Return-Path: <tkato432@yahoo.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1D29F16A4E9
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 12 Dec 2007 18:21:18 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa102lp.auone-net.jp (msa102lp.auone-net.jp [222.3.140.165])
	by mx1.freebsd.org (Postfix) with ESMTP id E561C13C4E9
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 12 Dec 2007 18:21:17 +0000 (UTC)
	(envelope-from tkato432@yahoo.com)
Received: from msa102lp.auone-net.jp (MSA102lp [172.27.12.180])
	by msa102lp.auone-net.jp (au one net msa) with ESMTP id 75E667823B
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 13 Dec 2007 03:05:48 +0900 (JST)
Received: from localhost.localdomain (ZT066221.ppp.dion.ne.jp [59.128.66.221])
	by msa102lp.auone-net.jp (au one net msa) with ESMTP id A5E6F4AC031
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 13 Dec 2007 03:05:45 +0900 (JST)
Message-Id: <20071213030133.278cf6d0.tkato432@yahoo.com>
Date: Thu, 13 Dec 2007 03:01:33 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: math/fityk to 0.8.2

>Number:         118599
>Category:       ports
>Synopsis:       Update port: math/fityk to 0.8.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 12 18:30:08 UTC 2007
>Closed-Date:    Fri Dec 14 18:45:13 UTC 2007
>Last-Modified:  Fri Dec 14 18:50:10 UTC 2007
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.2-RELEASE-p8 i386
>Organization:
>Environment:
>Description:
- Update to version 0.8.2

New file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/fityk/Makefile math/fityk/Makefile
--- /usr/ports/math/fityk/Makefile	Mon Jul 23 19:07:01 2007
+++ math/fityk/Makefile	Tue Oct 23 05:06:31 2007
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	fityk
-PORTVERSION=	0.8.1
-PORTREVISION=	2
+PORTVERSION=	0.8.2
 CATEGORIES=	math
 MASTER_SITES=	SF
 
@@ -21,32 +20,20 @@
 
 USE_BZIP2=	yes
 USE_GNOME=	gnometarget gtk20
-USE_WX=		2.6
+USE_WX=		2.6+
 WX_CONF_ARGS=	absolute
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool:15
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS=	--disable-3rdparty
 USE_LDCONFIG=	yes
 
 MAN1=		fityk.1
-PLIST_FILES=	bin/cfityk \
-		bin/fityk \
-		include/fityk.h \
-		lib/libfityk.a \
-		lib/libfityk.la \
-		lib/libfityk.so \
-		lib/libfityk.so.0 \
-		%%DATADIR%%/fitykhelp.htb \
-		%%DATADIR%%/tips.txt
-PLIST_DIRS=	%%DATADIR%%
 
 CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|^CPPFLAGS=|#CPPFLAGS=|g' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|config 3rdparty|config|g ; \
-		 s|^install-data-am:|install-data-am:#|g' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's|fityk_tips|tips|g' ${WRKSRC}/src/wxgui/gui.cpp
+post-install:
+	@-update-mime-database ${PREFIX}/share/mime
 
 .include <bsd.port.mk>
diff -urN /usr/ports/math/fityk/distinfo math/fityk/distinfo
--- /usr/ports/math/fityk/distinfo	Fri Apr 27 01:12:52 2007
+++ math/fityk/distinfo	Tue Oct 23 05:06:31 2007
@@ -1,3 +1,3 @@
-MD5 (fityk-0.8.1.tar.bz2) = f93d2ce9b9c21e0d79d69f1adb797a66
-SHA256 (fityk-0.8.1.tar.bz2) = f0135432d93711255180c2d36b628642cb4f37b3f3e93dec6828c50797a6551c
-SIZE (fityk-0.8.1.tar.bz2) = 1294006
+MD5 (fityk-0.8.2.tar.bz2) = fc0fb1571f17f4415026193e8fb2ba38
+SHA256 (fityk-0.8.2.tar.bz2) = ec8782be043603dda6ddc5c34b5d0d5da5f1c603bbcb3fdeab75743c21602a4b
+SIZE (fityk-0.8.2.tar.bz2) = 1332533
diff -urN /usr/ports/math/fityk/pkg-plist math/fityk/pkg-plist
--- /usr/ports/math/fityk/pkg-plist	Thu Jan  1 09:00:00 1970
+++ math/fityk/pkg-plist	Tue Oct 23 05:06:32 2007
@@ -0,0 +1,15 @@
+bin/cfityk
+bin/fityk
+include/fityk.h
+lib/libfityk.a
+lib/libfityk.la
+lib/libfityk.so
+lib/libfityk.so.0
+share/applications/fityk.desktop
+%%DATADIR%%/fitykhelp.htb
+share/mime/packages/fityk.xml
+share/pixmaps/fityk.png
+@dirrm %%DATADIR%%
+@dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Dec 12 22:24:35 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118599 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Dec 14 18:45:12 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118599 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118599: commit references a PR
Date: Fri, 14 Dec 2007 18:46:03 +0000 (UTC)

 miwi        2007-12-14 18:45:47 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/fityk           Makefile distinfo 
   Added files:
     math/fityk           pkg-plist 
   Log:
   - Update to 0.8.2
   
   PR:             118599
   Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
   
   Revision  Changes    Path
   1.23      +5 -18     ports/math/fityk/Makefile
   1.14      +3 -3      ports/math/fityk/distinfo
   1.3       +15 -0     ports/math/fityk/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
