Bug 203579 - multimedia/ffmpeg: simplify manpages and html docs installation
Summary: multimedia/ffmpeg: simplify manpages and html docs installation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thomas Zander
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-10-06 09:59 UTC by Jan Beich
Modified: 2015-10-12 19:27 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (multimedia)


Attachments
v0 (2.31 KB, patch)
2015-10-06 09:59 UTC, Jan Beich
no flags Details | Diff
QA with bug 203477: poudriere bulk -t -j 93i386 (243.72 KB, text/plain)
2015-10-06 10:12 UTC, Jan Beich
no flags Details
v0 rebased after bug 203477 (2.36 KB, patch)
2015-10-06 10:14 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2015-10-06 09:59:37 UTC
Created attachment 161754 [details]
v0

Let's take advantage of the following code in doc/Makefile:

  install-doc: install-html install-man

  install-html:

  install-man:

  ifdef CONFIG_HTMLPAGES
  install-progs-$(CONFIG_DOC): install-html

  install-html: $(HTMLPAGES)
          $(Q)mkdir -p "$(DOCDIR)"
          $(INSTALL) -m 644 $(HTMLPAGES) "$(DOCDIR)"
  endif

  ifdef CONFIG_MANPAGES
  #install-progs-$(CONFIG_DOC): install-man

  install-man: $(MANPAGES)
          $(Q)mkdir -p "$(MANDIR)/man1"
          $(INSTALL) -m 644 $(MANPAGES1) "$(MANDIR)/man1"
          $(Q)mkdir -p "$(MANDIR)/man3"
          $(INSTALL) -m 644 $(MANPAGES3) "$(MANDIR)/man3"
  endif
Comment 1 Jan Beich freebsd_committer 2015-10-06 10:12:44 UTC
Created attachment 161755 [details]
QA with bug 203477: poudriere bulk -t -j 93i386
Comment 2 Jan Beich freebsd_committer 2015-10-06 10:14:52 UTC
Created attachment 161756 [details]
v0 rebased after bug 203477
Comment 3 commit-hook freebsd_committer 2015-10-12 19:24:35 UTC
A commit references this bug:

Author: riggs
Date: Mon Oct 12 19:24:22 UTC 2015
New revision: 399150
URL: https://svnweb.freebsd.org/changeset/ports/399150

Log:
  Simplify DOCS handling, install manpages section 3 for ffmpeg libraries

  PR:		203579
  Submitted by:	jbeich@FreeBSD.org

Changes:
  head/multimedia/ffmpeg/Makefile
  head/multimedia/ffmpeg/pkg-plist
Comment 4 Thomas Zander freebsd_committer 2015-10-12 19:27:17 UTC
Very good catch! Thanks for this one, Jan!