forked from Lainports/freebsd-ports
audio/sndio: Improve port
* Switch to DISTVERSION * Define pkgconfdir * Simplify STRIP_CMD for binaries
This commit is contained in:
parent
0a32a8de98
commit
d66f942021
1 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= sndio
|
PORTNAME= sndio
|
||||||
PORTVERSION= 1.10.0
|
DISTVERSION= 1.10.0
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= https://sndio.org/
|
MASTER_SITES= https://sndio.org/
|
||||||
|
|
||||||
|
|
@ -14,7 +14,8 @@ USE_RC_SUBR= sndiod
|
||||||
|
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --default-dev="rsnd/default" \
|
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
|
# Parallel build leads to problems, but sndio is very quick to compile
|
||||||
# as is so not worth fixing
|
# as is so not worth fixing
|
||||||
|
|
@ -29,8 +30,7 @@ post-patch:
|
||||||
${WRKSRC}/sndiod/sndiod.c
|
${WRKSRC}/sndiod/sndiod.c
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} \
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
||||||
aucat midicat sndioctl sndiod
|
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsndio.so.7.3
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsndio.so.7.3
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue