1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/multimedia/gavl/Makefile
Tijl Coosemans cdb8256f1b Fix problems with missing libs when the linker enforces explicit linking
(ports that are dependencies of other ports)

net-p2p/transmission-cli: add USES=libtool and remove PTHREAD_LIBS
sysutils/deltup: simplify patch by using MAKE_ARGS
x11-fm/rox-filer: convert to USES=shared-mime-info
x11-wm/emerald: remove PTHREAD_LIBS

PR:		192062
2014-08-12 15:29:37 +00:00

45 lines
1.0 KiB
Makefile

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