mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
- Support staging
- Convert USE_BZIP2 to USES - Use new LIB_DEPENDS syntax - Don't remove mtree directory - Fix PREFIX/LOCALBASE usage Approved by: portmgr blanket
This commit is contained in:
parent
b73f93a117
commit
5c804c3274
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353515
@ -12,25 +12,23 @@ MASTER_SITES= http://libdlna.geexbox.org/releases/ \
|
||||
MAINTAINER= malus.x@gmail.com
|
||||
COMMENT= Reference DLNA open-source implementation
|
||||
|
||||
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
|
||||
LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
USES= gmake pkgconfig
|
||||
USES= tar:bzip2 gmake pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
CONFIGURE_ARGS+= --prefix="${PREFIX}" --disable-optimize \
|
||||
--includedir=${LOCALBASE}/include \
|
||||
--libdir=${LOCALBASE}/lib
|
||||
--includedir="${PREFIX}/include" \
|
||||
--libdir="${PREFIX}/lib"
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's#\(PKGCONFIG_DIR = \).*#\1${LOCALBASE}/libdata/pkgconfig#' \
|
||||
's#\(PKGCONFIG_DIR = \).*#\1${STAGEDIR}${PREFIX}/libdata/pkgconfig#' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
@ -4,4 +4,3 @@ lib/libdlna.so
|
||||
lib/libdlna.so.0
|
||||
lib/libdlna.so.0.2.3
|
||||
libdata/pkgconfig/libdlna.pc
|
||||
@dirrmtry libdata/pkgconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user