mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
audio/playgsf: Improve port
* Pacify portlint/portfmt/portclippy * Convert post-extract to EXTRACT_AFTER_ARGS to reduce I/O (skips extracting) PR: 278765
This commit is contained in:
parent
eceefb231d
commit
065f61c4c8
1 changed files with 9 additions and 12 deletions
|
@ -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} \
|
||||
|
|
Loading…
Add table
Reference in a new issue