diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-03 01:17:13 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-12-03 01:17:13 +0800 |
commit | 4335c3ff215b200de29597c675d968c399b71645 (patch) | |
tree | 9ad928798516011bb8550a1d432935c75ae933fc /x11/yelp | |
parent | 3538b5b7d8974d535d16779b2c999f28230a8f87 (diff) | |
download | marcuscom-ports-4335c3ff215b200de29597c675d968c399b71645.tar marcuscom-ports-4335c3ff215b200de29597c675d968c399b71645.tar.gz marcuscom-ports-4335c3ff215b200de29597c675d968c399b71645.tar.bz2 marcuscom-ports-4335c3ff215b200de29597c675d968c399b71645.tar.lz marcuscom-ports-4335c3ff215b200de29597c675d968c399b71645.tar.xz marcuscom-ports-4335c3ff215b200de29597c675d968c399b71645.tar.zst marcuscom-ports-4335c3ff215b200de29597c675d968c399b71645.zip |
Update to 2.5.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1388 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/yelp')
-rw-r--r-- | x11/yelp/Makefile | 32 | ||||
-rw-r--r-- | x11/yelp/distinfo | 1 | ||||
-rw-r--r-- | x11/yelp/files/patch-configure | 25 | ||||
-rw-r--r-- | x11/yelp/files/patch-src_man2html_yelp-man2html.c | 55 | ||||
-rw-r--r-- | x11/yelp/files/patch-src_yelp-window.c | 12 | ||||
-rw-r--r-- | x11/yelp/pkg-descr | 4 | ||||
-rw-r--r-- | x11/yelp/pkg-plist | 114 |
7 files changed, 243 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile new file mode 100644 index 000000000..ac7dc93c5 --- /dev/null +++ b/x11/yelp/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: yelp +# Date created: 18 May 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/x11/yelp/Makefile,v 1.26 2003/11/10 19:50:27 marcus Exp $ +# + +PORTNAME= yelp +PORTVERSION= 2.5.0 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A help browser for the GNOME 2 desktop + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_GNOME= gnomeprefix gnomehack libgnomeui libgtkhtml +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias" + +#post-patch: +# @${REINPLACE_CMD} -e 's|\@prefix\@/share|\@datadir\@|g' \ +# ${WRKSRC}/stylesheets/docbook/catalog.in + +.include <bsd.port.mk> diff --git a/x11/yelp/distinfo b/x11/yelp/distinfo new file mode 100644 index 000000000..c23bd7f10 --- /dev/null +++ b/x11/yelp/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/yelp-2.5.0.tar.bz2) = 1b0df5559f5b92f2826431f7246eb00a diff --git a/x11/yelp/files/patch-configure b/x11/yelp/files/patch-configure new file mode 100644 index 000000000..20702046e --- /dev/null +++ b/x11/yelp/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig Tue Aug 12 03:36:10 2003 ++++ configure Tue Aug 12 10:30:37 2003 +@@ -18129,6 +18129,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -20408,12 +20409,12 @@ + + YELP_MODULES="gnome-vfs-2.0 libgnomeui-2.0 libbonobo-2.0" + +-YELP_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir gnome-vfs-2.0 libgnomeui-2.0 libbonobo-2.0 bonobo-activation-2.0| sed -e 's/^/ /' -e 's/ \+$//' -e 's/ \+/ -I /g' -e 's/^ \+//'`" ++YELP_IDL_INCLUDES="`$PKG_CONFIG --variable=idldir libgtkhtml-2.0 gnome-vfs-2.0 libgnomeui-2.0 libbonobo-2.0 bonobo-activation-2.0| xargs -n1 echo -n ' -I '`" + + + + case $host in +- *-linux-gnu | *-irix6*) ++ *-linux-gnu | *-irix6* | *-freebsd*) + cat >>confdefs.h <<\_ACEOF + #define HAVE_MAN_WHEREIS 1 + _ACEOF diff --git a/x11/yelp/files/patch-src_man2html_yelp-man2html.c b/x11/yelp/files/patch-src_man2html_yelp-man2html.c new file mode 100644 index 000000000..e30c81ba0 --- /dev/null +++ b/x11/yelp/files/patch-src_man2html_yelp-man2html.c @@ -0,0 +1,55 @@ +--- src/man2html/yelp-man2html.c.orig Tue Jun 24 05:03:50 2003 ++++ src/man2html/yelp-man2html.c Thu Aug 14 15:47:14 2003 +@@ -129,6 +129,7 @@ + #include <string.h> + #include <sys/stat.h> + #include <dirent.h> ++#include <sys/param.h> + #include <sys/types.h> + #include <time.h> + #include <sys/time.h> +@@ -3727,6 +3728,9 @@ + main(int argc, char **argv) + { + char *t=NULL; ++#ifdef __FreeBSD__ ++ char *source=NULL; ++#endif + int i,len; + char *buf; + char *h = '\0'; +@@ -3845,6 +3849,24 @@ + * right. + */ + ++#ifdef __FreeBSD__ ++ if ((source = strstr(output, "source: ")) != NULL) ++ { ++ int j; ++ for(i = 8, j = 0; i < strlen(source); i++) ++ { ++ if (!g_ascii_isspace((unsigned char)source[i]) && source[i] != ')') ++ { ++ output[j++] = source[i]; ++ } ++ } ++ output[j] = '\0'; ++ } else { ++ i = strlen(output) - 1; ++ while (g_ascii_isspace((unsigned char)output[i])) ++ output[i--] = '\0'; ++ } ++#else + len = strlen(output); + for(i = 0; i < len; i++) + { +@@ -3855,8 +3877,7 @@ + i = strlen(output) - 1; + while (g_ascii_isspace((unsigned char)output[i])) + output[i--] = '\0'; +- +- ++#endif + if (output[0]) { + #ifdef HAVE_LIBBZ2 + if(strstr(output,".bz2")) diff --git a/x11/yelp/files/patch-src_yelp-window.c b/x11/yelp/files/patch-src_yelp-window.c new file mode 100644 index 000000000..413ee46a5 --- /dev/null +++ b/x11/yelp/files/patch-src_yelp-window.c @@ -0,0 +1,12 @@ +--- src/yelp-window.c.orig Tue Dec 2 11:47:05 2003 ++++ src/yelp-window.c Tue Dec 2 11:47:16 2003 +@@ -841,8 +841,8 @@ + static void + window_disconnect (YelpWindow *window) + { +- g_return_if_fail (YELP_IS_WINDOW (window)); + YelpWindowPriv *priv = window->priv; ++ g_return_if_fail (YELP_IS_WINDOW (window)); + + priv->loading = 0; + if (priv->page_handler) { diff --git a/x11/yelp/pkg-descr b/x11/yelp/pkg-descr new file mode 100644 index 000000000..5267ad53b --- /dev/null +++ b/x11/yelp/pkg-descr @@ -0,0 +1,4 @@ +Yelp is a help browser for GNOME 2.0. The name Yelp was suggested by Daniel +Lundin. Yelp is pronounced the same as the swedish word for 'help'. + +WWW: http://www.gnome.org/ diff --git a/x11/yelp/pkg-plist b/x11/yelp/pkg-plist new file mode 100644 index 000000000..1780beb84 --- /dev/null +++ b/x11/yelp/pkg-plist @@ -0,0 +1,114 @@ +bin/gnome-help +bin/yelp +bin/yelp-pregenerate +libdata/bonobo/servers/GNOME_Yelp.server +libexec/yelp-db2html +libexec/yelp-info2html +libexec/yelp-man2html +share/gnome/applications/yelp.desktop +share/gnome/images/yelp/bcg.png +share/gnome/images/yelp/empty.png +share/gnome/images/yelp/gnome2-button.png +share/gnome/sgml/docbook/yelp/db2html-admon.xsl +share/gnome/sgml/docbook/yelp/db2html-biblio.xsl +share/gnome/sgml/docbook/yelp/db2html-block.xsl +share/gnome/sgml/docbook/yelp/db2html-callout.xsl +share/gnome/sgml/docbook/yelp/db2html-chunk.xsl +share/gnome/sgml/docbook/yelp/db2html-common.xsl +share/gnome/sgml/docbook/yelp/db2html-division.xsl +share/gnome/sgml/docbook/yelp/db2html-ebnf.xsl +share/gnome/sgml/docbook/yelp/db2html-footnote.xsl +share/gnome/sgml/docbook/yelp/db2html-formal.xsl +share/gnome/sgml/docbook/yelp/db2html-glossary.xsl +share/gnome/sgml/docbook/yelp/db2html-header.xsl +share/gnome/sgml/docbook/yelp/db2html-html.xsl +share/gnome/sgml/docbook/yelp/db2html-index.xsl +share/gnome/sgml/docbook/yelp/db2html-inline.xsl +share/gnome/sgml/docbook/yelp/db2html-list.xsl +share/gnome/sgml/docbook/yelp/db2html-lists.xsl +share/gnome/sgml/docbook/yelp/db2html-math.xsl +share/gnome/sgml/docbook/yelp/db2html-media.xsl +share/gnome/sgml/docbook/yelp/db2html-navbar.xsl +share/gnome/sgml/docbook/yelp/db2html-param.xsl +share/gnome/sgml/docbook/yelp/db2html-qanda.xsl +share/gnome/sgml/docbook/yelp/db2html-refentry.xsl +share/gnome/sgml/docbook/yelp/db2html-suppressed.xsl +share/gnome/sgml/docbook/yelp/db2html-synopsis.xsl +share/gnome/sgml/docbook/yelp/db2html-table.xsl +share/gnome/sgml/docbook/yelp/db2html-title.xsl +share/gnome/sgml/docbook/yelp/db2html-titlepage.xsl +share/gnome/sgml/docbook/yelp/db2html-tmp.xsl +share/gnome/sgml/docbook/yelp/db2html-toc.xsl +share/gnome/sgml/docbook/yelp/db2html-xref.xsl +share/gnome/sgml/docbook/yelp/db2html.xsl +share/gnome/sgml/docbook/yelp/gettext.xsl +share/gnome/sgml/docbook/yelp/yelp-customization.xsl +share/gnome/yelp/important_docs.xml +share/gnome/yelp/toc.xml +share/gnome/yelp/ui/yelp.glade +share/locale/am/LC_MESSAGES/yelp.mo +share/locale/ar/LC_MESSAGES/yelp.mo +share/locale/az/LC_MESSAGES/yelp.mo +share/locale/be/LC_MESSAGES/yelp.mo +share/locale/bg/LC_MESSAGES/yelp.mo +share/locale/bn/LC_MESSAGES/yelp.mo +share/locale/ca/LC_MESSAGES/yelp.mo +share/locale/cs/LC_MESSAGES/yelp.mo +share/locale/cy/LC_MESSAGES/yelp.mo +share/locale/da/LC_MESSAGES/yelp.mo +share/locale/de/LC_MESSAGES/yelp.mo +share/locale/el/LC_MESSAGES/yelp.mo +share/locale/eo/LC_MESSAGES/yelp.mo +share/locale/es/LC_MESSAGES/yelp.mo +share/locale/et/LC_MESSAGES/yelp.mo +share/locale/fa/LC_MESSAGES/yelp.mo +share/locale/fi/LC_MESSAGES/yelp.mo +share/locale/fr/LC_MESSAGES/yelp.mo +share/locale/ga/LC_MESSAGES/yelp.mo +share/locale/gl/LC_MESSAGES/yelp.mo +share/locale/he/LC_MESSAGES/yelp.mo +share/locale/hi/LC_MESSAGES/yelp.mo +share/locale/hu/LC_MESSAGES/yelp.mo +share/locale/id/LC_MESSAGES/yelp.mo +share/locale/is/LC_MESSAGES/yelp.mo +share/locale/it/LC_MESSAGES/yelp.mo +share/locale/ja/LC_MESSAGES/yelp.mo +share/locale/kn/LC_MESSAGES/yelp.mo +share/locale/ko/LC_MESSAGES/yelp.mo +share/locale/li/LC_MESSAGES/yelp.mo +share/locale/lt/LC_MESSAGES/yelp.mo +share/locale/lv/LC_MESSAGES/yelp.mo +share/locale/mk/LC_MESSAGES/yelp.mo +share/locale/ml/LC_MESSAGES/yelp.mo +share/locale/mn/LC_MESSAGES/yelp.mo +share/locale/mr/LC_MESSAGES/yelp.mo +share/locale/ms/LC_MESSAGES/yelp.mo +share/locale/ne/LC_MESSAGES/yelp.mo +share/locale/nl/LC_MESSAGES/yelp.mo +share/locale/nn/LC_MESSAGES/yelp.mo +share/locale/no/LC_MESSAGES/yelp.mo +share/locale/pl/LC_MESSAGES/yelp.mo +share/locale/pt/LC_MESSAGES/yelp.mo +share/locale/pt_BR/LC_MESSAGES/yelp.mo +share/locale/ro/LC_MESSAGES/yelp.mo +share/locale/ru/LC_MESSAGES/yelp.mo +share/locale/sk/LC_MESSAGES/yelp.mo +share/locale/sl/LC_MESSAGES/yelp.mo +share/locale/sq/LC_MESSAGES/yelp.mo +share/locale/sr/LC_MESSAGES/yelp.mo +share/locale/sr@Latn/LC_MESSAGES/yelp.mo +share/locale/sv/LC_MESSAGES/yelp.mo +share/locale/ta/LC_MESSAGES/yelp.mo +share/locale/th/LC_MESSAGES/yelp.mo +share/locale/tr/LC_MESSAGES/yelp.mo +share/locale/uk/LC_MESSAGES/yelp.mo +share/locale/vi/LC_MESSAGES/yelp.mo +share/locale/wa/LC_MESSAGES/yelp.mo +share/locale/zh_CN/LC_MESSAGES/yelp.mo +share/locale/zh_TW/LC_MESSAGES/yelp.mo +@dirrm share/gnome/yelp/ui +@dirrm share/gnome/yelp +@dirrm share/gnome/sgml/docbook/yelp +@dirrm share/gnome/sgml/docbook +@dirrm share/gnome/sgml +@dirrm share/gnome/images/yelp |