audio/playgsf: Improve port

* Pacify portlint/portfmt/portclippy
* Convert post-extract to EXTRACT_AFTER_ARGS to reduce I/O
  (skips extracting)

PR:		278765
main
Emanuel Haupt 2024-05-18 07:44:06 +02:00
parent eceefb231d
commit 065f61c4c8
1 changed files with 9 additions and 12 deletions

View File

@ -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
CONFIGURE_ARGS= --disable-optimisations \
--enable-ccore
PLIST_FILES= bin/playgsf
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} \