blob: 056a345a594ba220c04ba9d0a69690d417e8dd07 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Aragon Gouveia <aragon@phat.za.net>
PORTNAME= alsa-lib
PORTVERSION= 1.2.2
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= audio
MASTER_SITES= GH
USE_GITHUB= yes
GH_ACCOUNT= alsa-project
GH_PROJECT= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= ALSA compatibility library
LICENSE= LGPL21+
USES= autoreconf cpe libtool:keepla tar:bzip2
CPE_VENDOR= alsa-project
CPE_PRODUCT= alsa
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfdir="\$${prefix}/libdata/pkgconfig"
CONFIGURE_ENV= ac_cv_header_endian_h=no
INSTALL_TARGET= install-strip
TEST_ENV= ${MAKE_ENV} \
ALSA_CONFIG_PATH="${FILESDIR}/asound.conf.sample"
TEST_TARGET= check
CPPFLAGS+= -I${FILESDIR}
OPTIONS_DEFINE= PYTHON
OPTIONS_SUB= yes
PYTHON_USES= gettext-runtime python
PYTHON_CONFIGURE_ENABLE= mixer-pymods python
PYTHON_BINARY_ALIAS= python3-config=${PYTHON_CMD:T}-config
post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/conf/alsa.conf
post-install:
${INSTALL_DATA} ${FILESDIR}/asound.conf.sample ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>
|