aboutsummaryrefslogtreecommitdiffstats
path: root/audio/emu10kx
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-10-22 06:36:37 +0800
committerpav <pav@FreeBSD.org>2005-10-22 06:36:37 +0800
commit1ee499be327392d4e68281199fcabc50ae0a5124 (patch)
tree57ac25a49f29dfa16cc9493a35329fb1affdfb44 /audio/emu10kx
parentcca8d305c20c11873b2ce75e3ff49bc36393e4da (diff)
downloadfreebsd-ports-gnome-1ee499be327392d4e68281199fcabc50ae0a5124.tar.gz
freebsd-ports-gnome-1ee499be327392d4e68281199fcabc50ae0a5124.tar.zst
freebsd-ports-gnome-1ee499be327392d4e68281199fcabc50ae0a5124.zip
- Update to 20051021 which features:
* Audigy 2 / Audigy 2 Value fixes, full support for SB0400 Audigy 2 Value * Workaround for bad AC97 'rec' volume emulation * 4.x build fix * rc.d/emuctrl.sh script that saves card parameters * Improved documentation PR: ports/87772 Submitted by: Michael Seyfert <michaels@sdf.lonestar.org> (maintainer) - Install kernel module into /boot/modules instead of /boot/kernel PR: ports/87541 Submitted by: Bjorn Konig <bkoenig@cs.tu-berlin.de> Approved by: Michael Seyfert <michaels@sdf.lonestar.org> (maintainer)
Diffstat (limited to 'audio/emu10kx')
-rw-r--r--audio/emu10kx/Makefile11
-rw-r--r--audio/emu10kx/distinfo4
-rw-r--r--audio/emu10kx/pkg-deinstall7
-rw-r--r--audio/emu10kx/pkg-descr2
4 files changed, 17 insertions, 7 deletions
diff --git a/audio/emu10kx/Makefile b/audio/emu10kx/Makefile
index c30912576c20..724ee9831a47 100644
--- a/audio/emu10kx/Makefile
+++ b/audio/emu10kx/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= emu10kx
-PORTVERSION= 20050919
+PORTVERSION= 20051021
CATEGORIES= audio
MASTER_SITES= http://chibis.persons.gfk.ru/audigy/emu10kx/
-DISTNAME= ${PORTNAME}-2005-09-19
+DISTNAME= ${PORTNAME}-2005-10-21
MAINTAINER= michaels@sdf.lonestar.org
COMMENT= SBLive!, Audigy, and Audigy2 driver for FreeBSD
@@ -19,8 +19,11 @@ USE_BZIP2= yes
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel
MAN8= emuctrl.8
-PLIST_FILES= sbin/emuctrl
-WRKSRC= ${WRKDIR}/${DISTNAME}a
+PLIST_FILES= sbin/emuctrl etc/rc.d/emuctrl.sh
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+do-install:
+ @${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC} -DMODULES_WITH_WORLD install
post-install:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
diff --git a/audio/emu10kx/distinfo b/audio/emu10kx/distinfo
index 12c028db9c32..4d6354f4e3a9 100644
--- a/audio/emu10kx/distinfo
+++ b/audio/emu10kx/distinfo
@@ -1,2 +1,2 @@
-MD5 (emu10kx-2005-09-19.tar.bz2) = 710b275e176858b5b2478ca53a0ef35c
-SIZE (emu10kx-2005-09-19.tar.bz2) = 63868
+MD5 (emu10kx-2005-10-21.tar.bz2) = 823f13ae7513061fb6474328c0dc7690
+SIZE (emu10kx-2005-10-21.tar.bz2) = 70555
diff --git a/audio/emu10kx/pkg-deinstall b/audio/emu10kx/pkg-deinstall
index 7bc92fe166a6..351b8469a536 100644
--- a/audio/emu10kx/pkg-deinstall
+++ b/audio/emu10kx/pkg-deinstall
@@ -19,11 +19,16 @@ if [ ${RESULT} -eq 0 ]; then
fi
# Remove the driver
-rm /boot/kernel/$DRIVERNAME.ko
+rm /boot/modules/$DRIVERNAME.ko
# Remove the driver from loader.conf
grep ${DRIVERNAME}_load /boot/loader.conf > /dev/null 2>&1; RESULT=$?
if [ ${RESULT} -eq 0 ]; then
sed -e /${DRIVERNAME}_load.*/d -i.orig /boot/loader.conf
fi
+
+# Tell the user about the state files
+if [ -f /var/db/emu10kx0-state ]; then
+echo "If you will not be using this port anymore, please remove " /var/db/emu10kx[0-9]-state " manually."
+fi
#============================================================
diff --git a/audio/emu10kx/pkg-descr b/audio/emu10kx/pkg-descr
index 7b30e2630963..cfaa361b0d1b 100644
--- a/audio/emu10kx/pkg-descr
+++ b/audio/emu10kx/pkg-descr
@@ -4,4 +4,6 @@ SBLive!, Audigy, and Audigy2 based cards.
This is an alternate driver that you may use instead of the snd_emu10k1
driver in the FreeBSD kernel.
+This driver was written by Yuriy Tsibizov.
+
WWW: http://chibis.persons.gfk.ru/audigy/