1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Better FreeBSD version detection;

- update maintainer's e-mail.

Submitted by:	maintainer
This commit is contained in:
Maxim Sobolev 2003-05-20 04:45:10 +00:00
parent 27b4b8ceb3
commit eb90479d10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81517
2 changed files with 8 additions and 10 deletions

View File

@ -12,7 +12,7 @@ CATEGORIES= audio
MASTER_SITES= http://home.columbus.rr.com/amatey/au88x0/
DISTNAME= au88x0-${PORTVERSION}_${PORTREVISION}
MAINTAINER= lx@matey.org
MAINTAINER= ports@matey.org
COMMENT= A FreeBSD Driver for Aureal Vortex based soundcards
NO_PACKAGE= Should be in sync with the kernel to work correctly
@ -68,7 +68,7 @@ PORTREVISION= 3
MAKE_ENV+= HAVE_KOBJ_PCM=1
.elif ${OSVERSION} < 500000
# FreeBSD 4.5+
# FreeBSD 4.5+, 4.6, 4.7, 4.8-
.if ${VERSION_SOUND_C_STABLE} < 12
BROKEN= "Base system is outdated. This port needs -STABLE after 2002-04-22."
.endif
@ -84,6 +84,11 @@ BROKEN= "Base system is outdated. This port needs -CURRENT after 2002-04-04."
.endif
.endif
# Make sure kernel sources are present before going any further
.if ! exists(${SRCPREFIX}/sys/dev/sound/pcm/sound.c)
BROKEN= "You need to extract kernel source tree before building this package"
.endif
pre-fetch:
.for STRAY in ${STRAYFILES}
.if exists(${SRCPREFIX}/sys/dev/sound/pci/${STRAY})
@ -100,13 +105,6 @@ pre-fetch:
@${FALSE}
.endif
.endfor
@if [ ! -d /sys -a ! -d ${SRCPREFIX}/sys ]; then \
${ECHO} "****************************************" ; \
${ECHO} " You need to extract kernel source tree" ; \
${ECHO} " before you build this package..." ; \
${ECHO} "****************************************" ; \
${FALSE} ; \
fi
pre-install:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \

View File

@ -30,7 +30,7 @@ install snd_pcm by doing:
# cd /sys/modules/sound/pcm/ && make all install
Report problems to Alexander Matey <lx@matey.org>.
Report problems to Alexander Matey <ports@matey.org>.
Thanks and enjoy!