1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/multimedia/libass/Makefile
Thomas Zander e38f12c62c Convert ASM to option helpers, make ASM arch-dependent
- Provide ASM option only on supported archs (i386, amd64)
- i386: ASM is no longer default OPTION (fixes bug 252587)
- Bump PORTREVISION

PR:		202599
Submitted by:	jbeich
Reviewed by:	riggs
2015-08-26 06:22:26 +00:00

47 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= libass
PORTVERSION= 0.12.1
PORTREVISION= 1
CATEGORIES= multimedia devel
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Portable ASS/SSA subtitle renderer
LICENSE= ISCL
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libfribidi.so:${PORTSDIR}/converters/fribidi
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}
USES= autoreconf iconv libtool pathfix pkgconfig tar:xz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PATHFIX_MAKEFILEIN=Makefile.am
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= ENCA FONTCONFIG HARFBUZZ
OPTIONS_DEFAULT=ENCA FONTCONFIG HARFBUZZ
OPTIONS_DEFINE_amd64= ASM
OPTIONS_DEFINE_i386= ASM
OPTIONS_DEFAULT_amd64= ASM
ASM_BUILD_DEPENDS=${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
ASM_CONFIGURE_ENABLE=asm
ASM_DESC?= Use optimized ASM routines on x86/amd64
ENCA_LIB_DEPENDS=libenca.so:${PORTSDIR}/converters/enca
ENCA_CONFIGURE_ENABLE=enca
ENCA_DESC?= Charset conversion via enca
FONTCONFIG_LIB_DEPENDS=libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
FONTCONFIG_CONFIGURE_ENABLE=fontconfig
HARFBUZZ_LIB_DEPENDS=libharfbuzz.so:${PORTSDIR}/print/harfbuzz
HARFBUZZ_CONFIGURE_ENABLE=harfbuzz
HARFBUZZ_DESC?= Font shaping via HarfBuzz
.include <bsd.port.mk>