blob: 0233a64a1f741e80652cd4368db22e3ddc41f678 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Dave Grochowski <malus.x@gmail.com>
# $FreeBSD$
PORTNAME= libdlna
PORTVERSION= 0.2.3
PORTREVISION= 5
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: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.mk>
|