Hi ports,

Mail sent to the maintainer (jolan@). His answer: 
> Would you mind sending this to ports?  I don't use newsgroups anymore.

Update to pan version 0.132. It's still considered as beta
(released in Aug 2007). You can see the release note here:
http://pan.rebelbase.com/download/releases/0.132/
But i think it is better than actual version 0.14.2.

Tested on @i386. Make regress ok.

Tests, comments are welcome.

Regards,

Pea


Index: Makefile
===================================================================
RCS file: /cvs/ports/news/pan/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile    17 Nov 2007 20:39:03 -0000      1.26
+++ Makefile    6 Dec 2007 10:44:03 -0000
@@ -2,16 +2,11 @@
 
 COMMENT=       powerful Gtk+2 newsreader
 
-VER=           0.14.2
+VER=           0.132
 DISTNAME=      pan-${VER}
-PKGNAME=       ${DISTNAME}p4
+PKGNAME=       ${DISTNAME}
 CATEGORIES=    news x11
-MASTER_SITES=  http://pan.rebelbase.com/download/releases/${VER}/SOURCE/
-
-LIB_DEPENDS=   gdk_pixbuf-2.0,gdk-x11-2.0.>=0.5,gtk-x11-2.0.>=0.5::x11/gtk+2 \
-               glib-2.0,gmodule-2.0,gobject-2.0,gthread-2.0::devel/glib2 \
-               xml2.>=6.22::textproc/libxml \
-               gnet-2.0.>=0.3::net/gnet
+MASTER_SITES=  http://pan.rebelbase.com/download/releases/${VER}/source/
 
 HOMEPAGE=      http://pan.rebelbase.com/
 
@@ -25,19 +20,28 @@ PERMIT_PACKAGE_FTP= Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-WANTLIB=       X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes Xi Xinerama \
-               Xrandr Xext Xrender c cairo expat fontconfig freetype m \
-               atk-1.0 pango-1.0 pangocairo-1.0 glitz png \
-               pangoft2-1.0 pthread z
-
 USE_X11=       Yes
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS+=--disable-gtkspell
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib"
 
-post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pan
-       ${INSTALL_DATA} ${WRKBUILD}/docs/faq.html ${PREFIX}/share/doc/pan
+
+LIB_DEPENDS=   atk-1.0::devel/atk, cairo::graphics/cairo \
+               gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
+               glib-2.0,gmodule-2.0,gobject-2.0::devel/glib2 \
+               pango-1.0,pangocairo-1.0,pangoft2-1.0::devel/pango \
+               glitz::graphics/glitz \
+               gmime-2.0::mail/gmime \
+               png::graphics/png 
+
+WANTLIB=       X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
+               Xi Xinerama Xrandr Xrender c expat fontconfig freetype \
+               m pthread stdc++ z glib-2.0 gmodule-2.0 gobject-2.0 \
+               gthread-2.0 pcre glitz png pango-1.0 pangocairo-1.0 \
+               pangoft2-1.0
+
+post-configure:
+               cd ${WRKSRC}/po && for i in $$(ls *.po) ; do msgfmt -c -o 
$${i%%po}gmo $$i ; done
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/news/pan/distinfo,v
retrieving revision 1.14
diff -u -p -r1.14 distinfo
--- distinfo    5 Apr 2007 16:20:17 -0000       1.14
+++ distinfo    6 Dec 2007 10:44:03 -0000
@@ -1,5 +1,5 @@
-MD5 (pan-0.14.2.tar.gz) = afHB55cVT/+aVWuhxG3i+A==
-RMD160 (pan-0.14.2.tar.gz) = X0D2bdPxX9op/fM9gimf3dUrTfM=
-SHA1 (pan-0.14.2.tar.gz) = LLPMcvO5TQnECfuncsVBaPGAzuU=
-SHA256 (pan-0.14.2.tar.gz) = 7x8C5zQ7GPnZBLu6eP/HVy2WYJrej60cuodD1tuojPg=
-SIZE (pan-0.14.2.tar.gz) = 2708736
+MD5 (pan-0.132.tar.gz) = CZnqUvjUGHrHyP1BYGew5w==
+RMD160 (pan-0.132.tar.gz) = 4/safv80hTnOaWef4oCn9KuNQI4=
+SHA1 (pan-0.132.tar.gz) = pOD1N2plw3Z+6VHvLLdOK7fYkBY=
+SHA256 (pan-0.132.tar.gz) = yLxJ5IWTXgbv6/WxFe62LZthUE37EPUHuEZU26thCKc=
+SIZE (pan-0.132.tar.gz) = 2069718
Index: patches/patch-po_Makefile_in_in
===================================================================
RCS file: patches/patch-po_Makefile_in_in
diff -N patches/patch-po_Makefile_in_in
--- patches/patch-po_Makefile_in_in     3 Feb 2003 13:53:06 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-po_Makefile_in_in,v 1.1 2003/02/03 13:53:06 fgsch Exp $
---- po/Makefile.in.in.orig     Mon Feb  3 10:17:38 2003
-+++ po/Makefile.in.in  Mon Feb  3 10:18:21 2003
-@@ -28,7 +28,7 @@ prefix = @prefix@
- exec_prefix = @exec_prefix@
- datadir = @datadir@
- libdir = @libdir@
--localedir = $(libdir)/locale
-+localedir = $(datadir)/locale
- gnulocaledir = $(datadir)/locale
- gettextsrcdir = $(datadir)/glib-2.0/gettext/po
- subdir = po
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/news/pan/pkg/PLIST,v
retrieving revision 1.9
diff -u -p -r1.9 PLIST
--- pkg/PLIST   15 Sep 2004 18:21:21 -0000      1.9
+++ pkg/PLIST   6 Dec 2007 10:44:03 -0000
@@ -1,21 +1,28 @@
[EMAIL PROTECTED] $OpenBSD: PLIST,v 1.9 2004/09/15 18:21:21 espie Exp $
[EMAIL PROTECTED] $OpenBSD$
 bin/pan
