Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2024 23:59:00 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d66f94202180 - main - audio/sndio: Improve port
Message-ID:  <202408032359.473Nx0xh080529@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408032359.473Nx0xh080529>