aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>1998-12-23 10:53:35 +0800
committerflathill <flathill@FreeBSD.org>1998-12-23 10:53:35 +0800
commitaa4d6c3b825aa7bd803bf8658e499c7ff719df85 (patch)
tree4f654027078dbc353a87c0ceed94765272bc742c
parent20895b898d55edea66d36bb2adc8eccae2ce83cf (diff)
downloadfreebsd-ports-gnome-aa4d6c3b825aa7bd803bf8658e499c7ff719df85.tar.gz
freebsd-ports-gnome-aa4d6c3b825aa7bd803bf8658e499c7ff719df85.tar.zst
freebsd-ports-gnome-aa4d6c3b825aa7bd803bf8658e499c7ff719df85.zip
PR: ports/9049
Submitted by: gljohns@bellsouth.net sound server for Window Maker.
-rw-r--r--audio/wsoundserver/Makefile28
-rw-r--r--audio/wsoundserver/distinfo1
-rw-r--r--audio/wsoundserver/files/configure29
-rw-r--r--audio/wsoundserver/pkg-comment1
-rw-r--r--audio/wsoundserver/pkg-descr15
-rw-r--r--audio/wsoundserver/pkg-plist9
6 files changed, 83 insertions, 0 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile
new file mode 100644
index 000000000000..8cb485b55368
--- /dev/null
+++ b/audio/wsoundserver/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: wmsound
+# Version required: 0.9.0
+# Date created: 9 December 1998
+# Whom: gljohns@bellsouth.net
+#
+# $Id$
+#
+
+DISTNAME= wmsound-0.9.0
+CATEGORIES= audio
+MASTER_SITES= http://www.frontiernet.net/~southgat/wmsound/download/
+
+MAINTAINER= gljohns@bellsouth.net
+
+BUILD_DEPENDS= wmaker:${PORTSDIR}/x11-wm/windowmaker
+
+FETCH_BEFORE_ARGS= -b
+
+USE_IMAKE= yes
+NO_INSTALL_MANPAGES= yes
+
+post-install:
+ ${SH} ${FILESDIR}/configure > ${WRKDIR}/WMSound
+ ${INSTALL_DATA} ${WRKDIR}/WMSound \
+ ${PREFIX}/share/WindowMaker/Defaults/WMSound
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/audio/wsoundserver/distinfo b/audio/wsoundserver/distinfo
new file mode 100644
index 000000000000..d3de83ecda2e
--- /dev/null
+++ b/audio/wsoundserver/distinfo
@@ -0,0 +1 @@
+MD5 (wmsound-0.9.0.tar.gz) = ab81b329a1e627bcd2f79e68156642f2
diff --git a/audio/wsoundserver/files/configure b/audio/wsoundserver/files/configure
new file mode 100644
index 000000000000..56a1af01f7b1
--- /dev/null
+++ b/audio/wsoundserver/files/configure
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+# WMSound configuration and compilation script
+# (C) Copyright 1998, Anthony Quinn & Pascal Hofstee
+# Modified for FreeBSD port installation by Glenn Johnson
+
+VERSION="0.9.0"
+DEVICE="/dev/dsp"
+
+(echo "{";\
+echo " SoundPath = (\"~/GNUstep/Library/WindowMaker/Sounds\",";\
+echo " \"/usr/X11R6/share/WindowMaker/Sounds\");";\
+echo " SoundSetsPath = (\"~/GNUstep/Library/WindowMaker/SoundSets\",";\
+echo " \"/usr/X11R6/share/WindowMaker/SoundSets\");";\
+echo " Device = $DEVICE;";\
+echo " AppExit = appexit.wav;";\
+echo " AppStart = appstart.wav;";\
+echo " Hide = hide.wav;";\
+echo " Iconify = iconify.wav;";\
+echo " Maximize = maximize.wav;";\
+echo " UnMaximize = unmaximize.wav;";\
+echo " Shade = shade.wav;";\
+echo " Startup = startup.wav;";\
+echo " UnHide = unhide.wav;";\
+echo " DeIconify = uniconify.wav;";\
+echo " UnShade = unshade.wav;";\
+echo " UserDefined = replaceme.wav;";\
+echo "}";)
+
diff --git a/audio/wsoundserver/pkg-comment b/audio/wsoundserver/pkg-comment
new file mode 100644
index 000000000000..876961181f58
--- /dev/null
+++ b/audio/wsoundserver/pkg-comment
@@ -0,0 +1 @@
+The sound server for Window Maker.
diff --git a/audio/wsoundserver/pkg-descr b/audio/wsoundserver/pkg-descr
new file mode 100644
index 000000000000..29a7ee9e22a9
--- /dev/null
+++ b/audio/wsoundserver/pkg-descr
@@ -0,0 +1,15 @@
+This is the sound server for Window Maker. To use it, execute "wmsound &" from
+an xterm, then dock the application icon. This package comes with a utility
+called nmaker that can be used to play .wav files. You can set nmaker to be
+the application to play .au and .wav files that you drop onto the docked
+wmsound icon.
+
+Recent versions of Window Maker are built with sound enabled by default. If
+you are using an older version of Window Maker, you will have to add the
+following argument to configure: "--enable-sound" and rebuild and reinstall
+Window Maker, or upgrade to a newer version.
+
+You must set up your sounds to use for various events, ie., iconification. You
+can get preset Sounsets from:
+
+http://www.frontiernet.net/~southgat/wmsound/sounds/index.shtml
diff --git a/audio/wsoundserver/pkg-plist b/audio/wsoundserver/pkg-plist
new file mode 100644
index 000000000000..44e6aec25c45
--- /dev/null
+++ b/audio/wsoundserver/pkg-plist
@@ -0,0 +1,9 @@
+bin/wmsound
+bin/nmaker
+bin/getsounds
+bin/setsounds
+include/wmsnd.h
+share/WindowMaker/Defaults/WMSound
+lib/libwmsnd.a
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R