1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/audio/libmad/Makefile
Daniel Engberg b54d35f00b audio/libmad: Fix distinfo and only enable ASO on supported 32-bit platforms
Distinfo contains stale info for obsolete patch file andonly enable ASO
on armv6/v7/i386

PR:		266350
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2022-09-27 12:30:37 +02:00

39 lines
793 B
Makefile

PORTNAME= libmad
PORTVERSION= 0.16.3
CATEGORIES= audio
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Libmad library (part of MAD project)
WWW= https://www.underbit.com/products/mad/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake cpe pathfix
CMAKE_OFF= MADD_ASM MADD16_ASM
CMAKE_ON= BUILD_SHARED_LIBS ${CMAKE_ON_${ARCH}}
CMAKE_ON_armv6= ASO
CMAKE_ON_armv7= ASO
CMAKE_ON_i386= ASO
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
CPE_VENDOR= underbit
USE_GITHUB= yes
GH_ACCOUNT= tenacityteam
OPTIONS_SINGLE= OPTIMIZE
OPTIONS_SINGLE_OPTIMIZE=ACCURACY SPEED
OPTIONS_DEFAULT=SPEED
ACCURACY_DESC= Optimize for accuracy over speed
SPEED_DESC= Optimize for speed over accuracy
ACCURACY_CMAKE_ON= -DOPTIMIZE=ACCURACY
SPEED_CMAKE_ON= -DOPTIMIZE=SPEED
.include <bsd.port.mk>