Lines 11-20
Link Here
|
11 |
MAINTAINER= malus.x@gmail.com |
11 |
MAINTAINER= malus.x@gmail.com |
12 |
COMMENT= Reference DLNA open-source implementation |
12 |
COMMENT= Reference DLNA open-source implementation |
13 |
|
13 |
|
14 |
LIB_DEPENDS+= libavcodec.so:multimedia/ffmpeg |
14 |
LICENSE= LGPL21+ |
|
|
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
16 |
|
|
|
17 |
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg |
18 |
|
16 |
HAS_CONFIGURE= yes |
19 |
HAS_CONFIGURE= yes |
17 |
USES= tar:bzip2 gmake pkgconfig |
20 |
USES= gmake localbase pkgconfig tar:bzip2 |
18 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
19 |
MAKE_JOBS_UNSAFE= yes |
22 |
MAKE_JOBS_UNSAFE= yes |
20 |
|
23 |
|
Lines 22-33
Link Here
|
22 |
--includedir="${PREFIX}/include" \ |
25 |
--includedir="${PREFIX}/include" \ |
23 |
--libdir="${PREFIX}/lib" |
26 |
--libdir="${PREFIX}/lib" |
24 |
|
27 |
|
25 |
CFLAGS+= -I${LOCALBASE}/include |
28 |
post-install: |
26 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdlna.so |
27 |
|
30 |
|
28 |
post-patch: |
|
|
29 |
@${REINPLACE_CMD} -e \ |
30 |
's#\(PKGCONFIG_DIR = \).*#\1${STAGEDIR}${PREFIX}/libdata/pkgconfig#' \ |
31 |
${WRKSRC}/Makefile |
32 |
|
33 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |