diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-09 02:46:46 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-09 02:46:46 +0800 |
commit | 8b7d57068745adc0629a1dab6e72efaca1ba1acd (patch) | |
tree | 491370d542dc48bf90a91734787af862d1c136dc /devel/devhelp | |
parent | 2ca43d6c8a2c78207eb9518f893b59557e0a5e47 (diff) | |
download | marcuscom-ports-8b7d57068745adc0629a1dab6e72efaca1ba1acd.tar marcuscom-ports-8b7d57068745adc0629a1dab6e72efaca1ba1acd.tar.gz marcuscom-ports-8b7d57068745adc0629a1dab6e72efaca1ba1acd.tar.bz2 marcuscom-ports-8b7d57068745adc0629a1dab6e72efaca1ba1acd.tar.lz marcuscom-ports-8b7d57068745adc0629a1dab6e72efaca1ba1acd.tar.xz marcuscom-ports-8b7d57068745adc0629a1dab6e72efaca1ba1acd.tar.zst marcuscom-ports-8b7d57068745adc0629a1dab6e72efaca1ba1acd.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9154 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/devhelp')
-rw-r--r-- | devel/devhelp/Makefile | 78 | ||||
-rw-r--r-- | devel/devhelp/distinfo | 3 | ||||
-rw-r--r-- | devel/devhelp/files/patch-src_dh-base.c | 13 | ||||
-rw-r--r-- | devel/devhelp/pkg-descr | 8 | ||||
-rw-r--r-- | devel/devhelp/pkg-plist | 109 |
5 files changed, 211 insertions, 0 deletions
diff --git a/devel/devhelp/Makefile b/devel/devhelp/Makefile new file mode 100644 index 000000000..7764a6ba2 --- /dev/null +++ b/devel/devhelp/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: devhelp +# Date created: 29 May 2003 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD: ports/devel/devhelp/Makefile,v 1.24 2007/07/08 08:17:18 marcus Exp $ +# + +PORTNAME= devhelp +PORTVERSION= 0.15 +PORTREVISION= 1 +CATEGORIES?= devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C,^([[:digit:]]+\.[[:digit:]]+).*,\1,} +DIST_SUBDIR= gnome2 + +MAINTAINER= ports@FreeBSD.org +COMMENT= Developer help browser for GNOME 2 + +BUILD_DEPENDS= ${LOCALBASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} +RUN_DEPENDS= ${LOCALBASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA} + +MOZILLA= firefox + +.if !defined(WITH_MOZILLA) +MOZILLA= firefox +.else +.if ${WITH_MOZILLA} == "xulrunner" +MOZILLA= xulrunner +.elif ${WITH_MOZILLA} == "seamonkey" +MOZILLA= seamonkey +.endif +.endif + +USE_BZIP2= yes +USE_XLIB= yes +USE_GETTEXT= yes +USE_GMAKE= yes +USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui +USE_AUTOTOOLS= libtool:15 +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +USE_LDCONFIG= ${LOCALBASE}/lib/${MOZILLA} +GCONF_SCHEMAS= devhelp.schemas +CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-gecko=${MOZILLA} + +OPTIONS= GEDIT "Enable GEdit plug-in support" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_GEDIT) +BUILD_DEPENDS+= gedit:${PORTSDIR}/editors/gedit +RUN_DEPENDS+= gedit:${PORTSDIR}/editors/gedit +PLIST_SUB+= GEDIT="" +.else +PLIST_SUB+= GEDIT="@comment " +.endif + +# This target is only meant to be used by the port maintainer. +x-generate-plist: + (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${SED} -E 's,.*share/nls/.+$$,,g;s,^@dirrm share/((gnome/[^d]|pixmaps|application|locale).*|gnome$$),,;s,^@dirrm etc/gconf.*,,;s,^etc/gconf/gconf.*,,'|${TR} -s '\n') > temp-pkg-plist + +post-patch: +.if defined(WITHOUT_GEDIT) + @${REINPLACE_CMD} -e 's|gedit-plugin||' \ + ${WRKSRC}/misc/Makefile.in +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " By default the port 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} " xulrunner seamonkey " + @${ECHO_MSG} "" + +.include <bsd.port.post.mk> diff --git a/devel/devhelp/distinfo b/devel/devhelp/distinfo new file mode 100644 index 000000000..34eb732e9 --- /dev/null +++ b/devel/devhelp/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/devhelp-0.15.tar.bz2) = e5ec0eebc5313c0d11c2371b2b1a9c16 +SHA256 (gnome2/devhelp-0.15.tar.bz2) = f10cfa64f61ae0acd4ec25e9338c3e77175c43957b8ed1886f970183d7510ec6 +SIZE (gnome2/devhelp-0.15.tar.bz2) = 457445 diff --git a/devel/devhelp/files/patch-src_dh-base.c b/devel/devhelp/files/patch-src_dh-base.c new file mode 100644 index 000000000..ffa3c3b54 --- /dev/null +++ b/devel/devhelp/files/patch-src_dh-base.c @@ -0,0 +1,13 @@ +--- src/dh-base.c.orig Tue May 15 13:00:24 2007 ++++ src/dh-base.c Sun Jul 8 03:48:13 2007 +@@ -233,6 +233,10 @@ base_add_books_in_data_dir (DhBase *base + dir = g_build_filename (data_dir, "devhelp", "books", NULL); + base_add_books (base, dir); + g_free (dir); ++ ++ dir = g_build_filename (data_dir, "doc", NULL); ++ base_add_books (base, dir); ++ g_free (dir); + } + + static void diff --git a/devel/devhelp/pkg-descr b/devel/devhelp/pkg-descr new file mode 100644 index 000000000..2d617b391 --- /dev/null +++ b/devel/devhelp/pkg-descr @@ -0,0 +1,8 @@ +devhelp is a developer's help browser for GNOME 2. It is a GUI +frontend to books about GNOME development, providing cross-referenced, +easily searchable information. Many books are available, and can +be found through the project's website. + +WWW: http://www.imendio.com/projects/devhelp/ + +-Adam Weinberger <adamw@FreeBSD.org> diff --git a/devel/devhelp/pkg-plist b/devel/devhelp/pkg-plist new file mode 100644 index 000000000..6681c0044 --- /dev/null +++ b/devel/devhelp/pkg-plist @@ -0,0 +1,109 @@ +bin/devhelp +include/devhelp-1.0/devhelp/dh-base.h +include/devhelp-1.0/devhelp/dh-book-tree.h +include/devhelp-1.0/devhelp/dh-error.h +include/devhelp-1.0/devhelp/dh-html.h +include/devhelp-1.0/devhelp/dh-keyword-model.h +include/devhelp-1.0/devhelp/dh-link.h +include/devhelp-1.0/devhelp/dh-parser.h +include/devhelp-1.0/devhelp/dh-preferences.h +include/devhelp-1.0/devhelp/dh-search.h +include/devhelp-1.0/devhelp/dh-util.h +include/devhelp-1.0/devhelp/dh-window.h +include/devhelp-1.0/devhelp/eggfindbar.h +%%GEDIT%%lib/gedit-2/plugins/devhelp.gedit-plugin +%%GEDIT%%lib/gedit-2/plugins/devhelp/__init__.py +%%GEDIT%%lib/gedit-2/plugins/devhelp/__init__.pyc +%%GEDIT%%lib/gedit-2/plugins/devhelp/__init__.pyo +%%GEDIT%%lib/gedit-2/plugins/devhelp/devhelp.py +%%GEDIT%%lib/gedit-2/plugins/devhelp/devhelp.pyc +%%GEDIT%%lib/gedit-2/plugins/devhelp/devhelp.pyo +lib/libdevhelp-1.a +lib/libdevhelp-1.la +lib/libdevhelp-1.so +lib/libdevhelp-1.so.0 +libdata/pkgconfig/libdevhelp-1.0.pc +share/applications/devhelp.desktop +share/devhelp/default-prefs.js +share/devhelp/devhelp.glade +share/devhelp/dtd/devhelp-1.dtd +share/devhelp/images/book_closed.png +share/devhelp/images/book_open.png +share/devhelp/images/helpdoc.png +share/devhelp/ui/window.ui +share/icons/hicolor/48x48/apps/devhelp.png +share/icons/hicolor/scalable/apps/devhelp.svg +share/locale/am/LC_MESSAGES/devhelp.mo +share/locale/ar/LC_MESSAGES/devhelp.mo +share/locale/az/LC_MESSAGES/devhelp.mo +share/locale/be/LC_MESSAGES/devhelp.mo +share/locale/be@latin/LC_MESSAGES/devhelp.mo +share/locale/bg/LC_MESSAGES/devhelp.mo +share/locale/bn_IN/LC_MESSAGES/devhelp.mo +share/locale/ca/LC_MESSAGES/devhelp.mo +share/locale/cs/LC_MESSAGES/devhelp.mo +share/locale/da/LC_MESSAGES/devhelp.mo +share/locale/de/LC_MESSAGES/devhelp.mo +share/locale/dz/LC_MESSAGES/devhelp.mo +share/locale/el/LC_MESSAGES/devhelp.mo +share/locale/en_CA/LC_MESSAGES/devhelp.mo +share/locale/en_GB/LC_MESSAGES/devhelp.mo +share/locale/es/LC_MESSAGES/devhelp.mo +share/locale/et/LC_MESSAGES/devhelp.mo +share/locale/fi/LC_MESSAGES/devhelp.mo +share/locale/fr/LC_MESSAGES/devhelp.mo +share/locale/gl/LC_MESSAGES/devhelp.mo +share/locale/gu/LC_MESSAGES/devhelp.mo +share/locale/he/LC_MESSAGES/devhelp.mo +share/locale/hi/LC_MESSAGES/devhelp.mo +share/locale/hr/LC_MESSAGES/devhelp.mo +share/locale/hu/LC_MESSAGES/devhelp.mo +share/locale/is/LC_MESSAGES/devhelp.mo +share/locale/it/LC_MESSAGES/devhelp.mo +share/locale/ja/LC_MESSAGES/devhelp.mo +share/locale/kn/LC_MESSAGES/devhelp.mo +share/locale/ko/LC_MESSAGES/devhelp.mo +share/locale/lt/LC_MESSAGES/devhelp.mo +share/locale/lv/LC_MESSAGES/devhelp.mo +share/locale/mk/LC_MESSAGES/devhelp.mo +share/locale/ml/LC_MESSAGES/devhelp.mo +share/locale/ms/LC_MESSAGES/devhelp.mo +share/locale/nb/LC_MESSAGES/devhelp.mo +share/locale/ne/LC_MESSAGES/devhelp.mo +share/locale/nl/LC_MESSAGES/devhelp.mo +share/locale/or/LC_MESSAGES/devhelp.mo +share/locale/pa/LC_MESSAGES/devhelp.mo +share/locale/pl/LC_MESSAGES/devhelp.mo +share/locale/pt/LC_MESSAGES/devhelp.mo +share/locale/pt_BR/LC_MESSAGES/devhelp.mo +share/locale/ru/LC_MESSAGES/devhelp.mo +share/locale/rw/LC_MESSAGES/devhelp.mo +share/locale/sk/LC_MESSAGES/devhelp.mo +share/locale/sl/LC_MESSAGES/devhelp.mo +share/locale/sq/LC_MESSAGES/devhelp.mo +share/locale/sr/LC_MESSAGES/devhelp.mo +share/locale/sr@Latn/LC_MESSAGES/devhelp.mo +share/locale/sv/LC_MESSAGES/devhelp.mo +share/locale/th/LC_MESSAGES/devhelp.mo +share/locale/tr/LC_MESSAGES/devhelp.mo +share/locale/uk/LC_MESSAGES/devhelp.mo +share/locale/vi/LC_MESSAGES/devhelp.mo +share/locale/zh_CN/LC_MESSAGES/devhelp.mo +share/locale/zh_HK/LC_MESSAGES/devhelp.mo +share/locale/zh_TW/LC_MESSAGES/devhelp.mo +@dirrm share/devhelp/ui +@dirrm share/devhelp/images +@dirrm share/devhelp/dtd +@dirrm share/devhelp +@dirrm include/devhelp-1.0/devhelp +@dirrm include/devhelp-1.0 +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin |