mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
audio/sndio: Improve port
* Switch to DISTVERSION * Define pkgconfdir * Simplify STRIP_CMD for binaries
This commit is contained in:
parent
0a32a8de98
commit
d66f942021
@ -1,5 +1,5 @@
|
||||
PORTNAME= sndio
|
||||
PORTVERSION= 1.10.0
|
||||
DISTVERSION= 1.10.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= https://sndio.org/
|
||||
|
||||
@ -14,7 +14,8 @@ USE_RC_SUBR= sndiod
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --default-dev="rsnd/default" \
|
||||
--prefix=${PREFIX}
|
||||
--prefix=${PREFIX} \
|
||||
--pkgconfdir=${PREFIX}/libdata/pkgconfig
|
||||
|
||||
# Parallel build leads to problems, but sndio is very quick to compile
|
||||
# as is so not worth fixing
|
||||
@ -29,8 +30,7 @@ post-patch:
|
||||
${WRKSRC}/sndiod/sndiod.c
|
||||
|
||||
post-install:
|
||||
cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} \
|
||||
aucat midicat sndioctl sndiod
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsndio.so.7.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user