forked from Lainports/freebsd-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.
31 lines
647 B
Makefile
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>
|