freebsd-ports/audio/linux-f10-alsa-lib/Makefile
Antoine Brodin 364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00

36 lines
1,008 B
Makefile

# Created by: Boris Samorodov <bsam@FreeBSD.org>
# $FreeBSD$
PORTNAME= alsa-lib
PORTVERSION= 1.0.21
PORTREVISION= 5
CATEGORIES= audio linux
MASTER_SITES= LOCAL/ehaupt/rpm/${LINUX_RPM_ARCH}/fedora/${LINUX_DIST_VER}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Advanced Linux Sound Architecture libraries (Linux Fedora 10)
RUN_DEPENDS= alsa-lib>0:${PORTSDIR}/audio/alsa-lib
CONFLICTS= linux-alsa-lib-[0-9]* linux-f8-alsa-lib-[0-9]*
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= f10
USE_LINUX_RPM= yes
RPMVERSION= 2.fc10
BRANDELF_FILES= usr/bin/aserver
USE_LDCONFIG= yes
# We will use native configuration file, so delete a linux one
post-extract:
@${RM} -r ${WRKSRC}/etc
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${LN} -fs ${LOCALBASE}/etc/asound.conf ${STAGEDIR}${PREFIX}/etc
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-ac97.la
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-hda.la
${RM} ${STAGEDIR}${PREFIX}/usr/lib/alsa-lib/smixer/smixer-sbase.la
.include <bsd.port.mk>