diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-10-09 13:08:29 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-10-09 13:08:29 +0000 |
commit | acd46e50ce98358efcf516b6641c3363d3916b87 (patch) | |
tree | 76d43c8ef5acbf46dff387280238f1b0b8205b5a /multimedia/vdr-plugin-upnp/Makefile | |
parent | ac72f33beba45c5074ab3bf67c8d762fc9f18b4d (diff) | |
download | ports-acd46e50ce98358efcf516b6641c3363d3916b87.tar.gz ports-acd46e50ce98358efcf516b6641c3363d3916b87.zip |
Notes
Diffstat (limited to 'multimedia/vdr-plugin-upnp/Makefile')
-rw-r--r-- | multimedia/vdr-plugin-upnp/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/multimedia/vdr-plugin-upnp/Makefile b/multimedia/vdr-plugin-upnp/Makefile index 7cc2671ae03c..07202d25ec75 100644 --- a/multimedia/vdr-plugin-upnp/Makefile +++ b/multimedia/vdr-plugin-upnp/Makefile @@ -3,7 +3,7 @@ PORTNAME= vdr-plugin-upnp PORTVERSION= 0.0.2a2 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/177/ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION:S/a/-alpha/}${DISTVERSIONSUFFIX} @@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= nox@FreeBSD.org COMMENT= Video Disk Recorder - UPnP/DLNA plugin (alpha!) -LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \ +LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 \ boost_system:${PORTSDIR}/devel/boost-libs \ upnp:${PORTSDIR}/devel/upnp \ sqlite3:${PORTSDIR}/databases/sqlite3 @@ -23,10 +23,17 @@ HAVE_CONFIGURE= yes PORTDOCS= COPYING README HISTORY WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION:S/a2//} +CXXFLAGS+= -L${LOCALBASE}/lib/ffmpeg0 -lavcodec0 -lavformat0 -fPIC +MAKE_ARGS= LIBS="-I${LOCALBASE}/include/ffmpeg0" CXXFLAGS="${CXXFLAGS}" + NO_STAGE= yes .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin + @${REINPLACE_CMD} \ + -e 's,lavcodec,lavcodec0,g' \ + -e 's,lavformat,lavformat0,g' \ + ${WRKSRC}/Makefile post-install: post-install-pluginlocales @${MKDIR} ${PREFIX}/etc/vdr/plugins/${PLUGIN}/http/icons |