mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
43 lines
987 B
Makefile
43 lines
987 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/ \
|
|
http://critical.ch/distfiles/ \
|
|
http://energy.critical.ch/distfiles/
|
|
|
|
MAINTAINER= malus.x@gmail.com
|
|
COMMENT= Reference DLNA open-source implementation
|
|
|
|
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
USES= gmake pkgconfig
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CONFIGURE_ARGS+= --prefix="${PREFIX}" --disable-optimize \
|
|
--includedir=${LOCALBASE}/include \
|
|
--libdir=${LOCALBASE}/lib
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's#\(PKGCONFIG_DIR = \).*#\1${LOCALBASE}/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>
|