aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-markad/Makefile
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2014-03-01 12:21:13 +0000
committerJuergen Lock <nox@FreeBSD.org>2014-03-01 12:21:13 +0000
commit47452dcb43fe706a104d820e5e33726758a0362a (patch)
tree5b514c92c45cfe80c1cae5cd74f5bbac9f011628 /multimedia/vdr-plugin-markad/Makefile
parent7a2c2ce6e780ec6a01f1de55c980810b9175edce (diff)
downloadports-47452dcb43fe706a104d820e5e33726758a0362a.tar.gz
ports-47452dcb43fe706a104d820e5e33726758a0362a.zip
- Finally stagify the vdr ports. \o/
- Use new LIB_DEPENDS syntax. - Change multimedia/vdr-plugins defaults and bump PORTREVISION for it. (switch from xvdr to vnsiserver and disable plugins depending on ffmpeg0)
Notes
Notes: svn path=/head/; revision=346615
Diffstat (limited to 'multimedia/vdr-plugin-markad/Makefile')
-rw-r--r--multimedia/vdr-plugin-markad/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/multimedia/vdr-plugin-markad/Makefile b/multimedia/vdr-plugin-markad/Makefile
index 3dea5fca1fe5..3c135537571f 100644
--- a/multimedia/vdr-plugin-markad/Makefile
+++ b/multimedia/vdr-plugin-markad/Makefile
@@ -11,8 +11,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= nox@FreeBSD.org
COMMENT= Video Disk Recorder - MarkAd plugin
-LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \
- execinfo:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
+ libexecinfo.so:${PORTSDIR}/devel/libexecinfo
USES= pkgconfig
PATCH_STRIP= -p1
@@ -24,12 +24,9 @@ VDR_PLUGIN_MAKEFILES= ${WRKSRC}/command/Makefile ${WRKSRC}/plugin/Makefile
DEFINES+= -DDATADIR=\\\"${DATADIR}\\\" -DPREFIX=\\\"${PREFIX}\\\"
MAKE_ARGS+= DATADIR=${DATADIR} FREEBSD=1
MAKE_ENV+= DEFINES="${DEFINES}"
-MANCOMPRESSED= yes
-MAN1= markad.1
RESTRICTED= Installs station logos
-NO_STAGE= yes
.include "${.CURDIR}/../vdr/Makefile.plugins"
# for libexecinfo: (so that __builtin_frame_address() finds the top
@@ -42,10 +39,11 @@ CPPFLAGS+= -fno-omit-frame-pointer
post-patch: post-patch-plugin
@${LN} -s ../lib ../locale ${WRKSRC}
+pre-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr
+
post-install: post-install-pluginlocales
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>