-share/doc/pan/
-share/doc/pan/faq.html
-share/gnome/
-share/gnome/apps/
-share/gnome/apps/Internet/
-share/gnome/apps/Internet/pan.desktop
+share/applications/
+share/applications/pan.desktop
 share/locale/am/
 share/locale/am/LC_MESSAGES/
 share/locale/am/LC_MESSAGES/pan.mo
-share/locale/ca/
-share/locale/ca/LC_MESSAGES/
+share/locale/ar/
+share/locale/ar/LC_MESSAGES/
+share/locale/ar/LC_MESSAGES/pan.mo
+share/locale/az/
+share/locale/az/LC_MESSAGES/
+share/locale/az/LC_MESSAGES/pan.mo
+share/locale/bg/LC_MESSAGES/pan.mo
 share/locale/ca/LC_MESSAGES/pan.mo
 share/locale/cs/LC_MESSAGES/pan.mo
 share/locale/da/LC_MESSAGES/pan.mo
 share/locale/de/LC_MESSAGES/pan.mo
+share/locale/dz/
+share/locale/dz/LC_MESSAGES/
+share/locale/dz/LC_MESSAGES/pan.mo
 share/locale/el/LC_MESSAGES/pan.mo
+share/locale/en_CA/
+share/locale/en_CA/LC_MESSAGES/
+share/locale/en_CA/LC_MESSAGES/pan.mo
 share/locale/en_GB/
 share/locale/en_GB/LC_MESSAGES/
 share/locale/en_GB/LC_MESSAGES/pan.mo
@@ -23,10 +30,9 @@ share/locale/es/LC_MESSAGES/pan.mo
 share/locale/et/LC_MESSAGES/pan.mo
 share/locale/fi/LC_MESSAGES/pan.mo
 share/locale/fr/LC_MESSAGES/pan.mo
-share/locale/ga/
-share/locale/ga/LC_MESSAGES/
 share/locale/ga/LC_MESSAGES/pan.mo
 share/locale/gl/LC_MESSAGES/pan.mo
+share/locale/hr/LC_MESSAGES/pan.mo
 share/locale/hu/LC_MESSAGES/pan.mo
 share/locale/it/LC_MESSAGES/pan.mo
 share/locale/ja/LC_MESSAGES/pan.mo
@@ -35,16 +41,21 @@ share/locale/lt/
 share/locale/lt/LC_MESSAGES/
 share/locale/lt/LC_MESSAGES/pan.mo
 share/locale/lv/LC_MESSAGES/pan.mo
+share/locale/ms/
+share/locale/ms/LC_MESSAGES/
+share/locale/ms/LC_MESSAGES/pan.mo
+share/locale/nb/LC_MESSAGES/pan.mo
 share/locale/nl/LC_MESSAGES/pan.mo
-share/locale/no/LC_MESSAGES/pan.mo
 share/locale/pl/LC_MESSAGES/pan.mo
 share/locale/pt/LC_MESSAGES/pan.mo
 share/locale/pt_BR/LC_MESSAGES/pan.mo
+share/locale/ro/LC_MESSAGES/pan.mo
 share/locale/ru/LC_MESSAGES/pan.mo
 share/locale/sk/LC_MESSAGES/pan.mo
 share/locale/sl/LC_MESSAGES/pan.mo
-share/locale/sr/
-share/locale/sr/LC_MESSAGES/
+share/locale/sq/
+share/locale/sq/LC_MESSAGES/
+share/locale/sq/LC_MESSAGES/pan.mo
 share/locale/sr/LC_MESSAGES/pan.mo
 share/locale/[EMAIL PROTECTED]/
 share/locale/[EMAIL PROTECTED]/LC_MESSAGES/
@@ -52,9 +63,8 @@ share/locale/[EMAIL PROTECTED]/LC_MESSAGES/pan.mo
 share/locale/sv/LC_MESSAGES/pan.mo
 share/locale/tr/LC_MESSAGES/pan.mo
 share/locale/uk/LC_MESSAGES/pan.mo
-share/locale/vi/
-share/locale/vi/LC_MESSAGES/
 share/locale/vi/LC_MESSAGES/pan.mo
 share/locale/zh_CN/LC_MESSAGES/pan.mo
+share/locale/zh_TW/LC_MESSAGES/pan.mo
 share/pixmaps/
 share/pixmaps/pan.png

Reply via email to