1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/multimedia/gavl/Makefile
Dmitry Marakasov 9e8a5e95e4 - Fix LICENSE
- Switch to USES=localbase
- Switch to options helpers
- Pet portlint
2016-12-09 09:00:46 +00:00

41 lines
963 B
Makefile

# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= gavl
PORTVERSION= 1.4.0
PORTREVISION= 4
CATEGORIES= multimedia
MASTER_SITES= SF/gmerlin/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for handling uncompressed video and audio data
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= alias libtool localbase pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cpuflags=none --without-doxygen
INSTALL_TARGET= install-strip
LIBS+= -lm
PORTDOCS= README
OPTIONS_DEFINE= OPTIMIZED_CFLAGS PNG DOCS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS PNG
PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_CONFIGURE_OFF= --disable-libpng
post-patch-OPTIMIZED_CFLAGS-off:
@${REINPLACE_CMD} -e \
's|-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math||g' \
${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>