blob: f7604c8634a53f136613a0accb5ed17abbd8ae8f (
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
34
35
36
|
# Created by: Dave Grochowski <malus.x@gmail.com>
# $FreeBSD$
PORTNAME= libdlna
PORTVERSION= 0.2.3
PORTREVISION= 8
CATEGORIES= devel
MASTER_SITES= http://libdlna.geexbox.org/releases/ \
LOCAL/ehaupt
MAINTAINER= malus.x@gmail.com
COMMENT= Reference DLNA open-source implementation
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
HAS_CONFIGURE= yes
USES= gmake localbase pathfix pkgconfig tar:bzip2
PATHFIX_MAKEFILEIN= Makefile
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}" --disable-optimize \
--includedir="${PREFIX}/include" \
--libdir="${PREFIX}/lib"
post-extract:
${REINPLACE_CMD} -e 's|CODEC_ID|AV_CODEC_ID|g' \
${WRKSRC}/src/*.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdlna.so
.include <bsd.port.mk>
|