aboutsummaryrefslogtreecommitdiff
path: root/audio/emu10kx
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-21 22:36:37 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-21 22:36:37 +0000
commita55f0a98ba1a5208de58e676b795487623ab6921 (patch)
tree0e1dc0f09614a6e31e3400da548fc715068c6441 /audio/emu10kx
parent87cb7e1b0853c0563f6824d019ff7e7f6d6236e5 (diff)
Notes
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/