diff options
-rw-r--r-- | x11/yelp/Makefile | 79 | ||||
-rw-r--r-- | x11/yelp/distinfo | 2 | ||||
-rw-r--r-- | x11/yelp/files/gnome-help.sh | 17 | ||||
-rw-r--r-- | x11/yelp/files/yelp.sh | 17 | ||||
-rw-r--r-- | x11/yelp/pkg-descr | 4 | ||||
-rw-r--r-- | x11/yelp/pkg-plist | 129 |
6 files changed, 248 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile new file mode 100644 index 000000000..bb16cfd78 --- /dev/null +++ b/x11/yelp/Makefile @@ -0,0 +1,79 @@ +# New ports collection makefile for: yelp +# Date created: 18 May 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/x11/yelp/Makefile,v 1.33 2004/11/07 22:24:25 marcus Exp $ +# + +PORTNAME= yelp +PORTVERSION= 2.9.1 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.9 +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A help browser for the GNOME 2 desktop + +BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-doc-utils.pc:${PORTSDIR}/textproc/gnomedocutils \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-doc-utils.pc:${PORTSDIR}/textproc/gnomedocutils \ + ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} + +MOZILLA= mozilla +HEADERS_SUFX= + +.if !defined(WITH_MOZILLA) +MOZILLA= mozilla +HEADERS_SUFX= +.else +.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2" +MOZILLA= mozilla-devel +HEADERS_SUFX= -devel +.else +MOZILLA= mozilla +HEADERS_SUFX= +.endif +.endif + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui +USE_LIBTOOL_VER=15 +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias" + +GCONF_SCHEMAS= yelp.schemas + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default epiphany uses www/mozilla for html rendering, but you can" + @${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:" + @${ECHO_MSG} + @${ECHO_MSG} " mozilla-devel " + @${ECHO_MSG} "" + +post-patch: + @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \ + ${WRKSRC}/configure + +post-configure: + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%MOZILLA%%|${MOZILLA}|g' <${FILESDIR}/yelp.sh \ + > ${WRKDIR}/yelp.sh + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \ + s|%%X11BASE%%|${X11BASE}|g ; \ + s|%%MOZILLA%%|${MOZILLA}|g' <${FILESDIR}/gnome-help.sh \ + > ${WRKDIR}/gnome-help.sh + +post-install: + ${MV} -f ${PREFIX}/bin/yelp ${PREFIX}/bin/yelp-bin + ${MV} -f ${PREFIX}/bin/gnome-help ${PREFIX}/bin/gnome-help-bin + ${INSTALL_SCRIPT} ${WRKDIR}/yelp.sh ${PREFIX}/bin/yelp + ${INSTALL_SCRIPT} ${WRKDIR}/gnome-help.sh ${PREFIX}/bin/gnome-help + +.include <bsd.port.mk> diff --git a/x11/yelp/distinfo b/x11/yelp/distinfo new file mode 100644 index 000000000..9cf2a6825 --- /dev/null +++ b/x11/yelp/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/yelp-2.9.1.tar.bz2) = d33211382f87f995d060812cd97dac19 +SIZE (gnome2/yelp-2.9.1.tar.bz2) = 665844 diff --git a/x11/yelp/files/gnome-help.sh b/x11/yelp/files/gnome-help.sh new file mode 100644 index 000000000..0951d0096 --- /dev/null +++ b/x11/yelp/files/gnome-help.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +dist_bin=`dirname $0` + +MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%% + +if [ -n "$LD_LIBRARY_PATH" ]; then + LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH +else + LD_LIBRARY_PATH=$MOZILLA_HOME +fi +export LD_LIBRARY_PATH + +MOZILLA_FIVE_HOME=$MOZILLA_HOME +export MOZILLA_FIVE_HOME + +exec "%%PREFIX%%/bin/gnome-help-bin" "$@" diff --git a/x11/yelp/files/yelp.sh b/x11/yelp/files/yelp.sh new file mode 100644 index 000000000..52a6643b7 --- /dev/null +++ b/x11/yelp/files/yelp.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +dist_bin=`dirname $0` + +MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%% + +if [ -n "$LD_LIBRARY_PATH" ]; then + LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH +else + LD_LIBRARY_PATH=$MOZILLA_HOME +fi +export LD_LIBRARY_PATH + +MOZILLA_FIVE_HOME=$MOZILLA_HOME +export MOZILLA_FIVE_HOME + +exec "%%PREFIX%%/bin/yelp-bin" "$@" diff --git a/x11/yelp/pkg-descr b/x11/yelp/pkg-descr new file mode 100644 index 000000000..d38af5629 --- /dev/null +++ b/x11/yelp/pkg-descr @@ -0,0 +1,4 @@ +Yelp is a help browser for GNOME 2.0 that displays GNOME +help documents, info pages, manpages, and more. + +WWW: http://www.gnome.org/ diff --git a/x11/yelp/pkg-plist b/x11/yelp/pkg-plist new file mode 100644 index 000000000..4513eb159 --- /dev/null +++ b/x11/yelp/pkg-plist @@ -0,0 +1,129 @@ +bin/gnome-help +bin/gnome-help-bin +bin/yelp +bin/yelp-bin +libdata/bonobo/servers/GNOME_Yelp.server +share/gnome/applications/yelp.desktop +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-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-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-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/l10n.xml +share/gnome/sgml/docbook/yelp/man2html.xsl +share/gnome/yelp/default.css +share/gnome/yelp/icons/yelp-icon-caution.png +share/gnome/yelp/icons/yelp-icon-important.png +share/gnome/yelp/icons/yelp-icon-note.png +share/gnome/yelp/icons/yelp-icon-tip.png +share/gnome/yelp/icons/yelp-icon-warning.png +share/gnome/yelp/icons/yelp-watermark-blockquote-00AB.png +share/gnome/yelp/icons/yelp-watermark-blockquote-00BB.png +share/gnome/yelp/icons/yelp-watermark-blockquote-201C.png +share/gnome/yelp/icons/yelp-watermark-blockquote-201E.png +share/gnome/yelp/important_docs.xml +share/gnome/yelp/toc.xml +share/gnome/yelp/ui/yelp-ui.xml +share/gnome/yelp/ui/yelp.glade +share/locale/af/LC_MESSAGES/yelp.mo +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/bs/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/en_CA/LC_MESSAGES/yelp.mo +share/locale/en_GB/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/eu/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/gu/LC_MESSAGES/yelp.mo +share/locale/he/LC_MESSAGES/yelp.mo +share/locale/hi/LC_MESSAGES/yelp.mo +share/locale/hr/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/ka/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/nb/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/pa/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/tg/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/icons +@dirrm share/gnome/yelp +@dirrm share/gnome/sgml/docbook/yelp +@dirrm share/gnome/sgml/docbook +@dirrm share/gnome/sgml |