From 5825d2cb02f4345d326cce5fac3e295c413d3e5d Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 19 Aug 2002 20:11:18 +0000 Subject: [PATCH] Add pan2 after a repo-copy from pan. pan2 is the GNOME 2 news reader based on Agent for Windows. --- news/pan2/Makefile | 18 ++++++----- news/pan2/distinfo | 2 +- news/pan2/files/patch-Makefile | 11 +++++++ news/pan2/files/patch-configure | 40 ++++++++++++++++++++++++ news/pan2/files/patch-po::Makefile.in.in | 15 --------- news/pan2/pkg-comment | 2 +- news/pan2/pkg-descr | 2 +- news/pan2/pkg-plist | 2 +- 8 files changed, 66 insertions(+), 26 deletions(-) create mode 100644 news/pan2/files/patch-Makefile create mode 100644 news/pan2/files/patch-configure delete mode 100644 news/pan2/files/patch-po::Makefile.in.in diff --git a/news/pan2/Makefile b/news/pan2/Makefile index 713490c0698b..8336e061d16e 100644 --- a/news/pan2/Makefile +++ b/news/pan2/Makefile @@ -1,27 +1,31 @@ -# New ports collection makefile for: pan -# Date created: 07 August 1999 -# Whom: Chris D. Faulhaber +# New ports collection makefile for: pan2 +# Date created: 19 August 2002 +# Whom: Joe Marcus Clarke # # $FreeBSD$ # -PORTNAME= pan -PORTVERSION= 0.11.4 +PORTNAME= pan2 +PORTVERSION= 0.13.0 CATEGORIES= news gnome MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/SOURCE/ \ http://pan.rebelbase.com/download/obsolete/${PORTVERSION}/SOURCE/ \ ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/pan -DIST_SUBDIR= gnome +DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION} +DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org +LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell2 \ + xml2.5:${PORTSDIR}/textproc/libxml2 + USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOMENG= yes -USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf +USE_GNOME= gnomeprefix gnomehack USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat" diff --git a/news/pan2/distinfo b/news/pan2/distinfo index 8b0502ba478f..bce256572d91 100644 --- a/news/pan2/distinfo +++ b/news/pan2/distinfo @@ -1 +1 @@ -MD5 (gnome/pan-0.11.4.tar.bz2) = 22993c47af617086b34211f707a84ace +MD5 (gnome2/pan-0.13.0.tar.bz2) = c1e6bb1c6f3fbb52dccd79d1f5dfbadd diff --git a/news/pan2/files/patch-Makefile b/news/pan2/files/patch-Makefile new file mode 100644 index 000000000000..b2ac9e43e33a --- /dev/null +++ b/news/pan2/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.in.orig Mon Aug 19 14:13:49 2002 ++++ Makefile.in Mon Aug 19 14:13:55 2002 +@@ -123,7 +123,7 @@ + am__include = @am__include@ + am__quote = @am__quote@ + install_sh = @install_sh@ +-SUBDIRS = po gmime pan docs tests ++SUBDIRS = po gmime pan docs + + DESKTOP_IN_FILES = pan.desktop.in + DESKTOP_FILES = $(DESKTOP_IN_FILES:.desktop.in=.desktop) diff --git a/news/pan2/files/patch-configure b/news/pan2/files/patch-configure new file mode 100644 index 000000000000..e343bf783b69 --- /dev/null +++ b/news/pan2/files/patch-configure @@ -0,0 +1,40 @@ +--- configure.orig Mon Aug 19 13:56:03 2002 ++++ configure Mon Aug 19 13:56:59 2002 +@@ -6915,23 +6915,23 @@ + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then +- echo "$as_me:$LINENO: checking for gtkspell-2.0 = 2.0.0" >&5 +-echo $ECHO_N "checking for gtkspell-2.0 = 2.0.0... $ECHO_C" >&6 ++ echo "$as_me:$LINENO: checking for gtkspell-2.0 >= 2.0.0" >&5 ++echo $ECHO_N "checking for gtkspell-2.0 >= 2.0.0... $ECHO_C" >&6 + +- if $PKG_CONFIG --exists "gtkspell-2.0 = 2.0.0" ; then ++ if $PKG_CONFIG --exists "gtkspell-2.0 >= 2.0.0" ; then + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + succeeded=yes + + echo "$as_me:$LINENO: checking GTKSPELL_CFLAGS" >&5 + echo $ECHO_N "checking GTKSPELL_CFLAGS... $ECHO_C" >&6 +- GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0 = 2.0.0"` ++ GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0 >= 2.0.0"` + echo "$as_me:$LINENO: result: $GTKSPELL_CFLAGS" >&5 + echo "${ECHO_T}$GTKSPELL_CFLAGS" >&6 + + echo "$as_me:$LINENO: checking GTKSPELL_LIBS" >&5 + echo $ECHO_N "checking GTKSPELL_LIBS... $ECHO_C" >&6 +- GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0 = 2.0.0"` ++ GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0 >= 2.0.0"` + echo "$as_me:$LINENO: result: $GTKSPELL_LIBS" >&5 + echo "${ECHO_T}$GTKSPELL_LIBS" >&6 + else +@@ -6939,7 +6939,7 @@ + GTKSPELL_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. +- GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkspell-2.0 = 2.0.0"` ++ GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkspell-2.0 >= 2.0.0"` + + fi + diff --git a/news/pan2/files/patch-po::Makefile.in.in b/news/pan2/files/patch-po::Makefile.in.in deleted file mode 100644 index c5ef826d4b70..000000000000 --- a/news/pan2/files/patch-po::Makefile.in.in +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- po/Makefile.in.in 2002/07/17 16:16:17 1.1 -+++ po/Makefile.in.in 2002/07/17 16:18:01 -@@ -60,6 +60,9 @@ - .SUFFIXES: - .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat - -+zh_CN.mo: zh_CN.po -+ OLD_PO_FILE_INPUT=1 msgfmt -o $@ $< -+ - .c.o: - $(COMPILE) $< - diff --git a/news/pan2/pkg-comment b/news/pan2/pkg-comment index d7ef68242140..fc1404e31a6d 100644 --- a/news/pan2/pkg-comment +++ b/news/pan2/pkg-comment @@ -1 +1 @@ -Threaded GNOME newsreader based on Agent for Windows +Threaded GNOME 2 newsreader based on Agent for Windows diff --git a/news/pan2/pkg-descr b/news/pan2/pkg-descr index a76eee5407e6..7dba56b05697 100644 --- a/news/pan2/pkg-descr +++ b/news/pan2/pkg-descr @@ -1,4 +1,4 @@ -A powerful and easy to use newsreader for GNOME. +A powerful and easy to use newsreader for GNOME 2. Pan has many features for easy reading and posting, displaying and saving attachments, and offline newsreading. diff --git a/news/pan2/pkg-plist b/news/pan2/pkg-plist index 1bf8f30ab653..de1d179683bd 100644 --- a/news/pan2/pkg-plist +++ b/news/pan2/pkg-plist @@ -1,8 +1,8 @@ bin/pan share/gnome/apps/Internet/pan.desktop share/gnome/pixmaps/pan.png -share/gnome/pixmaps/pan_druid.xpm 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/el/LC_MESSAGES/pan.mo