diff options
| author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-26 10:19:12 +0800 | 
|---|---|---|
| committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-26 10:19:12 +0800 | 
| commit | 23301e681e824ac9dc9e04f3047007cb11f8d5de (patch) | |
| tree | 4df51cfcb5e315804b801118ccde1226d752927f | |
| parent | 87139b36a72e1a0af5e6349db84f8ee098a6bb53 (diff) | |
| download | marcuscom-ports-23301e681e824ac9dc9e04f3047007cb11f8d5de.tar.gz marcuscom-ports-23301e681e824ac9dc9e04f3047007cb11f8d5de.tar.zst marcuscom-ports-23301e681e824ac9dc9e04f3047007cb11f8d5de.zip | |
-USE_X_PREFIX -> USE_XLIB.
-X11BASE -> LOCALBASE, gecko ports live in LOCALBASE.
-Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6817 df743ca5-7f9a-e211-a948-0013205c9059
| -rw-r--r-- | devel/devhelp/Makefile | 67 | ||||
| -rw-r--r-- | devel/devhelp/distinfo | 3 | ||||
| -rwxr-xr-x | devel/devhelp/files/devhelp.sh | 24 | ||||
| -rw-r--r-- | devel/devhelp/files/patch-ltmain.sh | 51 | ||||
| -rw-r--r-- | devel/devhelp/files/patch-src::dh-base.c | 10 | ||||
| -rw-r--r-- | devel/devhelp/pkg-descr | 8 | ||||
| -rw-r--r-- | devel/devhelp/pkg-plist | 79 | 
7 files changed, 242 insertions, 0 deletions
| diff --git a/devel/devhelp/Makefile b/devel/devhelp/Makefile new file mode 100644 index 000000000..75b6bd7c6 --- /dev/null +++ b/devel/devhelp/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for:	devhelp +# Date created:				29 May 2003 +# Whom:					Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME=	devhelp +PORTVERSION=	0.10 +PORTREVISION=	3 +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=	mozilla + +.if !defined(WITH_MOZILLA) +MOZILLA=	mozilla +.else +.if ${WITH_MOZILLA}=="firefox" +MOZILLA=	firefox +.endif +.endif + +USE_BZIP2=	yes +USE_XLIB=	yes +USE_GMAKE=	yes +USE_GNOME=	gnomehack intlhack gnomeprefix libgnomeui +USE_RC_SUBR=	yes +GNU_CONFIGURE=	yes +INSTALLS_SHLIB=	yes +GCONF_SCHEMAS=	devhelp.schemas +CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \ +		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" +CONFIGURE_ARGS=	--with-mozilla=${MOZILLA} + +# 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 + +.include <bsd.port.pre.mk> + +pre-everything:: +	@${ECHO_MSG} "" +	@${ECHO_MSG} " By default the port 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} "  firefox       " +	@${ECHO_MSG} "" + +post-patch: +	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ +		-e 's|%%MOZILLA%%|${MOZILLA}|g' \ +		${FILESDIR}/devhelp.sh > ${WRKDIR}/devhelp.sh + +post-install: +	@${INSTALL_SCRIPT} -m 555 ${WRKDIR}/devhelp.sh ${PREFIX}/etc/rc.d/000.devhelp.sh +	@${LDCONFIG} -m ${LOCALBASE}/lib/${MOZILLA} + +.include <bsd.port.post.mk> diff --git a/devel/devhelp/distinfo b/devel/devhelp/distinfo new file mode 100644 index 000000000..b783f7ae2 --- /dev/null +++ b/devel/devhelp/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/devhelp-0.10.tar.bz2) = 14374f2a9bf952e58e2c4674afd2c6d6 +SHA256 (gnome2/devhelp-0.10.tar.bz2) = 4c8b96cbfcf75bc11cc2de2e071cd7593b6b4a7d9f0469f5cbdffa8f95a295a4 +SIZE (gnome2/devhelp-0.10.tar.bz2) = 403189 diff --git a/devel/devhelp/files/devhelp.sh b/devel/devhelp/files/devhelp.sh new file mode 100755 index 000000000..676d01b65 --- /dev/null +++ b/devel/devhelp/files/devhelp.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# +# $FreeBSD: ports/devel/devhelp/files/devhelp.sh,v 1.3 2006/02/20 20:46:54 dougb Exp $ +# +# PROVIDE: devhelp +# REQUIRE: ldconfig + +. /etc/rc.subr + +name=devhelp + +start_cmd=devhelp_start +stop_cmd=: + +[ -z "$devhelp_libdir" ] && devhelp_libdir="%%PREFIX%%/lib/%%MOZILLA%%" + +devhelp_start() { +    if [ -d "$devhelp_libdir" ]; then +	/sbin/ldconfig -m "$devhelp_libdir" +    fi +} + +load_rc_config $name +run_rc_command "$1" diff --git a/devel/devhelp/files/patch-ltmain.sh b/devel/devhelp/files/patch-ltmain.sh new file mode 100644 index 000000000..d2334e2a5 --- /dev/null +++ b/devel/devhelp/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig	Sun Jun 29 11:51:47 2003 ++++ ltmain.sh	Sun Jun 29 21:02:37 2003 +@@ -1280,7 +1280,7 @@ + 	  esac + 	elif test "X$arg" = "X-lc_r"; then + 	 case $host in +-	 *-*-openbsd* | *-*-freebsd*) ++	 *-*-openbsd* | *-*-freebsd4*) + 	   # Do not include libc_r directly, use -pthread flag. + 	   continue + 	   ;; +@@ -1290,8 +1290,16 @@ + 	continue + 	;; +  ++      -pthread) ++      compile_command="$compile_command -pthread" ++      finalize_command="$finalize_command -pthread" ++      compiler_flags="$compiler_flags -pthread" ++      continue ++      ;; ++ +       -module) + 	module=yes ++	build_old_libs=no + 	continue + 	;; +  +@@ -3000,6 +3008,9 @@ + 	    # problems, so we reset it completely + 	    verstring= + 	    ;; ++	  *-*-freebsd*) ++	    # FreeBSD doesn't need this... ++	    ;; + 	  *) + 	    verstring="0.0" + 	    ;; +@@ -5428,10 +5439,12 @@ + 	fi +  + 	# Install the pseudo-library for information purposes. ++	if /usr/bin/false; then + 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + 	instname="$dir/$name"i + 	$show "$install_prog $instname $destdir/$name" + 	$run eval "$install_prog $instname $destdir/$name" || exit $? ++	fi +  + 	# Maybe install the static library, too. + 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" 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..8e174831a --- /dev/null +++ b/devel/devhelp/files/patch-src::dh-base.c @@ -0,0 +1,10 @@ +--- src/dh-base.c.orig	Sat Jun 28 22:16:34 2003 ++++ src/dh-base.c	Sun Jun 29 13:40:23 2003 +@@ -222,6 +222,7 @@ + 	 + 	/* Insert the books from default gtk-doc install path. */ + 	base_add_books (base, DATADIR "/gtk-doc/html"); ++	base_add_books (base, DATADIR "/../doc"); // FreeBSD default doc path + 	base_add_books (base, "/usr/share/gtk-doc/html"); + 	base_add_books (base, DATADIR "/devhelp/books"); + 	dir = g_build_filename (g_get_home_dir (), ".devhelp", "books", NULL); 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..c9ff21e47 --- /dev/null +++ b/devel/devhelp/pkg-plist @@ -0,0 +1,79 @@ +bin/devhelp +etc/rc.d/000.devhelp.sh +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 +lib/libdevhelp-1.a +lib/libdevhelp-1.so +lib/libdevhelp-1.so.0 +libdata/pkgconfig/libdevhelp-1.0.pc +share/gnome/applications/devhelp.desktop +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/gnome/mime-info/devhelp.keys +share/gnome/mime-info/devhelp.mime +share/gnome/pixmaps/devhelp.png +share/locale/am/LC_MESSAGES/devhelp.mo +share/locale/az/LC_MESSAGES/devhelp.mo +share/locale/be/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/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/fi/LC_MESSAGES/devhelp.mo +share/locale/fr/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/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/nl/LC_MESSAGES/devhelp.mo +share/locale/no/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/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/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_TW/LC_MESSAGES/devhelp.mo +@dirrm share/gnome/devhelp/ui +@dirrm share/gnome/devhelp/images +@dirrm share/gnome/devhelp/dtd +@dirrm share/gnome/devhelp +@dirrm include/devhelp-1.0/devhelp +@dirrm include/devhelp-1.0 | 
