git: 19a086292064 - main - audio/nas: Use DISTNAME/WRKSRC instead of abusing EXTRACT_SUFX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Jun 2025 21:57:26 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=19a0862920640a675df3b2352d7403ec621dc4cd
commit 19a0862920640a675df3b2352d7403ec621dc4cd
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-06-02 20:49:00 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-06-02 21:56:27 +0000
audio/nas: Use DISTNAME/WRKSRC instead of abusing EXTRACT_SUFX
Approved by: portmgr (blanket)
---
audio/nas/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index a15f3c21cfc2..d5a962861d0c 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -1,9 +1,9 @@
PORTNAME= nas
-PORTVERSION= 1.9.4
+DISTVERSION= 1.9.4
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}%20%28stable%29
-EXTRACT_SUFX= .src.tar.gz
+DISTNAME= ${PORTNAME}-${DISTVERSION}.src
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Network Audio System
@@ -18,6 +18,8 @@ USE_LDCONFIG= yes
MAKE_ENV+= COMPRESS_CMD="${COMPRESS_CMD:S/c//}"
MAKE_JOBS_UNSAFE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
+
FPIC= -fpic
post-configure: