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

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 27 13:21:17 EDT 2007


Log Message:
-----------
add oaf

Modified Files:
--------------
    mports/devel:
        Makefile (r1.167 -> r1.168)

Added Files:
-----------
    mports/devel/oaf:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/devel/oaf/files:
        patch-aa (r1.1)
        patch-configure (r1.1)
        patch-liboaf::oaf-fork-server.c (r1.1)
        patch-ltmain.sh (r1.1)
        patch-test_oaf-slay.in (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/Makefile,v
retrieving revision 1.167
retrieving revision 1.168
diff -Ldevel/Makefile -Ldevel/Makefile -u -r1.167 -r1.168
--- devel/Makefile
+++ devel/Makefile
@@ -104,6 +104,7 @@
     SUBDIR += nasm
     SUBDIR += ncurses
     SUBDIR += nspr
+    SUBDIR += oaf
     SUBDIR += objcunit
     SUBDIR += oniguruma4
     SUBDIR += oniguruma5
--- /dev/null
+++ devel/oaf/pkg-descr
@@ -0,0 +1,6 @@
+OAF is the Object Activation Framework, a much more powerful replacement
+for gnorba in the GNOME 1.4 development platform. It's used by Nautilus
+(and optinally by Bonobo by other GNOME applications) for advanced
+object query and activation capabilities.
+
+WWW: http://www.gnome.org/
--- /dev/null
+++ devel/oaf/pkg-plist
@@ -0,0 +1,66 @@
+bin/oaf-client
+bin/oaf-config
+bin/oaf-empty-server
+bin/oaf-run-query
+bin/oaf-slay
+bin/oaf-sysconf
+bin/oafd
+etc/oaf/oaf-config.xml
+etc/oaf/oaf-config.xml.sample
+etc/oafConf.sh
+include/liboaf/liboaf-version.h
+include/liboaf/liboaf.h
+include/liboaf/oaf-actid.h
+include/liboaf/oaf-activate.h
+include/liboaf/oaf-async.h
+include/liboaf/oaf-factory-suppress.h
+include/liboaf/oaf-factory.h
+include/liboaf/oaf-mainloop.h
+include/liboaf/oaf-plugin.h
+include/liboaf/oaf-registration.h
+include/liboaf/oaf-servreg.h
+include/liboaf/oaf-util.h
+include/liboaf/oaf.h
+lib/liboaf.a
+lib/liboaf.la
+lib/liboaf.so
+lib/liboaf.so.0
+share/aclocal/oaf.m4
+share/gnome/idl/oaf-factory.idl
+share/gnome/idl/oaf.idl
+share/gnome/oaf/OAF_naming-service.oaf
+share/gnome/oaf/empty.oafinfo
+share/locale/az/LC_MESSAGES/oaf.mo
+share/locale/bg/LC_MESSAGES/oaf.mo
+share/locale/da/LC_MESSAGES/oaf.mo
+share/locale/de/LC_MESSAGES/oaf.mo
+share/locale/el/LC_MESSAGES/oaf.mo
+share/locale/es/LC_MESSAGES/oaf.mo
+share/locale/eu/LC_MESSAGES/oaf.mo
+share/locale/fi/LC_MESSAGES/oaf.mo
+share/locale/fr/LC_MESSAGES/oaf.mo
+share/locale/ga/LC_MESSAGES/oaf.mo
+share/locale/gl/LC_MESSAGES/oaf.mo
+share/locale/hu/LC_MESSAGES/oaf.mo
+share/locale/it/LC_MESSAGES/oaf.mo
+share/locale/ja/LC_MESSAGES/oaf.mo
+share/locale/ko/LC_MESSAGES/oaf.mo
+share/locale/nl/LC_MESSAGES/oaf.mo
+share/locale/nn/LC_MESSAGES/oaf.mo
+share/locale/no/LC_MESSAGES/oaf.mo
+share/locale/pl/LC_MESSAGES/oaf.mo
+share/locale/pt/LC_MESSAGES/oaf.mo
+share/locale/pt_BR/LC_MESSAGES/oaf.mo
+share/locale/ro/LC_MESSAGES/oaf.mo
+share/locale/ru/LC_MESSAGES/oaf.mo
+share/locale/sk/LC_MESSAGES/oaf.mo
+share/locale/sl/LC_MESSAGES/oaf.mo
+share/locale/sv/LC_MESSAGES/oaf.mo
+share/locale/ta/LC_MESSAGES/oaf.mo
+share/locale/tr/LC_MESSAGES/oaf.mo
+share/locale/uk/LC_MESSAGES/oaf.mo
+share/locale/zh_CN/LC_MESSAGES/oaf.mo
+share/locale/zh_TW/LC_MESSAGES/oaf.mo
+ at dirrm include/liboaf
+ at dirrm etc/oaf
+ at unexec ps gx | grep '[0-9]:[0-9][0-9]\.[0-9][0-9] oafd --ac-activate' | awk '{print $1}' | xargs kill 2>/dev/null || true
--- /dev/null
+++ devel/oaf/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for:	oaf
+# Date created:				1st June 2000
+# Whom:					Ade Lovett <ade at FreeBSD.org>
+#
+# $MidnightBSD: mports/devel/oaf/Makefile,v 1.1 2007/10/27 17:21:15 laffer1 Exp $
+# $FreeBSD: ports/devel/oaf/Makefile,v 1.33 2007/05/19 20:03:14 flz Exp $
+#
+
+PORTNAME=	oaf
+PORTVERSION=	0.6.10
+PORTREVISION=	5
+CATEGORIES=	devel gnome
+MASTER_SITES=	${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR=	sources/oaf/0.6
+DIST_SUBDIR=	gnome
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Object Activation Framework for GNOME
+
+LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
+
+USE_AUTOTOOLS=	libtool:15
+USE_BZIP2=	yes
+USE_XLIB=	yes
+USE_GMAKE=	yes
+USE_GNOME=	gnomehack gnomeprefix gtk12 orbit libxml
+USE_GETTEXT=	yes
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+CONFIGURE_ARGS= --enable-static --enable-shared \
+		--disable-more-warnings
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LIBS="-L${LOCALBASE}/lib -lintl"
+CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd6.0
+
+MAN1=	oafd.1
+
+.include <bsd.port.mk>
--- /dev/null
+++ devel/oaf/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome/oaf-0.6.10.tar.bz2) = ed9aa2ceb70bba34034b3134b22d2729
+SHA256 (gnome/oaf-0.6.10.tar.bz2) = 0a813badfba04781d51339ec3eddc5e7702042fb5d6abffd746a79172793197e
+SIZE (gnome/oaf-0.6.10.tar.bz2) = 435621
--- /dev/null
+++ devel/oaf/files/patch-ltmain.sh
@@ -0,0 +1,28 @@
+
+$FreeBSD: ports/devel/oaf/files/patch-ltmain.sh,v 1.5 2006/10/14 08:52:47 marcus Exp $
+
+--- ltmain.sh	2001/08/27 09:51:26	1.1
++++ ltmain.sh	2001/08/27 09:51:42
+@@ -2408,6 +2408,9 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
++	  *-*-freebsd*)
++	    # FreeBSD doesn't need this...
++	    ;;
+ 	  *)
+ 	    # Add libc to deplibs on all other systems if necessary.
+ 	    if test "$build_libtool_need_lc" = "yes"; then
+@@ -4175,10 +4178,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"
--- /dev/null
+++ devel/oaf/files/patch-configure
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/devel/oaf/files/patch-configure,v 1.2 2006/10/14 08:52:46 marcus Exp $
+
+--- configure	2001/09/25 15:22:02	1.1
++++ configure	2001/09/25 15:22:25
+@@ -5647,7 +5647,7 @@
+ 
+ fi
+ 
+-for ac_prog in 'bison -y' byacc
++for ac_prog in '_bison -y' byacc
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+ set dummy $ac_prog; ac_word=$2
--- /dev/null
+++ devel/oaf/files/patch-liboaf::oaf-fork-server.c
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/devel/oaf/files/patch-liboaf::oaf-fork-server.c,v 1.4 2006/10/14 08:52:47 marcus Exp $
+
+--- liboaf/oaf-fork-server.c	2002/02/14 01:44:13	1.1
++++ liboaf/oaf-fork-server.c	2002/02/14 01:44:39
+@@ -264,6 +264,8 @@
+ 	} else if ((childpid = fork ())) {
+ 		_exit (0);	/* de-zombifier process, just exit */
+ 	} else {
++		sigprocmask (SIG_SETMASK, &omask, NULL);
++
+                 if (display)
+ 		  oaf_setenv ("DISPLAY", display);
+ 		if (od_iorstr)
--- /dev/null
+++ devel/oaf/files/patch-aa
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/devel/oaf/files/patch-aa,v 1.3 2006/10/14 08:52:46 marcus Exp $
+
+--- Makefile.in.orig	Fri Jul  5 11:27:26 2002
++++ Makefile.in	Fri Jul  5 11:28:17 2002
+@@ -145,7 +145,7 @@
+ oafconfig_DATA =  	oaf-config.xml			oaf-config.xml.sample		$(NULL)
+ 
+ 
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = oafConf.sh
+ 
+ m4datadir = $(prefix)/share/aclocal
--- /dev/null
+++ devel/oaf/files/patch-test_oaf-slay.in
@@ -0,0 +1,11 @@
+--- test/oaf-slay.in.orig	Fri Oct 18 15:33:00 2002
++++ test/oaf-slay.in	Fri Oct 18 15:33:12 2002
+@@ -51,7 +51,7 @@
+ 
+ # get OAF files
+ #
+- at oaf_dirs = ( "@prefix@/share/oaf" );
++ at oaf_dirs = ( "@datadir@/oaf" );
+ foreach $dir (split(':', $ENV{'OAF_INFO_PATH'})) {
+ 	if (-d $dir) {
+ 		push @oaf_dirs, $dir;


More information about the Midnightbsd-cvs mailing list