1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/audio/libvorbis/Makefile
Christian Weisgerber 09f4feebf5 Explicitly link libvorbisfile with -lm.
The bundled libtool is broken and loses the -lm dependency_lib, but
it is also bad practice to rely on the dependencies of a dependency.

Submitted by:	tijl
2020-07-11 17:10:02 +00:00

34 lines
718 B
Makefile

# Created by: t.vanklaveren@student.utwente.nl
# $FreeBSD$
PORTNAME= libvorbis
PORTVERSION= 1.3.7
PORTREVISION= 2
PORTEPOCH= 3
CATEGORIES= audio
MASTER_SITES= https://downloads.xiph.org/releases/vorbis/ \
https://download.videolan.org/videolan/testing/contrib/vorbis/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Audio compression codec library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libogg.so:audio/libogg
USES= libtool pathfix tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ogg=${LOCALBASE}
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= DOCS
post-install:
cd ${STAGEDIR}${PREFIX}/share/doc && ${MV} ${DISTNAME} libvorbis
.include <bsd.port.mk>