[Midnightbsd-cvs] mports: mports/devel: add devhelp

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 20 01:44:31 EDT 2007


Log Message:
-----------
add devhelp

Modified Files:
--------------
    mports/devel:
        Makefile (r1.161 -> r1.162)

Added Files:
-----------
    mports/devel/devhelp:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/devel/devhelp/files:
        patch-src_dh-base.c (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.161
retrieving revision 1.162
diff -Ldevel/Makefile -Ldevel/Makefile -u -r1.161 -r1.162
--- devel/Makefile
+++ devel/Makefile
@@ -33,6 +33,7 @@
     SUBDIR += dbus
     SUBDIR += dbus-glib
     SUBDIR += desktop-file-utils
+    SUBDIR += devhelp
     SUBDIR += devtodo
     SUBDIR += dmalloc
     SUBDIR += doxygen
--- /dev/null
+++ 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 at FreeBSD.org>
--- /dev/null
+++ devel/devhelp/pkg-plist
@@ -0,0 +1,115 @@
+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/gnome/applications/devhelp.desktop
+share/gnome/devhelp/default-prefs.js
+share/gnome/devhelp/devhelp.glade
+share/gnome/devhelp/dtd/devhelp-1.dtd
+share/gnome/devhelp/images/book_closed.png
+share/gnome/devhelp/images/book_open.png
+share/gnome/devhelp/images/helpdoc.png
+share/gnome/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 at 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/oc/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 at Latn/LC_MESSAGES/devhelp.mo
+share/locale/sv/LC_MESSAGES/devhelp.mo
+share/locale/te/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
+ at dirrm share/gnome/devhelp/ui
+ at dirrm share/gnome/devhelp/images
+ at dirrm share/gnome/devhelp/dtd
+ at dirrm share/gnome/devhelp
+ at dirrm include/devhelp-1.0/devhelp
+ at dirrm include/devhelp-1.0
+ at dirrmtry share/locale/zh_HK/LC_MESSAGES
+ at dirrmtry share/locale/zh_HK
+ at dirrmtry share/locale/te/LC_MESSAGES
+ at dirrmtry share/locale/te
+ at dirrmtry share/locale/rw/LC_MESSAGES
+ at dirrmtry share/locale/rw
+ at dirrmtry share/locale/oc/LC_MESSAGES
+ at dirrmtry share/locale/oc
+ at dirrmtry share/locale/dz/LC_MESSAGES
+ at dirrmtry share/locale/dz
+ at dirrmtry share/locale/bn_IN/LC_MESSAGES
+ at dirrmtry share/locale/bn_IN
+ at dirrmtry share/locale/be at latin/LC_MESSAGES
+ at dirrmtry share/locale/be at latin
--- /dev/null
+++ devel/devhelp/Makefile
@@ -0,0 +1,79 @@
+# New ports collection makefile for:	devhelp
+# Date created:				29 May 2003
+# Whom:					Adam Weinberger <adamw at FreeBSD.org>
+#
+# $MidnightBSD: mports/devel/devhelp/Makefile,v 1.1 2007/10/20 05:44:29 laffer1 Exp $
+# $FreeBSD: ports/devel/devhelp/Makefile,v 1.26 2007/09/12 19:25:47 marcus Exp $
+#
+
+PORTNAME=	devhelp
+PORTVERSION=	0.16
+CATEGORIES?=	devel gnome
+MASTER_SITES=	${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:C,^([[:digit:]]+\.[[:digit:]]+).*,\1,}
+DIST_SUBDIR=	gnome2
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Developer help browser for GNOME 2
+LICENSE=	gpl2
+
+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 libwnck
+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>
--- /dev/null
+++ devel/devhelp/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/devhelp-0.16.tar.bz2) = 61d2300ab657ab63c65a49311916a6d2
+SHA256 (gnome2/devhelp-0.16.tar.bz2) = 5faa6cd9e8daa95158f63d1d14e95b2027f31da4e4a107ceb1f6d510234a9c2f
+SIZE (gnome2/devhelp-0.16.tar.bz2) = 466655
--- /dev/null
+++ 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


More information about the Midnightbsd-cvs mailing list