summaryrefslogtreecommitdiff
path: root/audio/alsa-sndio/Makefile
blob: 1276c7ad2da4ae2351bb6a349c5fcc4c154fcc90 (plain)
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

PORTNAME=	alsa-sndio
DISTVERSION=	0.2
PORTREVISION=	1
CATEGORIES=	audio

MAINTAINER=	ports@FreeBSD.org
COMMENT=	ALSA PCM sndio plugin

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libasound.so:audio/alsa-lib \
		libsndio.so:audio/sndio

USES=		gmake localbase pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	Duncaen

PLIST_FILES=	lib/alsa-lib/libasound_module_pcm_sndio.so

post-patch:
	@${REINPLACE_CMD} -e 's,-ldl,,' ${WRKSRC}/Makefile

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/alsa-lib
	${INSTALL_LIB} ${WRKSRC}/libasound_module_pcm_sndio.so \
		${STAGEDIR}${PREFIX}/lib/alsa-lib

.include <bsd.port.mk>