1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/devel/libdlna/Makefile
2015-01-06 13:06:15 +00:00

40 lines
922 B
Makefile

# Created by: Dave Grochowski <malus.x@gmail.com>
# $FreeBSD$
PORTNAME= libdlna
PORTVERSION= 0.2.3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://libdlna.geexbox.org/releases/ \
LOCAL/ehaupt
MAINTAINER= malus.x@gmail.com
COMMENT= Reference DLNA open-source implementation
LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
HAS_CONFIGURE= yes
USES= tar:bzip2 gmake pkgconfig
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS+= --prefix="${PREFIX}" --disable-optimize \
--includedir="${PREFIX}/include" \
--libdir="${PREFIX}/lib"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e \
's#\(PKGCONFIG_DIR = \).*#\1${STAGEDIR}${PREFIX}/libdata/pkgconfig#' \
${WRKSRC}/Makefile
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
BROKEN= Does not build on powerpc-9: fails to link
.endif
.include <bsd.port.post.mk>