aboutsummaryrefslogtreecommitdiffstats
path: root/audio/aureal-kmod/Makefile
blob: 057ad41ff7406e20a701690ae57e201f35174e11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Ports collection makefile for:    aureal-kmod
# Date created:             15 January 2001
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   aureal-kmod
PORTVERSION=    1.5
PORTREVISION=   6
CATEGORIES= audio kld
MASTER_SITES=   http://www.matey.org/au88x0/
DISTNAME=   au88x0-${PORTVERSION}_${DISTREVISION}

MAINTAINER= c.kworr@gmail.com
COMMENT=    A FreeBSD Driver for Aureal Vortex based soundcards

NO_PACKAGE= Should be in sync with the kernel to work correctly

ONLY_FOR_ARCHS= i386
SRCPREFIX?= /usr/src
STRAYFILES= au88x0.h au88x0.c asp10.o asp20.o asp30.o
DISTREVISION=   4

KMODDIR=    ${PREFIX}/modules/au88x0
KMODDIR_REL=    ${KMODDIR:S%${PREFIX}/%%}

USE_RC_SUBR=    aureal
SUB_FILES=  pkg-message
SUB_LIST=   KMODDIR=${KMODDIR} RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX}

PLIST_SUB=  KMODDIR=${KMODDIR_REL}

WRKSRC=     ${WRKDIR}

MAKE_ENV=   WRKSRC="${WRKSRC}"
MAKE_ARGS=  KMODDIR="${KMODDIR}"

# Make sure kernel sources are present before going any further
.if ! exists(${SRCPREFIX}/sys/dev/sound/pcm/sound.c)
IGNORE= you need to extract kernel source tree before building this package
.endif

pre-everything::
.for STRAY in ${STRAYFILES}
.if exists(${SRCPREFIX}/sys/dev/sound/pci/${STRAY})
    @${ECHO}
    @${ECHO} "You have stray code in your tree.  Make sure you"
    @${ECHO} "do not have any of the following:"
    @${ECHO}
    @${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/au88x0.c"
    @${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/au88x0.h"
    @${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/asp10.o"
    @${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/asp20.o"
    @${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/asp30.o"
    @${ECHO}
    @${FALSE}
.endif
.endfor

pre-install:
    ${MKDIR} ${KMODDIR}

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/audio/xmms-kde/Makefile?h=gstreamer0.10-removal&id=3c0625e6de2b3875eca62ae397afd0a3bfb7ab9f'>Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * Update to 3.1. This release seems to behave more friendly on my machineseanc2003-12-091-4/+3 * chase lib version change of multimedia/xmmsedwin2003-09-081-1/+1 * Remove the USE_GNOMENG macro.marcus2003-04-081-1/+0 * De-pkg-comment.knu2003-02-211-0/+1 * After repo copy from graphics category, update all appropriatelioux2002-11-291-1/+1 * Update to kde3. It still has a bad dependency installed on libmikmod whenalane2002-09-211-8/+13 * Chase xmms shared library version bump.sobomax2002-01-141-1/+1 * Chase increased version number of libxmms.sobomax2001-06-211-1/+1