aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2024-05-18 05:44:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2024-05-18 05:44:14 +0000
commit065f61c4c8b6023e7fd5ade1531d1e7145affad0 (patch)
tree9a48348d17118109ebe56efc1ec124cee74bfbb9
parenteceefb231d28830d4ae927f722d6a8d650f5bd92 (diff)
downloadports-065f61c4c8b6023e7fd5ade1531d1e7145affad0.tar.gz
ports-065f61c4c8b6023e7fd5ade1531d1e7145affad0.zip
audio/playgsf: Improve port
* Pacify portlint/portfmt/portclippy * Convert post-extract to EXTRACT_AFTER_ARGS to reduce I/O (skips extracting) PR: 278765
-rw-r--r--audio/playgsf/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/audio/playgsf/Makefile b/audio/playgsf/Makefile
index 2c6c2c46e5f5..45fb748e418d 100644
--- a/audio/playgsf/Makefile
+++ b/audio/playgsf/Makefile
@@ -1,34 +1,31 @@
PORTNAME= playgsf
-PORTVERSION= 0.7.1
-PORTREVISION= 4
+DISTVERSION= 0.7.1
+PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://projects.raphnet.net/playgsf/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command-line player for gsf audio files
-WWW= http://projects.raphnet.net/ #playgsf
+WWW= http://projects.raphnet.net/
LICENSE= GPLv2+ LGPL21 NONE
LICENSE_COMB= multi
LICENSE_FILE_LGPL21= ${WRKSRC}/libresample-0.1.3/LICENSE.txt
+ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le
+
LIB_DEPENDS= libao.so:audio/libao
USES= dos2unix gmake localbase:ldflags
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-ccore \
- --disable-optimisations
-
-PLIST_FILES= bin/playgsf
+CONFIGURE_ARGS= --disable-optimisations \
+ --enable-ccore
-ONLY_FOR_ARCHS= i386 amd64 powerpc64le powerpc64 powerpc
+EXTRACT_AFTER_ARGS= --exclude libresample-0.1.3/libresample.a
PORTSCOUT= skipv:0.7.2
-
-post-extract:
- # Don't use accidentally packaged static library
- @${RM} ${WRKSRC}/libresample-0.1.3/libresample.a
+PLIST_FILES= bin/playgsf
post-patch:
@${REINPLACE_CMD} \