summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-13 02:17:24 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-07-13 02:17:24 +0800
commit71eede7384fb173d1e0c12535d79cc9898bd4ebe (patch)
tree27979dd0ac4eccf0eec2811db26b194b03e64065 /x11
parentd0c671189012feb3c83f21ab573cf7ec66257a37 (diff)
downloadmarcuscom-ports-71eede7384fb173d1e0c12535d79cc9898bd4ebe.tar
marcuscom-ports-71eede7384fb173d1e0c12535d79cc9898bd4ebe.tar.gz
marcuscom-ports-71eede7384fb173d1e0c12535d79cc9898bd4ebe.tar.bz2
marcuscom-ports-71eede7384fb173d1e0c12535d79cc9898bd4ebe.tar.lz
marcuscom-ports-71eede7384fb173d1e0c12535d79cc9898bd4ebe.tar.xz
marcuscom-ports-71eede7384fb173d1e0c12535d79cc9898bd4ebe.tar.zst
marcuscom-ports-71eede7384fb173d1e0c12535d79cc9898bd4ebe.zip
Update to 2.11.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4222 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/yelp/Makefile109
-rw-r--r--x11/yelp/distinfo2
-rw-r--r--x11/yelp/files/gnome-help.sh17
-rw-r--r--x11/yelp/files/yelp.sh17
-rw-r--r--x11/yelp/pkg-descr4
-rw-r--r--x11/yelp/pkg-plist119
6 files changed, 268 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
new file mode 100644
index 000000000..b176edf5a
--- /dev/null
+++ b/x11/yelp/Makefile
@@ -0,0 +1,109 @@
+# New ports collection makefile for: yelp
+# Date created: 18 May 2002
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= yelp
+PORTVERSION= 2.11.1
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.11
+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}=="firefox"
+MOZILLA= firefox
+.else
+.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
+MOZILLA= mozilla-devel
+HEADERS_SUFX= -devel
+.else
+MOZILLA= mozilla
+HEADERS_SUFX=
+.endif
+.endif
+.endif
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-mozilla=${MOZILLA}
+MAKE_ENV= G_CHARSET_ALIAS="${LOCALBASE}/libdata/charset.alias"
+
+GCONF_SCHEMAS= yelp.schemas
+
+OPTIONS= MAN "Enable man page support" off \
+ INFO "Enable GNU info support" off
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+.if ${MOZILLA}=="mozilla-devel"
+USE_GCC= 3.4
+.endif
+.endif
+
+.if defined(WITH_MAN)
+CONFIGURE_ARGS+=--enable-man
+.endif
+
+.if defined(WITH_INFO)
+CONFIGURE_ARGS+=--enable-info
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " By default yelp 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} " firefox "
+ @${ECHO_MSG} ""
+
+post-patch:
+.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="mozilla-devel"
+ @${REINPLACE_CMD} -e 's|xmozilla|xmozilla-devel|g; \
+ s|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g; \
+ s|$$MOZILLA-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \
+ ${WRKSRC}/configure
+.endif
+
+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.post.mk>
diff --git a/x11/yelp/distinfo b/x11/yelp/distinfo
new file mode 100644
index 000000000..994135d9f
--- /dev/null
+++ b/x11/yelp/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/yelp-2.11.1.tar.bz2) = f133a46fb20eb4733e5d5078a7c93ece
+SIZE (gnome2/yelp-2.11.1.tar.bz2) = 797333
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..7f9cb82a6
--- /dev/null
+++ b/x11/yelp/pkg-plist
@@ -0,0 +1,119 @@
+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/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-201D.png
+share/gnome/yelp/icons/yelp-watermark-blockquote-201E.png
+share/gnome/yelp/important_docs.xml
+share/gnome/yelp/man.xml
+share/gnome/yelp/scrollkeeper.xml
+share/gnome/yelp/toc.xml
+share/gnome/yelp/ui/yelp-ui.xml
+share/gnome/yelp/ui/yelp.glade
+share/gnome/yelp/xslt/db-title.xsl
+share/gnome/yelp/xslt/db2html.xsl
+share/gnome/yelp/xslt/info2html.xsl
+share/gnome/yelp/xslt/man2html.xsl
+share/gnome/yelp/xslt/toc2html.xsl
+share/gnome/yelp/xslt/yelp-common.xsl
+share/gnome/yelp/yelp.js
+share/icons/hicolor/192x192/apps/yelp-icon-big.png
+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/nso/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/rw/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/ug/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/xh/LC_MESSAGES/yelp.mo
+share/locale/zh_CN/LC_MESSAGES/yelp.mo
+share/locale/zh_TW/LC_MESSAGES/yelp.mo
+share/locale/zu/LC_MESSAGES/yelp.mo
+@unexec rmdir %D/share/locale/zu/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/zu 2> /dev/null || true
+@unexec rmdir %D/share/locale/ug/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/ug 2> /dev/null || true
+@unexec rmdir %D/share/locale/nso/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/nso 2> /dev/null || true
+@unexec rmdir %D/share/locale/mr/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/mr 2> /dev/null || true
+@dirrm share/gnome/yelp/xslt
+@dirrm share/gnome/yelp/ui
+@dirrm share/gnome/yelp/icons
+@dirrm share/gnome/yelp