summaryrefslogtreecommitdiffstats
path: root/x11/yelp
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-12 07:00:24 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-12 07:00:24 +0800
commit10fd95a3f061c705d18c7aa3930fdd01c30f39ce (patch)
treee62d8c66071afd8084c1457165c49e67cb4bcf08 /x11/yelp
parent93d38b170ef00c8a424197610636b23c2aad36d5 (diff)
downloadmarcuscom-ports-10fd95a3f061c705d18c7aa3930fdd01c30f39ce.tar
marcuscom-ports-10fd95a3f061c705d18c7aa3930fdd01c30f39ce.tar.gz
marcuscom-ports-10fd95a3f061c705d18c7aa3930fdd01c30f39ce.tar.bz2
marcuscom-ports-10fd95a3f061c705d18c7aa3930fdd01c30f39ce.tar.lz
marcuscom-ports-10fd95a3f061c705d18c7aa3930fdd01c30f39ce.tar.xz
marcuscom-ports-10fd95a3f061c705d18c7aa3930fdd01c30f39ce.tar.zst
marcuscom-ports-10fd95a3f061c705d18c7aa3930fdd01c30f39ce.zip
- Add yelp with seamonkey support.
- Disable mozilla-devel support for now. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5109 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/yelp')
-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-plist122
6 files changed, 271 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
new file mode 100644
index 000000000..21099e004
--- /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: ports/x11/yelp/Makefile,v 1.40 2005/11/05 04:53:41 marcus Exp $
+# $MCom: ports/x11/yelp/Makefile,v 1.63 2005/10/09 00:42:45 marcus Exp $
+#
+
+PORTNAME= yelp
+PORTVERSION= 2.12.1
+PORTREVISION= 1
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.12
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A help browser for the GNOME 2 desktop
+
+BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
+
+MOZILLA= firefox
+HEADERS_SUFX=
+
+.if !defined(WITH_MOZILLA)
+MOZILLA= firefox
+HEADERS_SUFX=
+.else
+.if ${WITH_MOZILLA}=="mozilla"
+MOZILLA= mozilla
+.else
+.if ${WITH_MOZILLA}=="seamonkey"
+MOZILLA= seamonkey
+HEADERS_SUFX=
+.else
+MOZILLA= firefox
+HEADERS_SUFX=
+.endif
+.endif
+.endif
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui gnomedocutils
+USE_AUTOTOOLS= libtool:15
+INSTALLS_ICONS= yes
+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/firefox 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 "
+ @${ECHO_MSG} " seamonkey "
+ @${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..3a2d0eca6
--- /dev/null
+++ b/x11/yelp/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/yelp-2.12.1.tar.bz2) = d6a9c142ca367447f06cee003b6d8a5d
+SIZE (gnome2/yelp-2.12.1.tar.bz2) = 815483
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..b51798ea5
--- /dev/null
+++ b/x11/yelp/pkg-plist
@@ -0,0 +1,122 @@
+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/ku/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
+@unexec rmdir %D/share/locale/ku/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/ku 2> /dev/null || true
+@dirrm share/gnome/yelp/xslt
+@dirrm share/gnome/yelp/ui
+@dirrm share/gnome/yelp/icons
+@dirrm share/gnome/yelp