freebsd-ports/audio/linux-c7-alsa-lib/Makefile
Tijl Coosemans bb5cf6c4f3 Address some portlint warnings in the Linux infrastructure ports.
Eliminate LINUXNAME from port Makefiles.  This was just a helper variable
without special meaning outside port Makefiles but several developers have
copied it to new ports where it was then unused, apparently thinking that
it did have some special meaning.
2019-06-08 15:59:46 +00:00

31 lines
647 B
Makefile

# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
# $FreeBSD$
PORTNAME= alsa-lib
PORTVERSION= 1.1.6
DISTVERSIONSUFFIX= -2.el7
CATEGORIES= audio linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= Advanced Linux Sound Architecture libraries (Linux CentOS ${LINUX_DIST_VER})
LICENSE= GPLv3
RUN_DEPENDS= alsa-lib>0:audio/alsa-lib
USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes
CONFLICTS= linux-c6-${PORTNAME}-[0-9]*
OPTIONS_DEFINE= DOCS
post-patch:
@${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/lib/modprobe.d \
${WRKSRC}/usr/share/doc/alsa-lib
post-install:
${LN} -sf ${LOCALBASE}/etc/asound.conf ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>