summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorSeiichirou Hiraoka <flathill@FreeBSD.org>1998-12-23 02:53:35 +0000
committerSeiichirou Hiraoka <flathill@FreeBSD.org>1998-12-23 02:53:35 +0000
commit06e06ff4f6109943d1401fab3bf2f4c78f2e0cd1 (patch)
treeb17812d918990e7860e9fd89f365ce9c7204514c /audio
parentDistfile changed on master_site (diff)
PR: ports/9049
Submitted by: gljohns@bellsouth.net sound server for Window Maker.
Notes
Notes: svn path=/head/; revision=15517
Diffstat (limited to 'audio')
-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