diff options
author | nox <nox@FreeBSD.org> | 2014-03-01 20:21:13 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2014-03-01 20:21:13 +0800 |
commit | 0d223bacfca172777b73d5212eddc8acd2346600 (patch) | |
tree | 5b514c92c45cfe80c1cae5cd74f5bbac9f011628 /multimedia/vdr-plugin-vdrmanager | |
parent | 3f142a1bb1df94b31dfb7cf21fb9262faecef608 (diff) | |
download | freebsd-ports-gnome-0d223bacfca172777b73d5212eddc8acd2346600.tar.gz freebsd-ports-gnome-0d223bacfca172777b73d5212eddc8acd2346600.tar.zst freebsd-ports-gnome-0d223bacfca172777b73d5212eddc8acd2346600.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)
Diffstat (limited to 'multimedia/vdr-plugin-vdrmanager')
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/Makefile | 15 | ||||
-rw-r--r-- | multimedia/vdr-plugin-vdrmanager/files/patch-Makefile | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/multimedia/vdr-plugin-vdrmanager/Makefile b/multimedia/vdr-plugin-vdrmanager/Makefile index 59ae60b65ead..79dbbc4133ce 100644 --- a/multimedia/vdr-plugin-vdrmanager/Makefile +++ b/multimedia/vdr-plugin-vdrmanager/Makefile @@ -14,17 +14,18 @@ COMMENT= Video Disk Recorder - VDR-Manager server plugin PATCH_STRIP= -p1 PORTDOCS= COPYING README HISTORY -NO_STAGE= yes .include "${.CURDIR}/../vdr/Makefile.plugins" post-patch: post-patch-plugin +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr + post-install: - @${MKDIR} ${PREFIX}/etc/vdr/plugins - @${INSTALL_DATA} ${WRKSRC}/examples/plugin.vdrmanager.conf ${PREFIX}/etc/vdr/plugins/plugin.vdrmanager.conf.sample -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) -.endif + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/vdr/plugins + @${INSTALL_DATA} ${WRKSRC}/examples/plugin.vdrmanager.conf \ + ${STAGEDIR}${PREFIX}/etc/vdr/plugins/plugin.vdrmanager.conf.sample + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> diff --git a/multimedia/vdr-plugin-vdrmanager/files/patch-Makefile b/multimedia/vdr-plugin-vdrmanager/files/patch-Makefile index c1c4550ecc81..0eac21c279ab 100644 --- a/multimedia/vdr-plugin-vdrmanager/files/patch-Makefile +++ b/multimedia/vdr-plugin-vdrmanager/files/patch-Makefile @@ -6,4 +6,4 @@ @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ + +install: -+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION) ++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION) |