git: d66f94202180 - main - audio/sndio: Improve port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Aug 2024 23:59:00 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d66f942021806100e315ddd7c8de8651165a7229
commit d66f942021806100e315ddd7c8de8651165a7229
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-08-03 23:53:02 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-08-03 23:58:54 +0000
audio/sndio: Improve port
* Switch to DISTVERSION
* Define pkgconfdir
* Simplify STRIP_CMD for binaries
---
audio/sndio/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/audio/sndio/Makefile b/audio/sndio/Makefile
index b2d33fa0a6fc..d9ade9c86ac6 100644
--- a/audio/sndio/Makefile
+++ b/audio/sndio/Makefile
@@ -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>