summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/cantus_3/Makefile43
-rw-r--r--audio/cantus_3/distinfo3
-rw-r--r--audio/cantus_3/files/patch-src::libs::lib_charset.c11
-rw-r--r--audio/cantus_3/files/patch-src::plugins::cantushashvalue.c29
-rw-r--r--audio/cantus_3/files/patch-src::ui_gtk2::gui_preferences.cc11
-rw-r--r--audio/cantus_3/pkg-descr7
-rw-r--r--audio/cantus_3/pkg-plist36
-rw-r--r--audio/gqmpeg/Makefile4
-rw-r--r--audio/gqmpeg/pkg-plist4
-rw-r--r--audio/musicbox-tag-editor/Makefile11
-rw-r--r--audio/paman/Makefile34
-rw-r--r--audio/paman/distinfo3
-rw-r--r--audio/paman/files/patch-src_Makefile.in11
-rw-r--r--audio/paman/files/patch-src_paman.cc21
-rw-r--r--audio/paman/pkg-descr4
-rw-r--r--audio/pulseaudio/Makefile93
-rw-r--r--audio/pulseaudio/distinfo3
-rw-r--r--audio/pulseaudio/files/patch-configure36
-rw-r--r--audio/pulseaudio/files/patch-libpulse-browse.pc.in11
-rw-r--r--audio/pulseaudio/files/patch-libpulse-mainloop-glib.pc.in11
-rw-r--r--audio/pulseaudio/files/patch-libpulse-simple.pc.in11
-rw-r--r--audio/pulseaudio/files/patch-libpulse.pc.in9
-rw-r--r--audio/pulseaudio/files/patch-src_daemon_default.pa.in11
-rw-r--r--audio/pulseaudio/files/patch-src_daemon_main.c10
-rw-r--r--audio/pulseaudio/files/patch-src_modules_oss-util.c25
-rw-r--r--audio/pulseaudio/files/patch-src_pulse_thread-mainloop.c14
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_atomic.h98
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_core-util.c49
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_mutex-posix.c13
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_pstream.c42
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_refcnt.h11
-rw-r--r--audio/pulseaudio/files/patch-src_pulsecore_shm.c10
-rw-r--r--audio/pulseaudio/pkg-descr8
-rw-r--r--audio/pulseaudio/pkg-install63
-rw-r--r--audio/pulseaudio/pkg-plist276
-rw-r--r--databases/mysql-query-browser/Makefile2
-rw-r--r--deskutils/akamaru/Makefile44
-rw-r--r--deskutils/akamaru/distinfo3
-rw-r--r--deskutils/akamaru/files/patch-Makefile19
-rw-r--r--deskutils/akamaru/files/patch-populate-dock.sh27
-rw-r--r--deskutils/akamaru/pkg-descr6
-rw-r--r--deskutils/akamaru/pkg-plist4
-rw-r--r--deskutils/dlume/Makefile29
-rw-r--r--deskutils/dlume/distinfo3
-rw-r--r--deskutils/dlume/pkg-descr8
-rw-r--r--deskutils/gxmessage/Makefile29
-rw-r--r--deskutils/gxmessage/distinfo3
-rw-r--r--deskutils/gxmessage/pkg-descr4
-rw-r--r--devel/libunicode/Makefile31
-rw-r--r--devel/libunicode/distinfo3
-rw-r--r--devel/libunicode/files/patch-aa11
-rw-r--r--devel/libunicode/files/patch-iso8859.c11
-rw-r--r--devel/libunicode/files/patch-latin1.c11
-rw-r--r--devel/libunicode/pkg-descr5
-rw-r--r--devel/libunicode/pkg-plist7
-rw-r--r--devel/monodoc/Makefile31
-rw-r--r--devel/monodoc/distinfo3
-rw-r--r--devel/monodoc/pkg-descr4
-rw-r--r--devel/monodoc/pkg-plist46
59 files changed, 1370 insertions, 10 deletions
diff --git a/audio/cantus_3/Makefile b/audio/cantus_3/Makefile
new file mode 100644
index 000000000..585c19207
--- /dev/null
+++ b/audio/cantus_3/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: cantus_3
+# Date created: 18 May 2004
+# Whom: asa@gascom.ru
+#
+# $FreeBSD$
+#
+
+PORTNAME= cantus
+PORTVERSION= 3.0.2
+PORTREVISION= 1
+DISTVERSIONSUFFIX= -testing.src
+CATEGORIES= audio
+MASTER_SITES= SF
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Tool for tagging and renaming MP3 and OGG/Vorbis files
+
+LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
+ glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
+ ogg.5:${PORTSDIR}/audio/libogg \
+ sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
+ vorbis.4:${PORTSDIR}/audio/libvorbis
+
+CONFLICTS= cantus-1*
+USE_GETTEXT= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix libglade2 glib20
+USE_LDCONFIG= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --program-transform-name="" --disable-static
+WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
+
+post-patch:
+ @${REINPLACE_CMD} -Ee 's|-ldld||g;s|-ldl||g;/ALL_LINGUAS=/s|=(.*)|="\1"|;\
+ /LIBS=/s|-lgthr|${PTHREAD_LIBS} &|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-ldl||;s|-lrt||' ${WRKSRC}/source/cantus/Makefile.in
+ @${REINPLACE_CMD} -e 's|PACKAGE_LIB_DIR "cantus-3.glade"|PACKAGE_DATA_DIR "/cantus/glade/cantus.glade"|'\
+ ${WRKSRC}/source/cantus/gui_controller.cc
+
+.include <bsd.port.mk>
diff --git a/audio/cantus_3/distinfo b/audio/cantus_3/distinfo
new file mode 100644
index 000000000..753352c60
--- /dev/null
+++ b/audio/cantus_3/distinfo
@@ -0,0 +1,3 @@
+MD5 (cantus-3.0.2-testing.src.tar.gz) = f1380ed6a4e772310b185ff89245635b
+SHA256 (cantus-3.0.2-testing.src.tar.gz) = 0ea294dfd684142400fe179c5da9bd9ffc8716c01f60216cd55be5731d663c16
+SIZE (cantus-3.0.2-testing.src.tar.gz) = 511104
diff --git a/audio/cantus_3/files/patch-src::libs::lib_charset.c b/audio/cantus_3/files/patch-src::libs::lib_charset.c
new file mode 100644
index 000000000..c488908ff
--- /dev/null
+++ b/audio/cantus_3/files/patch-src::libs::lib_charset.c
@@ -0,0 +1,11 @@
+--- src/libs/lib_charset.c.orig Tue May 18 14:25:50 2004
++++ source/cantus/charset.c Tue May 18 14:25:59 2004
+@@ -207,7 +207,7 @@
+ outptr = out;
+
+ retry:
+- if (iconv(cd, (char**)&input, &length, &outptr, &outleft) == -1) {
++ if (iconv(cd, (const char**)&input, &length, &outptr, &outleft) == -1) {
+ int used;
+ switch (errno) {
+ case E2BIG:
diff --git a/audio/cantus_3/files/patch-src::plugins::cantushashvalue.c b/audio/cantus_3/files/patch-src::plugins::cantushashvalue.c
new file mode 100644
index 000000000..d1f11f2e7
--- /dev/null
+++ b/audio/cantus_3/files/patch-src::plugins::cantushashvalue.c
@@ -0,0 +1,29 @@
+--- src/plugins/cantushashvalue.c.orig 2007-08-03 14:31:22.000000000 +0200
++++ source/cantus/cantushashvalue.c 2007-08-03 14:35:10.000000000 +0200
+@@ -81,7 +81,7 @@
+ g_assert(hvalue != NULL);
+ switch (type) {
+ case G_TYPE_INT:
+- value_set_int(hvalue, (gint)value);
++ value_set_int(hvalue, (gint64)value);
+ break;
+
+ case G_TYPE_CHAR:
+@@ -90,7 +90,7 @@
+ break;
+
+ case G_TYPE_BOOLEAN:
+- value_set_bool(hvalue, (gboolean)value);
++ value_set_bool(hvalue, (gint64)value);
+ break;
+
+ case G_TYPE_POINTER:
+@@ -157,7 +157,7 @@
+ if (hvalue->type != G_TYPE_BOOLEAN)
+ g_warning("G_TYPE_BOOLEAN value requested from non-G_TYPE_BOOLEAN"
+ " container.\n");
+- return (gboolean)hvalue->value;
++ return (gint64) hvalue->value;
+ }
+
+
diff --git a/audio/cantus_3/files/patch-src::ui_gtk2::gui_preferences.cc b/audio/cantus_3/files/patch-src::ui_gtk2::gui_preferences.cc
new file mode 100644
index 000000000..9384433ea
--- /dev/null
+++ b/audio/cantus_3/files/patch-src::ui_gtk2::gui_preferences.cc
@@ -0,0 +1,11 @@
+--- src/ui-gtk2/gui_preferences.cc.orig 2007-08-12 19:50:46.000000000 +0200
++++ source/cantus/gui_preferences.cc 2007-08-12 19:51:17.000000000 +0200
+@@ -81,7 +81,7 @@
+ }
+ Gtk::CheckButton *check = dynamic_cast<Gtk::CheckButton*>(widget);
+ if (check) {
+- check->set_active((gboolean)value);
++ check->set_active(value);
+ return TRUE;
+ }
+ return TRUE;
diff --git a/audio/cantus_3/pkg-descr b/audio/cantus_3/pkg-descr
new file mode 100644
index 000000000..30f35e961
--- /dev/null
+++ b/audio/cantus_3/pkg-descr
@@ -0,0 +1,7 @@
+Cantus is an easy to use tool for tagging and renaming MP3 and OGG/Vorbis files.
+It has many features including mass tagging and renaming of MP3s, the ability to
+generate a tag out of the filename, filter definitions for renaming, recursive
+actions, CDDB (Freedb) lookup (no CD needed), copy between ID3V1 and ID3V2 tags,
+and a lot more.
+
+WWW: http://cantus.sourceforge.net/
diff --git a/audio/cantus_3/pkg-plist b/audio/cantus_3/pkg-plist
new file mode 100644
index 000000000..9ec628f8e
--- /dev/null
+++ b/audio/cantus_3/pkg-plist
@@ -0,0 +1,36 @@
+bin/cantus
+lib/libcantusplugin_id3copier.la
+lib/libcantusplugin_id3copier.so
+lib/libcantusplugin_id3copier.so.3
+lib/libcantusplugin_id3v1.la
+lib/libcantusplugin_id3v1.so
+lib/libcantusplugin_id3v1.so.3
+lib/libcantusplugin_id3v2.la
+lib/libcantusplugin_id3v2.so
+lib/libcantusplugin_id3v2.so.3
+lib/libcantusplugin_mpegheader.la
+lib/libcantusplugin_mpegheader.so
+lib/libcantusplugin_mpegheader.so.3
+lib/libcantusplugin_tag2filename.la
+lib/libcantusplugin_tag2filename.so
+lib/libcantusplugin_tag2filename.so.3
+lib/libcantusplugin_vorbis.la
+lib/libcantusplugin_vorbis.so
+lib/libcantusplugin_vorbis.so.3
+share/cantus/glade/cantus.glade
+share/cantus/glade/cantus.gladep
+share/cantus/glade/strings.c
+share/pixmaps/cantus/general/general.png
+share/pixmaps/cantus/logo/cantus.svg
+share/pixmaps/cantus/logo/cantus_tag.png
+share/locale/de/LC_MESSAGES/cantus.mo
+share/locale/es/LC_MESSAGES/cantus.mo
+share/locale/fr/LC_MESSAGES/cantus.mo
+share/locale/it/LC_MESSAGES/cantus.mo
+share/locale/nl/LC_MESSAGES/cantus.mo
+share/locale/pl/LC_MESSAGES/cantus.mo
+@dirrm share/cantus/glade
+@dirrm share/cantus
+@dirrm share/pixmaps/cantus/general
+@dirrm share/pixmaps/cantus/logo
+@dirrm share/pixmaps/cantus
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile
index e63e1a649..d38bed2e9 100644
--- a/audio/gqmpeg/Makefile
+++ b/audio/gqmpeg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gqmpeg
PORTVERSION= 0.20.0
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES+= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -41,10 +41,8 @@ MAN1= gqmpeg.1
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX= -gnome
CONFIGURE_ENV+= USE_GNOME="yes"
-PLIST_SUB+= DATADIR="share/gnome"
.else
CONFIGURE_ENV+= USE_GNOME=""
-PLIST_SUB+= DATADIR="share"
.endif
.if !defined(WITH_MPG321)
diff --git a/audio/gqmpeg/pkg-plist b/audio/gqmpeg/pkg-plist
index 91bfcf96c..508860518 100644
--- a/audio/gqmpeg/pkg-plist
+++ b/audio/gqmpeg/pkg-plist
@@ -1,7 +1,7 @@
bin/gqmpeg
bin/gqmpeg-shoutcast-plugin.sh
-%%GNOME:%%%%DATADIR%%/apps/Multimedia/gqmpeg.desktop
-%%GNOME:%%%%DATADIR%%/pixmaps/gqmpeg.png
+%%GNOME:%%share/gnome/apps/Multimedia/gqmpeg.desktop
+%%GNOME:%%share/pixmaps/gqmpeg.png
share/gqmpeg/skins/README
share/gqmpeg/skins/SKIN-SPECS
share/gqmpeg/skins/mrclean/blue-handle-24.png
diff --git a/audio/musicbox-tag-editor/Makefile b/audio/musicbox-tag-editor/Makefile
index 18a007d78..2bb670bea 100644
--- a/audio/musicbox-tag-editor/Makefile
+++ b/audio/musicbox-tag-editor/Makefile
@@ -3,11 +3,12 @@
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
-# $MCom: ports/audio/musicbox-tag-editor/Makefile,v 1.3 2007/05/02 16:11:23 ahze Exp $
+# $MCom: ports/audio/musicbox-tag-editor/Makefile,v 1.4 2007/05/19 21:35:58 marcus Exp $
+#
PORTNAME= musicbox-tag-editor
PORTVERSION= 0.2.3
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= musicbox
@@ -27,7 +28,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --program-suffix=-tag-editor
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${PREFIX}/share/gnome/pixmaps|' ${WRKSRC}/data/musicbox.glade
- @${REINPLACE_CMD} -e 's|Exec=musicbox|Exec=musicbox-tag-editor|' ${WRKSRC}/data/musicbox.desktop
+ @${REINPLACE_CMD} -e 's|/usr/share/pixmaps|${PREFIX}/share/pixmaps|' \
+ ${WRKSRC}/data/musicbox.glade
+ @${REINPLACE_CMD} -e 's|Exec=musicbox|Exec=musicbox-tag-editor|' \
+ ${WRKSRC}/data/musicbox.desktop
.include <bsd.port.mk>
diff --git a/audio/paman/Makefile b/audio/paman/Makefile
new file mode 100644
index 000000000..6e73738e7
--- /dev/null
+++ b/audio/paman/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: paman
+# Date created: 2005-03-27
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= paman
+PORTVERSION= 0.6
+PORTREVISION= 4
+CATEGORIES= audio
+MASTER_SITES= http://0pointer.de/lennart/projects/paman/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Gtk+ frontend for the polypaudio sound server
+
+LIB_DEPENDS= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
+ polyp-0.7.0:${PORTSDIR}/audio/polypaudio
+
+USE_GCC= 3.4+
+GNU_CONFIGURE= yes
+USE_GNOME= gnomeprefix gnomehack
+USE_XLIB= yes
+CONFIGURE_ARGS= --disable-lynx
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
+ LDFLAGS="${PTHREAD_LIBS}"
+
+DATADIR= share/${PORTNAME}
+
+PLIST_FILES= bin/paman \
+ %%DATADIR%%/paman.glade
+PLIST_DIRS= %%DATADIR%%
+
+.include <bsd.port.mk>
diff --git a/audio/paman/distinfo b/audio/paman/distinfo
new file mode 100644
index 000000000..9be220094
--- /dev/null
+++ b/audio/paman/distinfo
@@ -0,0 +1,3 @@
+MD5 (paman-0.6.tar.gz) = ea46666ff75b49aa6153946a84be9565
+SHA256 (paman-0.6.tar.gz) = 88cb071415ec800893b9259ed6d0842aa6add50be9029a62f324d9a3f45ea2ee
+SIZE (paman-0.6.tar.gz) = 106687
diff --git a/audio/paman/files/patch-src_Makefile.in b/audio/paman/files/patch-src_Makefile.in
new file mode 100644
index 000000000..6b68740fe
--- /dev/null
+++ b/audio/paman/files/patch-src_Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Fri Apr 29 23:02:10 2005
++++ src/Makefile.in Fri Apr 29 23:02:24 2005
+@@ -137,7 +137,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lpolyp-error-0.7
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
diff --git a/audio/paman/files/patch-src_paman.cc b/audio/paman/files/patch-src_paman.cc
new file mode 100644
index 000000000..0cbf53e59
--- /dev/null
+++ b/audio/paman/files/patch-src_paman.cc
@@ -0,0 +1,21 @@
+--- src/paman.cc.orig Wed May 30 16:58:45 2007
++++ src/paman.cc Wed May 30 16:59:37 2007
+@@ -16,7 +16,9 @@
+ struct pa_context *context = NULL;
+ struct pa_mainloop_api *mainloop_api = NULL;
+
+-extern "C" static void context_state_callback(struct pa_context *c, void *userdata);
++extern "C"
++{
++static void context_state_callback(struct pa_context *c, void *userdata);
+
+ #define WINDOW_TITLE "Polypaudio Manager"
+
+@@ -66,6 +68,7 @@
+ }
+
+ killConnection();
++}
+ }
+
+ void createConnection() {
diff --git a/audio/paman/pkg-descr b/audio/paman/pkg-descr
new file mode 100644
index 000000000..e1e15fb74
--- /dev/null
+++ b/audio/paman/pkg-descr
@@ -0,0 +1,4 @@
+Polypaudio Manager (paman) is a simple Gtk+ frontend for the polypaudio
+sound server.
+
+WWW: http://0pointer.de/lennart/projects/paman/
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
new file mode 100644
index 000000000..0981bc59e
--- /dev/null
+++ b/audio/pulseaudio/Makefile
@@ -0,0 +1,93 @@
+# New ports collection makefile for: polypaudio
+# Date created: 29 October 2004
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= pulseaudio
+PORTVERSION= 0.9.6
+PORTREVISION= 4
+CATEGORIES= audio
+MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Sound server for UNIX
+
+LIB_DEPENDS= samplerate.1:${PORTSDIR}/audio/libsamplerate \
+ oil-0.3.1:${PORTSDIR}/devel/liboil
+
+CONFLICTS= polypaudio-[1-9]*
+
+USE_GNOME= gnometarget gnomehack glib20 ltverhack
+USE_XLIB= yes
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool:15 libltdl:15
+USE_GMAKE= yes
+USE_GETOPT_LONG=yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ LIBS="-lm"
+
+CONFIGURE_ARGS= --localstatedir=/var \
+ --disable-lirc # untested
+
+OPTIONS= JACK "JACK audio support" Off \
+ AVAHI "Enable Avahi mDNS support" On \
+ HAL "Enable HAL support" On \
+ GCONF "Enable GConf support" On
+
+PULSE_VERSION= ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PLIST_SUB= PULSE_VERSION=${PULSE_VERSION}
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_JACK)
+LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
+PLIST_SUB+= JACK=""
+.else
+PLIST_SUB+= JACK="@comment "
+CONFIGURE_ARGS+=--disable-jack
+.endif
+
+.if !defined(WITHOUT_AVAHI)
+LIB_DEPENDS+= avahi-core.5:${PORTSDIR}/net/avahi
+PLIST_SUB+= AVAHI=""
+.else
+CONFIGURE_ARGS+=--disable-avahi
+PLIST_SUB+= AVAHI="@comment "
+.endif
+
+.if !defined(WITHOUT_HAL)
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
+PLIST_SUB+= HAL=""
+.else
+CONFIGURE_ARGS+=--disable-hal
+PLIST_SUB+= HAL="@comment "
+.endif
+
+.if !defined(WITHOUT_GCONF)
+USE_GNOME+= gconf2
+PLIST_SUB+= GCONF=""
+.else
+CONFIGURE_ARGS+=--disable-gconf
+PLIST_SUB+= GCONF="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/src/daemon/default.pa.in
+
+post-install:
+.for ii in default.pa daemon.conf client.conf
+ ${INSTALL_DATA} ${WRKSRC}/src/${ii} \
+ ${PREFIX}/etc/pulse/${ii}-dist
+.endfor
+.if !defined(PACKAGE_BUILDING)
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo
new file mode 100644
index 000000000..dae2a4c98
--- /dev/null
+++ b/audio/pulseaudio/distinfo
@@ -0,0 +1,3 @@
+MD5 (pulseaudio-0.9.6.tar.gz) = 669d52a70fb9a7a83c2507005bfa2a6f
+SHA256 (pulseaudio-0.9.6.tar.gz) = b7a5f14eb8cf7076f1df8fb78d4a05c83e1e655474688c48364fa1b96f478d64
+SIZE (pulseaudio-0.9.6.tar.gz) = 1157647
diff --git a/audio/pulseaudio/files/patch-configure b/audio/pulseaudio/files/patch-configure
new file mode 100644
index 000000000..32d08b68d
--- /dev/null
+++ b/audio/pulseaudio/files/patch-configure
@@ -0,0 +1,36 @@
+--- configure.orig Sun Jul 8 18:17:17 2007
++++ configure Sun Jul 8 18:41:18 2007
+@@ -25255,6 +25255,7 @@ echo $ECHO_N "checking whether to check
+ check_inconsistencies=yes
+ case "${host_cpu}-${host_os}" in
+ *-darwin*) check_inconsistencies=no ;;
++ *-freebsd*) check_inconsistencies=no ;;
+ esac
+ if test x"$GCC" != xyes -o "x$check_inconsistencies" != xyes ; then
+ { echo "$as_me:$LINENO: result: no" >&5
+@@ -28924,9 +28925,9 @@ _ACEOF
+
+ else
+
+-{ { echo "$as_me:$LINENO: error: *** libatomic-ops headers not found" >&5
+-echo "$as_me: error: *** libatomic-ops headers not found" >&2;}
+- { (exit 1); exit 1; }; }
++#{ { echo "$as_me:$LINENO: error: *** libatomic-ops headers not found" >&5
++#echo "$as_me: error: *** libatomic-ops headers not found" >&2;}
++# { (exit 1); exit 1; }; }
+
+ fi
+
+@@ -28934,9 +28935,9 @@ done
+
+
+ # Win32 does not need the lib and breaks horribly if we try to include it
+-if test "x$os_is_win32" != "x1" ; then
+- LIBS="$LIBS -latomic_ops"
+-fi
++#if test "x$os_is_win32" != "x1" ; then
++# LIBS="$LIBS -latomic_ops"
++#fi
+
+ #### OSS support (optional) ####
+
diff --git a/audio/pulseaudio/files/patch-libpulse-browse.pc.in b/audio/pulseaudio/files/patch-libpulse-browse.pc.in
new file mode 100644
index 000000000..96299a084
--- /dev/null
+++ b/audio/pulseaudio/files/patch-libpulse-browse.pc.in
@@ -0,0 +1,11 @@
+--- libpulse-browse.pc.in.orig Sun Apr 29 19:26:35 2007
++++ libpulse-browse.pc.in Sun Apr 29 19:26:54 2007
+@@ -6,6 +6,6 @@ includedir=${prefix}/include
+ Name: libpulse-browse
+ Description: PulseAudio Network Browsing API
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lpulse-browse
+-Cflags: -D_REENTRANT -I${includedir}
++Libs: -L${libdir} @PTHREAD_LIBS@ -lpulse-browse
++Cflags: -D_REENTRANT @PTHREAD_CFLAGS@ -I${includedir}
+ Requires: libpulse
diff --git a/audio/pulseaudio/files/patch-libpulse-mainloop-glib.pc.in b/audio/pulseaudio/files/patch-libpulse-mainloop-glib.pc.in
new file mode 100644
index 000000000..8b99e2d57
--- /dev/null
+++ b/audio/pulseaudio/files/patch-libpulse-mainloop-glib.pc.in
@@ -0,0 +1,11 @@
+--- libpulse-mainloop-glib.pc.in.orig Sun Apr 29 19:27:05 2007
++++ libpulse-mainloop-glib.pc.in Sun Apr 29 19:27:20 2007
+@@ -6,6 +6,6 @@ includedir=${prefix}/include
+ Name: libpulse-mainloop-glib
+ Description: GLIB 2.0 Main Loop Wrapper for PulseAudio
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lpulse-mainloop-glib
+-Cflags: -D_REENTRANT -I${includedir}
++Libs: -L${libdir} @PTHREAD_LIBS@ -lpulse-mainloop-glib
++Cflags: -D_REENTRANT @PTHREAD_CFLAGS@ -I${includedir}
+ Requires: libpulse glib-2.0
diff --git a/audio/pulseaudio/files/patch-libpulse-simple.pc.in b/audio/pulseaudio/files/patch-libpulse-simple.pc.in
new file mode 100644
index 000000000..623dbf713
--- /dev/null
+++ b/audio/pulseaudio/files/patch-libpulse-simple.pc.in
@@ -0,0 +1,11 @@
+--- libpulse-simple.pc.in.orig Sun Apr 29 19:26:00 2007
++++ libpulse-simple.pc.in Sun Apr 29 19:26:18 2007
+@@ -6,6 +6,6 @@ includedir=${prefix}/include
+ Name: libpulse-simple
+ Description: Simplified Synchronous Client Interface to PulseAudio
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lpulse-simple
+-Cflags: -D_REENTRANT -I${includedir}
++Libs: -L${libdir} @PTHREAD_LIBS@ -lpulse-simple
++Cflags: -D_REENTRANT @PTHREAD_CFLAGS@ -I${includedir}
+ Requires: libpulse
diff --git a/audio/pulseaudio/files/patch-libpulse.pc.in b/audio/pulseaudio/files/patch-libpulse.pc.in
new file mode 100644
index 000000000..85fea12d1
--- /dev/null
+++ b/audio/pulseaudio/files/patch-libpulse.pc.in
@@ -0,0 +1,9 @@
+--- libpulse.pc.in.orig Sat Sep 2 10:57:19 2006
++++ libpulse.pc.in Sun Jul 8 17:40:02 2007
+@@ -7,5 +7,5 @@ Name: libpulse
+ Description: Client Interface to PulseAudio
+ Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lpulse @PTHREAD_LIBS@
+-Cflags: -D_REENTRANT -I${includedir}
++Cflags: -D_REENTRANT -I${includedir} @PTHREAD_CFLAGS@
+ Requires:
diff --git a/audio/pulseaudio/files/patch-src_daemon_default.pa.in b/audio/pulseaudio/files/patch-src_daemon_default.pa.in
new file mode 100644
index 000000000..3d6c892f4
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_daemon_default.pa.in
@@ -0,0 +1,11 @@
+--- src/daemon/default.pa.in.orig Sat Jul 22 11:58:50 2006
++++ src/daemon/default.pa.in Sat Jul 22 12:22:20 2006
+@@ -60,7 +60,7 @@
+ .nofail
+
+ ### Load something to the sample cache
+-load-sample x11-bell /usr/share/sounds/gtk-events/activate.wav
++load-sample x11-bell %%LOCALBASE%%/share/sounds/gtk-events/activate.wav
+ #load-sample-dir-lazy /usr/share/sounds/*.wav
+
+ ### Load X11 bell module
diff --git a/audio/pulseaudio/files/patch-src_daemon_main.c b/audio/pulseaudio/files/patch-src_daemon_main.c
new file mode 100644
index 000000000..1b96327a8
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_daemon_main.c
@@ -0,0 +1,10 @@
+--- src/daemon/main.c.orig Thu Jul 12 00:04:22 2007
++++ src/daemon/main.c Thu Jul 12 00:04:40 2007
+@@ -40,6 +40,7 @@
+ #include <unistd.h>
+ #include <locale.h>
+ #include <sys/types.h>
++#include <sys/stat.h>
+
+ #include <liboil/liboil.h>
+
diff --git a/audio/pulseaudio/files/patch-src_modules_oss-util.c b/audio/pulseaudio/files/patch-src_modules_oss-util.c
new file mode 100644
index 000000000..bee800d5d
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_modules_oss-util.c
@@ -0,0 +1,25 @@
+--- src/modules/oss-util.c.orig Sun Apr 29 19:53:31 2007
++++ src/modules/oss-util.c Sun Apr 29 19:55:24 2007
+@@ -40,6 +40,22 @@
+
+ #include "oss-util.h"
+
++#ifndef DSP_CAP_COPROC
++#define DSP_CAP_COPROC 0x00000800
++#endif
++#ifndef DSP_CAP_TRIGGER
++#define DSP_CAP_TRIGGER 0x00001000
++#endif
++#ifndef DSP_CAP_MMAP
++#define DSP_CAP_MMAP 0x00002000
++#endif
++#ifndef DSP_CAP_MULTI
++#define DSP_CAP_MULTI 0x00004000
++#endif
++#ifndef DSP_CAP_BIND
++#define DSP_CAP_BIND 0x00008000
++#endif
++
+ int pa_oss_open(const char *device, int *mode, int* pcaps) {
+ int fd = -1;
+ int caps;
diff --git a/audio/pulseaudio/files/patch-src_pulse_thread-mainloop.c b/audio/pulseaudio/files/patch-src_pulse_thread-mainloop.c
new file mode 100644
index 000000000..314cb6778
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulse_thread-mainloop.c
@@ -0,0 +1,14 @@
+--- src/pulse/thread-mainloop.c.orig Thu Jul 12 00:01:48 2007
++++ src/pulse/thread-mainloop.c Thu Jul 12 00:03:32 2007
+@@ -30,6 +30,11 @@
+ #include <signal.h>
+ #include <stdio.h>
+
++#ifdef HAVE_PTHREAD
++#include <pthread.h>
++#include <signal.h>
++#endif
++
+ #ifdef HAVE_SYS_POLL_H
+ #include <sys/poll.h>
+ #else
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_atomic.h b/audio/pulseaudio/files/patch-src_pulsecore_atomic.h
new file mode 100644
index 000000000..086d5feef
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulsecore_atomic.h
@@ -0,0 +1,98 @@
+--- src/pulsecore/atomic.h.orig Sun May 27 16:38:18 2007
++++ src/pulsecore/atomic.h Sun Jul 8 20:29:53 2007
+@@ -24,7 +24,9 @@
+ USA.
+ ***/
+
+-#include <atomic_ops.h>
++#include <sys/cdefs.h>
++#include <sys/types.h>
++#include <machine/atomic.h>
+
+ /* atomic_ops guarantees us that sizeof(AO_t) == sizeof(void*).
+ *
+@@ -32,7 +34,7 @@
+ * however very likely. */
+
+ typedef struct pa_atomic_int {
+- volatile AO_t value;
++ volatile unsigned long value;
+ } pa_atomic_int_t;
+
+ #define PA_ATOMIC_INIT(v) { .value = (v) }
+@@ -42,47 +44,64 @@ typedef struct pa_atomic_int {
+ * suffixes to the function names */
+
+ static inline int pa_atomic_load(const pa_atomic_int_t *a) {
+- return (int) AO_load_full((AO_t*) &a->value);
++ return (int) atomic_load_acq_int((unsigned int *) &a->value);
+ }
+
+ static inline void pa_atomic_store(pa_atomic_int_t *a, int i) {
+- AO_store_full(&a->value, (AO_t) i);
++ atomic_store_rel_int((unsigned int *) &a->value, i);
+ }
+
+ static inline int pa_atomic_add(pa_atomic_int_t *a, int i) {
+- return AO_fetch_and_add_full(&a->value, (AO_t) i);
++ atomic_add_int((unsigned int *) &a->value, i);
++ return (int) a->value;
+ }
+
+ static inline int pa_atomic_sub(pa_atomic_int_t *a, int i) {
+- return AO_fetch_and_add_full(&a->value, (AO_t) -i);
++ atomic_subtract_int((unsigned int *) &a->value, i);
++ return (int) a->value;
+ }
+
+ static inline int pa_atomic_inc(pa_atomic_int_t *a) {
+- return AO_fetch_and_add1_full(&a->value);
++ atomic_add_int((unsigned int *) &a->value, 1);
++ return (int) a->value;
+ }
+
+ static inline int pa_atomic_dec(pa_atomic_int_t *a) {
+- return AO_fetch_and_sub1_full(&a->value);
++ atomic_subtract_int((unsigned int *) &a->value, 1);
++ return (int) a->value;
+ }
+
+ static inline int pa_atomic_cmpxchg(pa_atomic_int_t *a, int old_i, int new_i) {
+- return AO_compare_and_swap_full(&a->value, old_i, new_i);
++ atomic_cmpset_int((unsigned int *) &a->value, old_i, new_i);
++ return (int) a->value;
+ }
+
+ typedef struct pa_atomic_ptr {
+- volatile AO_t value;
++ volatile unsigned long value;
+ } pa_atomic_ptr_t;
+
+ static inline void* pa_atomic_ptr_load(const pa_atomic_ptr_t *a) {
+- return (void*) AO_load_full((AO_t*) &a->value);
++#ifdef atomic_load_acq_64
++ return (void*) atomic_load_acq_ptr((unsigned long *) &a->value);
++#else
++ return (void*) atomic_load_acq_ptr((unsigned int *) &a->value);
++#endif
+ }
+
+ static inline void pa_atomic_ptr_store(pa_atomic_ptr_t *a, void *p) {
+- AO_store_full(&a->value, (AO_t) p);
++#ifdef atomic_load_acq_64
++ atomic_store_rel_ptr(&a->value, (unsigned long) p);
++#else
++ atomic_store_rel_ptr((unsigned int *) &a->value, (unsigned int) p);
++#endif
+ }
+
+ static inline int pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* new_p) {
+- return AO_compare_and_swap_full(&a->value, (AO_t) old_p, (AO_t) new_p);
++#ifdef atomic_load_acq_64
++ return atomic_cmpset_ptr(&a->value, (unsigned long) old_p, (unsigned long) new_p);
++#else
++ return atomic_cmpset_ptr((unsigned int *) &a->value, (unsigned int) old_p, (unsigned int) new_p);
++#endif
+ }
+
+ #endif
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_core-util.c b/audio/pulseaudio/files/patch-src_pulsecore_core-util.c
new file mode 100644
index 000000000..cb91964ad
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulsecore_core-util.c
@@ -0,0 +1,49 @@
+--- src/pulsecore/core-util.c.orig Sun Jul 8 18:35:21 2007
++++ src/pulsecore/core-util.c Sun Jul 8 18:39:04 2007
+@@ -40,6 +40,7 @@
+ #include <time.h>
+ #include <ctype.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <sys/time.h>
+
+@@ -544,6 +545,7 @@ fail:
+ cap_free(caps);
+ }
+ #endif
++ ;
+ }
+
+ /* Reset the priority to normal, inverting the changes made by pa_raise_priority() */
+@@ -838,22 +840,22 @@ int pa_check_in_group(gid_t g) {
+ (advisory on UNIX, mandatory on Windows) */
+ int pa_lock_fd(int fd, int b) {
+ #ifdef F_SETLKW
+- struct flock flock;
++ struct flock pa_flock;
+
+ /* Try a R/W lock first */
+
+- flock.l_type = b ? F_WRLCK : F_UNLCK;
+- flock.l_whence = SEEK_SET;
+- flock.l_start = 0;
+- flock.l_len = 0;
++ pa_flock.l_type = b ? F_WRLCK : F_UNLCK;
++ pa_flock.l_whence = SEEK_SET;
++ pa_flock.l_start = 0;
++ pa_flock.l_len = 0;
+
+- if (fcntl(fd, F_SETLKW, &flock) >= 0)
++ if (fcntl(fd, F_SETLKW, &pa_flock) >= 0)
+ return 0;
+
+ /* Perhaps the file descriptor qas opened for read only, than try again with a read lock. */
+ if (b && errno == EBADF) {
+- flock.l_type = F_RDLCK;
+- if (fcntl(fd, F_SETLKW, &flock) >= 0)
++ pa_flock.l_type = F_RDLCK;
++ if (fcntl(fd, F_SETLKW, &pa_flock) >= 0)
+ return 0;
+ }
+
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_mutex-posix.c b/audio/pulseaudio/files/patch-src_pulsecore_mutex-posix.c
new file mode 100644
index 000000000..96b6ff69b
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulsecore_mutex-posix.c
@@ -0,0 +1,13 @@
+--- src/pulsecore/mutex-posix.c.orig 2007-05-12 19:21:39.000000000 -0400
++++ src/pulsecore/mutex-posix.c 2007-07-09 01:28:06.000000000 -0400
+@@ -28,7 +28,9 @@
+ #include <assert.h>
+ #include <pthread.h>
+
+-#include <atomic_ops.h>
++#include <sys/types.h>
++#include <sys/cdefs.h>
++#include <machine/atomic.h>
+
+ #include <pulse/xmalloc.h>
+
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_pstream.c b/audio/pulseaudio/files/patch-src_pulsecore_pstream.c
new file mode 100644
index 000000000..e3036c3ee
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulsecore_pstream.c
@@ -0,0 +1,42 @@
+--- src/pulsecore/pstream.c.orig Wed Jul 11 23:57:46 2007
++++ src/pulsecore/pstream.c Wed Jul 11 23:57:49 2007
+@@ -178,14 +178,17 @@ static void do_something(pa_pstream *p)
+ p->mainloop->defer_enable(p->defer_event, 0);
+
+ if (!p->dead && pa_iochannel_is_readable(p->io)) {
+- if (do_read(p) < 0)
++ if (do_read(p) < 0) {
+ goto fail;
+- } else if (!p->dead && pa_iochannel_is_hungup(p->io))
++ }
++ } else if (!p->dead && pa_iochannel_is_hungup(p->io)) {
+ goto fail;
++ }
+
+ if (!p->dead && pa_iochannel_is_writable(p->io)) {
+- if (do_write(p) < 0)
++ if (do_write(p) < 0) {
+ goto fail;
++ }
+ }
+
+ pa_mutex_unlock(p->mutex);
+@@ -197,12 +200,13 @@ fail:
+
+ p->dead = 1;
+
+- if (p->die_callback)
++ if (p->die_callback) {
++ pa_mutex_unlock(p->mutex);
+ p->die_callback(p, p->die_callback_userdata);
+-
+- pa_mutex_unlock(p->mutex);
+-
+- pa_pstream_unref(p);
++ } else {
++ pa_mutex_unlock(p->mutex);
++ pa_pstream_unref(p);
++ }
+ }
+
+ static void io_callback(pa_iochannel*io, void *userdata) {
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_refcnt.h b/audio/pulseaudio/files/patch-src_pulsecore_refcnt.h
new file mode 100644
index 000000000..c44c4c0e1
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulsecore_refcnt.h
@@ -0,0 +1,11 @@
+--- src/pulsecore/refcnt.h.orig Wed Jul 11 23:44:24 2007
++++ src/pulsecore/refcnt.h Wed Jul 11 23:49:59 2007
+@@ -36,7 +36,7 @@
+ pa_atomic_inc(&p->_ref)
+
+ #define PA_REFCNT_DEC(p) \
+- (pa_atomic_dec(&p->_ref)-1)
++ pa_atomic_dec(&p->_ref)
+
+ #define PA_REFCNT_VALUE(p) \
+ pa_atomic_load(&p->_ref)
diff --git a/audio/pulseaudio/files/patch-src_pulsecore_shm.c b/audio/pulseaudio/files/patch-src_pulsecore_shm.c
new file mode 100644
index 000000000..9c501dd4b
--- /dev/null
+++ b/audio/pulseaudio/files/patch-src_pulsecore_shm.c
@@ -0,0 +1,10 @@
+--- src/pulsecore/shm.c.orig Thu May 17 11:57:56 2007
++++ src/pulsecore/shm.c Thu May 17 11:58:10 2007
+@@ -50,7 +50,7 @@
+ #define MAX_SHM_SIZE (1024*1024*20)
+
+ static char *segment_name(char *fn, size_t l, unsigned id) {
+- snprintf(fn, l, "/pulse-shm-%u", id);
++ snprintf(fn, l, "/tmp/pulse-shm-%u", id);
+ return fn;
+ }
diff --git a/audio/pulseaudio/pkg-descr b/audio/pulseaudio/pkg-descr
new file mode 100644
index 000000000..45634a1f7
--- /dev/null
+++ b/audio/pulseaudio/pkg-descr
@@ -0,0 +1,8 @@
+PulseAudio, previously known as Polypaudio, is a sound server for POSIX and
+Win32 systems. A sound server is basically a proxy for your sound applications.
+It allows you to do advanced operations on your sound data as it passes between
+your application and your hardware. Things like transferring the audio to a
+different machine, changing the sample format or channel count and mixing
+several sounds into one are easily achieved using a sound server.
+
+WWW: http://pulseaudio.org/
diff --git a/audio/pulseaudio/pkg-install b/audio/pulseaudio/pkg-install
new file mode 100644
index 000000000..2c316a5e6
--- /dev/null
+++ b/audio/pulseaudio/pkg-install
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+case $2 in
+POST-INSTALL)
+ RGROUP=pulse-rt
+ SUSER=pulse
+ SGROUP=${SUSER}
+ AGROUP=pulse-access
+ SUID=563
+ RGID=557
+ SGID=${SUID}
+ AGID=564
+ PW=/usr/sbin/pw
+
+ if ${PW} group show "${RGROUP}" 2>/dev/null; then
+ echo "You already have a group \"${RGROUP}\", so I will use it."
+ else
+ if ${PW} groupadd ${RGROUP} -g ${RGID}; then
+ echo "Added group \"${RGROUP}\"."
+ else
+ echo "Adding group \"${RGROUP}\" failed..."
+ exit 1
+ fi
+ fi
+
+ if ${PW} group show "${SGROUP}" 2>/dev/null; then
+ echo "You already have a group \"${SGROUP}\", so I will use it."
+ else
+ if ${PW} groupadd ${SGROUP} -g ${SGID}; then
+ echo "Added group \"${SGROUP}\"."
+ else
+ echo "Adding group \"${SGROUP}\" failed..."
+ exit 1
+ fi
+ fi
+
+ if ${PW} group show "${AGROUP}" 2>/dev/null; then
+ echo "You already have a group \"${AGROUP}\", so I will use it."
+ else
+ if ${PW} groupadd ${AGROUP} -g ${AGID}; then
+ echo "Added group \"${AGROUP}\"."
+ else
+ echo "Adding group \"${AGROUP}\" failed..."
+ exit 1
+ fi
+ fi
+
+ if ${PW} user show "${SUSER}" 2>/dev/null; then
+ echo "You already have a user \"${SUSER}\", so I will use it."
+ else
+ if ${PW} useradd ${SUSER} -u ${SUID} -g ${SGROUP} -h - \
+ -d "/nonexistent" -s /sbin/nologin -c "PulseAudio System User"
+ then
+ echo "Added user \"${SUSER}\"."
+ else
+ echo "Adding user \"${SUSER}\" failed..."
+ exit 1
+ fi
+ fi
+
+ exit 0
+ ;;
+esac
diff --git a/audio/pulseaudio/pkg-plist b/audio/pulseaudio/pkg-plist
new file mode 100644
index 000000000..0d2804b33
--- /dev/null
+++ b/audio/pulseaudio/pkg-plist
@@ -0,0 +1,276 @@
+bin/esdcompat
+%%AVAHI%%bin/pabrowse
+bin/pacat
+bin/pacmd
+bin/pactl
+bin/padsp
+bin/paplay
+bin/parec
+bin/pax11publish
+bin/pulseaudio
+@unexec if cmp -s %D/etc/pulse/client.conf %D/etc/pulse/client.conf-dist; then rm -f %D/etc/pulse/client.conf; fi
+etc/pulse/client.conf-dist
+@unexec if cmp -s %D/etc/pulse/daemon.conf %D/etc/pulse/daemon.conf-dist; then rm -f %D/etc/pulse/daemon.conf; fi
+etc/pulse/daemon.conf-dist
+@unexec if cmp -s %D/etc/pulse/default.pa %D/etc/pulse/default.pa-dist; then rm -f %D/etc/pulse/default.pa; fi
+etc/pulse/default.pa-dist
+%%AVAHI%%include/pulse/browser.h
+include/pulse/cdecl.h
+include/pulse/channelmap.h
+include/pulse/context.h
+include/pulse/def.h
+include/pulse/error.h
+include/pulse/glib-mainloop.h
+include/pulse/introspect.h
+include/pulse/mainloop-api.h
+include/pulse/mainloop-signal.h
+include/pulse/mainloop.h
+include/pulse/operation.h
+include/pulse/pulseaudio.h
+include/pulse/sample.h
+include/pulse/scache.h
+include/pulse/simple.h
+include/pulse/stream.h
+include/pulse/subscribe.h
+include/pulse/thread-mainloop.h
+include/pulse/timeval.h
+include/pulse/utf8.h
+include/pulse/util.h
+include/pulse/version.h
+include/pulse/volume.h
+include/pulse/xmalloc.h
+include/pulsecore/atomic.h
+include/pulsecore/authkey-prop.h
+include/pulsecore/authkey.h
+include/pulsecore/autoload.h
+%%AVAHI%%include/pulsecore/avahi-wrap.h
+include/pulsecore/cli-command.h
+include/pulsecore/cli-text.h
+include/pulsecore/cli.h
+include/pulsecore/client.h
+include/pulsecore/conf-parser.h
+include/pulsecore/core-def.h
+include/pulsecore/core-scache.h
+include/pulsecore/core-subscribe.h
+include/pulsecore/core-util.h
+include/pulsecore/core.h
+include/pulsecore/creds.h
+include/pulsecore/dynarray.h
+include/pulsecore/esound.h
+include/pulsecore/g711.h
+include/pulsecore/hashmap.h
+include/pulsecore/idxset.h
+include/pulsecore/iochannel.h
+include/pulsecore/ioline.h
+include/pulsecore/ipacl.h
+include/pulsecore/llist.h
+include/pulsecore/log.h
+include/pulsecore/mcalign.h
+include/pulsecore/memblock.h
+include/pulsecore/memblockq.h
+include/pulsecore/memchunk.h
+include/pulsecore/modargs.h
+include/pulsecore/modinfo.h
+include/pulsecore/module.h
+include/pulsecore/mutex.h
+include/pulsecore/namereg.h
+include/pulsecore/native-common.h
+include/pulsecore/once.h
+include/pulsecore/packet.h
+include/pulsecore/parseaddr.h
+include/pulsecore/pdispatch.h
+include/pulsecore/pid.h
+include/pulsecore/play-memblockq.h
+include/pulsecore/play-memchunk.h
+include/pulsecore/props.h
+include/pulsecore/protocol-cli.h
+include/pulsecore/protocol-esound.h
+include/pulsecore/protocol-http.h
+include/pulsecore/protocol-native.h
+include/pulsecore/protocol-simple.h
+include/pulsecore/pstream-util.h
+include/pulsecore/pstream.h
+include/pulsecore/queue.h
+include/pulsecore/random.h
+include/pulsecore/refcnt.h
+include/pulsecore/resampler.h
+include/pulsecore/sample-util.h
+include/pulsecore/sconv.h
+include/pulsecore/shm.h
+include/pulsecore/sink-input.h
+include/pulsecore/sink.h
+include/pulsecore/sioman.h
+include/pulsecore/socket-client.h
+include/pulsecore/socket-server.h
+include/pulsecore/socket-util.h
+include/pulsecore/sound-file-stream.h
+include/pulsecore/sound-file.h
+include/pulsecore/source-output.h
+include/pulsecore/source.h
+include/pulsecore/strbuf.h
+include/pulsecore/strlist.h
+include/pulsecore/tagstruct.h
+include/pulsecore/thread.h
+include/pulsecore/tokenizer.h
+include/pulsecore/x11prop.h
+include/pulsecore/x11wrap.h
+%%AVAHI%%lib/libpulse-browse.a
+%%AVAHI%%lib/libpulse-browse.la
+%%AVAHI%%lib/libpulse-browse.so
+%%AVAHI%%lib/libpulse-browse.so.0
+lib/libpulse-mainloop-glib.a
+lib/libpulse-mainloop-glib.la
+lib/libpulse-mainloop-glib.so
+lib/libpulse-mainloop-glib.so.0
+lib/libpulse-simple.a
+lib/libpulse-simple.la
+lib/libpulse-simple.so
+lib/libpulse-simple.so.0
+lib/libpulse.a
+lib/libpulse.la
+lib/libpulse.so
+lib/libpulse.so.0
+lib/libpulsecore.a
+lib/libpulsecore.la
+lib/libpulsecore.so
+lib/libpulsecore.so.3
+lib/libpulsedsp.so
+lib/pulse-%%PULSE_VERSION%%/modules/libauthkey-prop.la
+lib/pulse-%%PULSE_VERSION%%/modules/libauthkey-prop.so
+lib/pulse-%%PULSE_VERSION%%/modules/libauthkey.la
+lib/pulse-%%PULSE_VERSION%%/modules/libauthkey.so
+%%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/libavahi-wrap.la
+%%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/libavahi-wrap.so
+lib/pulse-%%PULSE_VERSION%%/modules/libcli.la
+lib/pulse-%%PULSE_VERSION%%/modules/libcli.so
+%%HAL%%lib/pulse-%%PULSE_VERSION%%/modules/libdbus-util.la
+%%HAL%%lib/pulse-%%PULSE_VERSION%%/modules/libdbus-util.so
+lib/pulse-%%PULSE_VERSION%%/modules/libiochannel.la
+lib/pulse-%%PULSE_VERSION%%/modules/libiochannel.so
+lib/pulse-%%PULSE_VERSION%%/modules/libioline.la
+lib/pulse-%%PULSE_VERSION%%/modules/libioline.so
+lib/pulse-%%PULSE_VERSION%%/modules/libipacl.la
+lib/pulse-%%PULSE_VERSION%%/modules/libipacl.so
+lib/pulse-%%PULSE_VERSION%%/modules/liboss-util.la
+lib/pulse-%%PULSE_VERSION%%/modules/liboss-util.so
+lib/pulse-%%PULSE_VERSION%%/modules/libpacket.la
+lib/pulse-%%PULSE_VERSION%%/modules/libpacket.so
+lib/pulse-%%PULSE_VERSION%%/modules/libparseaddr.la
+lib/pulse-%%PULSE_VERSION%%/modules/libparseaddr.so
+lib/pulse-%%PULSE_VERSION%%/modules/libpdispatch.la
+lib/pulse-%%PULSE_VERSION%%/modules/libpdispatch.so
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-cli.la
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-cli.so
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-esound.la
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-esound.so
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-http.la
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-http.so
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-native.la
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-native.so
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-simple.la
+lib/pulse-%%PULSE_VERSION%%/modules/libprotocol-simple.so
+lib/pulse-%%PULSE_VERSION%%/modules/libpstream-util.la
+lib/pulse-%%PULSE_VERSION%%/modules/libpstream-util.so
+lib/pulse-%%PULSE_VERSION%%/modules/libpstream.la
+lib/pulse-%%PULSE_VERSION%%/modules/libpstream.so
+lib/pulse-%%PULSE_VERSION%%/modules/librtp.la
+lib/pulse-%%PULSE_VERSION%%/modules/librtp.so
+lib/pulse-%%PULSE_VERSION%%/modules/libsocket-client.la
+lib/pulse-%%PULSE_VERSION%%/modules/libsocket-client.so
+lib/pulse-%%PULSE_VERSION%%/modules/libsocket-server.la
+lib/pulse-%%PULSE_VERSION%%/modules/libsocket-server.so
+lib/pulse-%%PULSE_VERSION%%/modules/libsocket-util.la
+lib/pulse-%%PULSE_VERSION%%/modules/libsocket-util.so
+lib/pulse-%%PULSE_VERSION%%/modules/libstrlist.la
+lib/pulse-%%PULSE_VERSION%%/modules/libstrlist.so
+lib/pulse-%%PULSE_VERSION%%/modules/libtagstruct.la
+lib/pulse-%%PULSE_VERSION%%/modules/libtagstruct.so
+lib/pulse-%%PULSE_VERSION%%/modules/libx11prop.la
+lib/pulse-%%PULSE_VERSION%%/modules/libx11prop.so
+lib/pulse-%%PULSE_VERSION%%/modules/libx11wrap.la
+lib/pulse-%%PULSE_VERSION%%/modules/libx11wrap.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-cli-protocol-tcp.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-cli-protocol-tcp.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-cli-protocol-unix.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-cli-protocol-unix.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-cli.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-cli.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-combine.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-combine.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-detect.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-detect.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-compat-spawnfd.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-compat-spawnfd.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-compat-spawnpid.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-compat-spawnpid.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-protocol-tcp.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-protocol-tcp.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-protocol-unix.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-protocol-unix.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-sink.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-esound-sink.so
+%%GCONF%%lib/pulse-%%PULSE_VERSION%%/modules/module-gconf.la
+%%GCONF%%lib/pulse-%%PULSE_VERSION%%/modules/module-gconf.so
+%%HAL%%lib/pulse-%%PULSE_VERSION%%/modules/module-hal-detect.la
+%%HAL%%lib/pulse-%%PULSE_VERSION%%/modules/module-hal-detect.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-http-protocol-tcp.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-http-protocol-tcp.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-http-protocol-unix.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-http-protocol-unix.so
+%%JACK%%lib/pulse-%%PULSE_VERSION%%/modules/module-jack-sink.la
+%%JACK%%lib/pulse-%%PULSE_VERSION%%/modules/module-jack-sink.so
+%%JACK%%lib/pulse-%%PULSE_VERSION%%/modules/module-jack-source.la
+%%JACK%%lib/pulse-%%PULSE_VERSION%%/modules/module-jack-source.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-match.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-match.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-native-protocol-fd.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-native-protocol-fd.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-native-protocol-tcp.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-native-protocol-tcp.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-native-protocol-unix.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-native-protocol-unix.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-null-sink.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-null-sink.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-oss-mmap.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-oss-mmap.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-oss.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-oss.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-pipe-sink.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-pipe-sink.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-pipe-source.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-pipe-source.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-rescue-streams.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-rescue-streams.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-rtp-recv.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-rtp-recv.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-rtp-send.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-rtp-send.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-simple-protocol-tcp.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-simple-protocol-tcp.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-simple-protocol-unix.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-simple-protocol-unix.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-sine.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-sine.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-tunnel-sink.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-tunnel-sink.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-tunnel-source.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-tunnel-source.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-volume-restore.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-volume-restore.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-x11-bell.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-x11-bell.so
+lib/pulse-%%PULSE_VERSION%%/modules/module-x11-publish.la
+lib/pulse-%%PULSE_VERSION%%/modules/module-x11-publish.so
+%%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/module-zeroconf-publish.la
+%%AVAHI%%lib/pulse-%%PULSE_VERSION%%/modules/module-zeroconf-publish.so
+%%AVAHI%%libdata/pkgconfig/libpulse-browse.pc
+libdata/pkgconfig/libpulse-mainloop-glib.pc
+libdata/pkgconfig/libpulse-simple.pc
+libdata/pkgconfig/libpulse.pc
+%%GCONF%%libexec/pulse/gconf-helper
+%%GCONF%%@dirrm libexec/pulse
+@dirrm lib/pulse-%%PULSE_VERSION%%/modules
+@dirrm lib/pulse-%%PULSE_VERSION%%
+@dirrm include/pulsecore
+@dirrm include/pulse
+@dirrm etc/pulse
diff --git a/databases/mysql-query-browser/Makefile b/databases/mysql-query-browser/Makefile
index 6c8e82810..1db37488a 100644
--- a/databases/mysql-query-browser/Makefile
+++ b/databases/mysql-query-browser/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
GTKHTML_VER= ${gtkhtml3_DETECT:R}
CONFIGURE_ARGS_GUI+= --prefix=${X11BASE} \
--datadir=${DATADIR} \
- --localstatedir=${PREFIX}/share/gnome
+ --localstatedir=${PREFIX}/share
CONFIGURE_ARGS_MAIN+= ${CONFIGURE_ARGS_GUI} \
--with-gtkhtml=${GTKHTML_VER:C/^.*\///g}
USE_ICONV= yes
diff --git a/deskutils/akamaru/Makefile b/deskutils/akamaru/Makefile
new file mode 100644
index 000000000..6d41c9d0e
--- /dev/null
+++ b/deskutils/akamaru/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: akamaru
+# Date created: 2006 10 10
+# Whom: Phillip Neumann <pneumann@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= akamaru
+PORTVERSION= 0.1
+PORTREVISION= 2
+CATEGORIES= deskutils gnome
+MASTER_SITES= http://people.freedesktop.org/~krh/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= pneumann@gmail.com
+COMMENT= Simple, but fun, physics engine prototype
+
+BUILD_DEPENDS= gtk-demo:${PORTSDIR}/x11-toolkits/gtk20
+RUN_DEPENDS= gtk-demo:${PORTSDIR}/x11-toolkits/gtk20 \
+ xcompmgr:${PORTSDIR}/x11-wm/xcompmgr
+
+USE_GMAKE= yes
+USE_GNOME= gconf2 gnomehier
+GCONF_SCHEMAS= kiba.schemas
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ ${WRKSRC}/populate-dock.sh
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/dock ${PREFIX}/bin/kiba-dock
+ @${INSTALL_PROGRAM} ${WRKSRC}/akamaru ${PREFIX}/bin/akamaru
+ @${INSTALL_DATA} ${WRKSRC}/kiba.schemas ${LOCALBASE}/etc/gconf/schemas
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}
+ @${INSTALL_SCRIPT} ${WRKSRC}/populate-dock.sh ${PREFIX}/share/${PORTNAME}
+ @${SETENV} GCONF_CONFIG_SOURCE=${GCONF_CONFIG_SOURCE} gconftool-2 --makefile-install-rule ${PREFIX}/etc/gconf/schemas/kiba.schemas
+
+post-install:
+ @${ECHO_MSG}
+ @${ECHO_MSG} "*** By default kiba-dock is empty."
+ @${ECHO_MSG} "*** To add launchers, look and run the script ${PREFIX}/share/${PORTNAME}/populate-dock.sh"
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/deskutils/akamaru/distinfo b/deskutils/akamaru/distinfo
new file mode 100644
index 000000000..94d5a24ec
--- /dev/null
+++ b/deskutils/akamaru/distinfo
@@ -0,0 +1,3 @@
+MD5 (akamaru.tar.gz) = 3c99aa59c4b076a19de509a32ba5ce8a
+SHA256 (akamaru.tar.gz) = 1674e84e63711807e2fe3e965d663abc5e45fc7aa30eabff0dc294137c227c7c
+SIZE (akamaru.tar.gz) = 19319
diff --git a/deskutils/akamaru/files/patch-Makefile b/deskutils/akamaru/files/patch-Makefile
new file mode 100644
index 000000000..2fe8ad307
--- /dev/null
+++ b/deskutils/akamaru/files/patch-Makefile
@@ -0,0 +1,19 @@
+--- Makefile.orig Sun Jul 16 01:37:05 2006
++++ Makefile Wed Oct 11 01:04:51 2006
+@@ -4,7 +4,7 @@
+ LDFLAGS = -g
+ GCONFTOOL = gconftool-2
+
+-prefix = $(HOME)
++prefix = $(PREFIX)
+ targets = akamaru dock
+ schemas = kiba.schemas
+ akamaru_objs = main.o akamaru.o
+@@ -25,6 +25,7 @@
+
+ install : install-schemas
+ install dock $(prefix)/bin/kiba-dock
++ install akamaru $(prefix)/bin/akamaru
+ sh populate-dock.sh
+
+ uninstall-schemas : gconf-clean
diff --git a/deskutils/akamaru/files/patch-populate-dock.sh b/deskutils/akamaru/files/patch-populate-dock.sh
new file mode 100644
index 000000000..f9d4757d1
--- /dev/null
+++ b/deskutils/akamaru/files/patch-populate-dock.sh
@@ -0,0 +1,27 @@
+--- populate-dock.sh.orig Sun Jul 16 01:37:05 2006
++++ populate-dock.sh Wed Oct 11 22:29:57 2006
+@@ -3,18 +3,16 @@
+ # Simple shell script to populate the dock by setting up some random
+ # standard applications.
+
+-make install-schemas
++GAPPs=/usr/local/share/applications
++APPs=/usr/local/share/applications
+
+ while read n file; do
+ key=/apps/kiba/launchers/$n/file
+ gconftool-2 --set $key --type string $file
+ gconftool-2 --apply-schema /schemas/apps/kiba/launchers/file $key
+ done <<EOF
+- 0 /usr/share/applications/gnome-terminal.desktop
+- 1 /usr/share/applications/gimp-2.2.desktop
+- 2 /usr/share/applications/epiphany.desktop
+- 3 /usr/share/applications/gaim.desktop
+- 4 /usr/share/applications/gnome-cd.desktop
+- 5 /usr/share/applications/background.desktop
+- 6 /usr/share/applications/gnome-file-roller.desktop
++ 0 $GAPPs/gnome-terminal.desktop
++ 1 $GAPPs/gedit.desktop
++ 2 $APPs/firefox.desktop
++ 3 $GAPPs/evolution-2.8.desktop
+ EOF
diff --git a/deskutils/akamaru/pkg-descr b/deskutils/akamaru/pkg-descr
new file mode 100644
index 000000000..cc36ec8fd
--- /dev/null
+++ b/deskutils/akamaru/pkg-descr
@@ -0,0 +1,6 @@
+Akamaru is a simple, but fun, physics engine prototype. It's named after the
+super awesome ninja dog, Akamaru, from the Naruto anime and based on the
+article Advanced Character Physics by Thomas Jakobsen on Verlet integration.
+It contains a very cool dock, called kiba.
+
+WWW: http://people.freedesktop.org/~krh/akamaru.git/
diff --git a/deskutils/akamaru/pkg-plist b/deskutils/akamaru/pkg-plist
new file mode 100644
index 000000000..76deecb9c
--- /dev/null
+++ b/deskutils/akamaru/pkg-plist
@@ -0,0 +1,4 @@
+bin/kiba-dock
+bin/akamaru
+share/akamaru/populate-dock.sh
+@dirrm share/akamaru
diff --git a/deskutils/dlume/Makefile b/deskutils/dlume/Makefile
new file mode 100644
index 000000000..e5700fb5f
--- /dev/null
+++ b/deskutils/dlume/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: dlume
+# Date created: 07 November 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dlume
+PORTVERSION= 0.2.4
+PORTREVISION= 5
+CATEGORIES= deskutils gnome
+MASTER_SITES= http://clay.ll.pl/download/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= GTK2 address book
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget gtk20 libxml2
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/dlume share/pixmaps/dlume.png
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/deskutils/dlume/distinfo b/deskutils/dlume/distinfo
new file mode 100644
index 000000000..d335ce27f
--- /dev/null
+++ b/deskutils/dlume/distinfo
@@ -0,0 +1,3 @@
+MD5 (dlume-0.2.4.tar.gz) = 6b2a3ef0eff622a412395187d1c5d178
+SHA256 (dlume-0.2.4.tar.gz) = 66f6c87de866fbac1519721b8eb584c427d89cfa502494a9fe6b035578f7a864
+SIZE (dlume-0.2.4.tar.gz) = 246864
diff --git a/deskutils/dlume/pkg-descr b/deskutils/dlume/pkg-descr
new file mode 100644
index 000000000..a0836f035
--- /dev/null
+++ b/deskutils/dlume/pkg-descr
@@ -0,0 +1,8 @@
+Dlume is nice, gtk2-based addressbook. You can easily add, edit
+and delete records to/from database (but Dlume doesn't rely on an outside
+database - It stores your contacts in XML format). The Quick-search
+feature allows you find required entry in comfortable way. Export to
+CSV and HTML formats is also available. Interface design was borrowed
+and improved from Paddress (http://paddress.sourceforge.net).
+
+WWW: http://clay.ll.pl/projects.html
diff --git a/deskutils/gxmessage/Makefile b/deskutils/gxmessage/Makefile
new file mode 100644
index 000000000..6d1843846
--- /dev/null
+++ b/deskutils/gxmessage/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: gxmessage
+# Date created: 9 March 2005
+# Whom: Andriy Gapon <avg@icyb.net.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gxmessage
+PORTVERSION= 2.4.4
+PORTREVISION= 3
+CATEGORIES= deskutils
+MASTER_SITES= http://homepages.ihug.co.nz/~trmusson/stuff/
+
+MAINTAINER= avg@icyb.net.ua
+COMMENT= GTK2 substitute for xmessage
+
+USE_X_PREFIX= yes
+USE_GNOME= gtk20 gnomeprefix
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+MAKE_ARGS+= INSTALL="${INSTALL_PROGRAM}"
+
+MANCOMPRESSED= no
+MAN1= gxmessage.1
+PLIST_FILES= bin/gxmessage \
+ share/pixmaps/gxmessage.png
+
+.include <bsd.port.mk>
diff --git a/deskutils/gxmessage/distinfo b/deskutils/gxmessage/distinfo
new file mode 100644
index 000000000..9ddfa54ab
--- /dev/null
+++ b/deskutils/gxmessage/distinfo
@@ -0,0 +1,3 @@
+MD5 (gxmessage-2.4.4.tar.gz) = dc9b7b029d5acbaf5e7b913e38589c8e
+SHA256 (gxmessage-2.4.4.tar.gz) = 196c34ca08f20fa18823eff065a5cd8a492c9b53110cd1545300a993f0d5b56f
+SIZE (gxmessage-2.4.4.tar.gz) = 84008
diff --git a/deskutils/gxmessage/pkg-descr b/deskutils/gxmessage/pkg-descr
new file mode 100644
index 000000000..4235995fd
--- /dev/null
+++ b/deskutils/gxmessage/pkg-descr
@@ -0,0 +1,4 @@
+A GTK2 based xmessage clone, gxmessage tries to be as compatible as possible.
+You might like it if you're running a mostly GTK desktop.
+
+WWW: http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage
diff --git a/devel/libunicode/Makefile b/devel/libunicode/Makefile
new file mode 100644
index 000000000..4d2a8614f
--- /dev/null
+++ b/devel/libunicode/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: libunicode
+# Date created: 28th June 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= libunicode
+PORTVERSION= 0.4
+PORTREVISION= 8
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/libunicode/0.4
+DISTNAME= ${PORTNAME}-${PORTVERSION}.gnome
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A library for manipulating Unicode characters and strings
+
+USE_AUTOTOOLS= libtool:15
+USE_GMAKE= yes
+USE_XLIB= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share \
+ --datadir=${PREFIX}/share
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/libunicode/distinfo b/devel/libunicode/distinfo
new file mode 100644
index 000000000..7c8767c9a
--- /dev/null
+++ b/devel/libunicode/distinfo
@@ -0,0 +1,3 @@
+MD5 (libunicode-0.4.gnome.tar.gz) = 78bca1168d7f180e9cc8a3388bf7374e
+SHA256 (libunicode-0.4.gnome.tar.gz) = a4466a63c6501aa3137fdf309dc044bbb48186136ab86ea87c09653789ebcffd
+SIZE (libunicode-0.4.gnome.tar.gz) = 211622
diff --git a/devel/libunicode/files/patch-aa b/devel/libunicode/files/patch-aa
new file mode 100644
index 000000000..2c39e59e3
--- /dev/null
+++ b/devel/libunicode/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Wed Sep 20 17:44:12 2000
++++ Makefile.in Thu Sep 21 10:54:20 2000
+@@ -94,7 +94,7 @@
+ EXTRA_DIST = libunicode.spec.in unicodeConf.sh.in
+
+
+-confexecdir = $(libdir)
++confexecdir = $(sysconfdir)
+ confexec_DATA = unicodeConf.sh
+
+ CLEAN_FILES = unicodeConf.sh
diff --git a/devel/libunicode/files/patch-iso8859.c b/devel/libunicode/files/patch-iso8859.c
new file mode 100644
index 000000000..afe3101c5
--- /dev/null
+++ b/devel/libunicode/files/patch-iso8859.c
@@ -0,0 +1,11 @@
+--- iso8859.c.orig Fri Oct 29 15:15:19 1999
++++ iso8859.c Wed Jun 5 02:43:26 2002
+@@ -271,6 +271,8 @@
+ #define ISO_DEFINE(Num) \
+ static char * n ## Num [] = { "8859-" # Num, \
+ "ISO-8859-" # Num, \
++ "ISO_8859-1" # Num, \
++ "ISO8859-" # Num, \
+ NULL }; \
+ unicode_encoding_t P3 (unicode_iso8859_, Num, _encoding) = \
+ { \
diff --git a/devel/libunicode/files/patch-latin1.c b/devel/libunicode/files/patch-latin1.c
new file mode 100644
index 000000000..5196870a1
--- /dev/null
+++ b/devel/libunicode/files/patch-latin1.c
@@ -0,0 +1,11 @@
+--- latin1.c.orig Wed Jun 5 02:41:15 2002
++++ latin1.c Wed Jun 5 02:41:34 2002
+@@ -89,7 +89,7 @@
+ }
+
+ /* The encoding descriptor for Latin1. */
+-static char *l1n[] = { "8859-1", "ISO-8859-1", NULL };
++static char *l1n[] = { "8859-1", "ISO8859-1", "ISO_8859-1", "ISO-8859-1", NULL };
+ unicode_encoding_t unicode_latin1_encoding =
+ {
+ l1n,
diff --git a/devel/libunicode/pkg-descr b/devel/libunicode/pkg-descr
new file mode 100644
index 000000000..b27a4d6b0
--- /dev/null
+++ b/devel/libunicode/pkg-descr
@@ -0,0 +1,5 @@
+libunicode is a library for manipulating Unicode characters and
+strings. It understands both the UTF-8 and UCS-2 encodings, and has a
+framework for adding support for new encodings.
+
+WWW: http://www.gnome.org/
diff --git a/devel/libunicode/pkg-plist b/devel/libunicode/pkg-plist
new file mode 100644
index 000000000..ea1954412
--- /dev/null
+++ b/devel/libunicode/pkg-plist
@@ -0,0 +1,7 @@
+bin/unicode-config
+etc/unicodeConf.sh
+include/unicode.h
+lib/libunicode.a
+lib/libunicode.la
+lib/libunicode.so
+lib/libunicode.so.0
diff --git a/devel/monodoc/Makefile b/devel/monodoc/Makefile
new file mode 100644
index 000000000..73ded4b87
--- /dev/null
+++ b/devel/monodoc/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: MonoDoc
+# Date created: 2004-08-13
+# Friday the 13th!
+# Whom: Christopher Nehren
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.1 2007-09-10 05:25:08 mezz Exp $
+#
+
+PORTNAME= monodoc
+PORTVERSION= 1.2.3
+PORTREVISION= 1
+CATEGORIES= devel gnome
+MASTER_SITES= http://www.go-mono.com/sources/${PORTNAME}/
+
+MAINTAINER= bsd-sharp-list@forge.novell.com
+COMMENT= Documentation for Mono and Mono libraries
+
+BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
+RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
+
+USE_GNOME= gnomehack gnometarget
+USE_ZIP= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN1= mdnormalizer.1 mdvalidator.1 monodocer.1 monodocs2html.1 \
+ mdassembler.1 mdcs2ecma.1
+
+.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
+.include <bsd.port.mk>
diff --git a/devel/monodoc/distinfo b/devel/monodoc/distinfo
new file mode 100644
index 000000000..1bfbdeb13
--- /dev/null
+++ b/devel/monodoc/distinfo
@@ -0,0 +1,3 @@
+MD5 (monodoc-1.2.3.zip) = 6387e57b69a2052150398fce7c29eaea
+SHA256 (monodoc-1.2.3.zip) = b8c914c060e56ef71112a76194927dfcc14fa18f879c1185e61211a730d42d25
+SIZE (monodoc-1.2.3.zip) = 13780947
diff --git a/devel/monodoc/pkg-descr b/devel/monodoc/pkg-descr
new file mode 100644
index 000000000..1ebfcdc77
--- /dev/null
+++ b/devel/monodoc/pkg-descr
@@ -0,0 +1,4 @@
+This is the MonoDoc module. It contains the documentation for the Mono
+class libraries.
+
+WWW: http://www.mono-project.com/
diff --git a/devel/monodoc/pkg-plist b/devel/monodoc/pkg-plist
new file mode 100644
index 000000000..dbd5c0242
--- /dev/null
+++ b/devel/monodoc/pkg-plist
@@ -0,0 +1,46 @@
+bin/mdassembler
+bin/mdcs2ecma
+bin/mdnormalizer
+bin/mdvalidater
+bin/mod
+bin/monodocer
+bin/monodocs2html
+bin/monodocs2slashdoc
+lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll
+lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll.config
+lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll.mdb
+lib/mono/monodoc/monodoc.dll
+lib/monodoc/assembler.exe
+lib/monodoc/cs2ecma.exe
+lib/monodoc/mod.exe
+lib/monodoc/monodoc.xml
+lib/monodoc/monodocer.exe
+lib/monodoc/monodocer1.exe
+lib/monodoc/monodocs2html.exe
+lib/monodoc/monodocs2slashdoc.exe
+lib/monodoc/normalize.exe
+lib/monodoc/sources/Mono.source
+lib/monodoc/sources/Mono.tree
+lib/monodoc/sources/Mono.zip
+lib/monodoc/sources/Novell.source
+lib/monodoc/sources/Novell.tree
+lib/monodoc/sources/Novell.zip
+lib/monodoc/sources/cs-errors.source
+lib/monodoc/sources/cs-errors.tree
+lib/monodoc/sources/cs-errors.zip
+lib/monodoc/sources/ecma334.source
+lib/monodoc/sources/ecma334.tree
+lib/monodoc/sources/ecma334.zip
+lib/monodoc/sources/netdocs.source
+lib/monodoc/sources/netdocs.tree
+lib/monodoc/sources/netdocs.zip
+lib/monodoc/sources/nunit-docs.source
+lib/monodoc/sources/nunit-docs.tree
+lib/monodoc/sources/nunit-docs.zip
+lib/monodoc/validate.exe
+libdata/pkgconfig/monodoc.pc
+@dirrm lib/monodoc/sources
+@dirrm lib/monodoc
+@dirrm lib/mono/monodoc
+@dirrm lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756
+@dirrm lib/mono/gac/monodoc