Bug 198894

Summary: editors/joe: mismatch pkg-plist and installed files
Product: Ports & Packages Reporter: Olexandr Davydenko <odavydenko>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: lantw44, marino, mi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for pkg-plist none

Description Olexandr Davydenko 2015-03-25 09:26:55 UTC
Created attachment 154792 [details]
Patch for pkg-plist

New version of joe install new doc files, but pkg-plist contains info about doc files from previous version.

# make install
... skip ...
install  -o root -g wheel -m 0644 README.md docs/README.old docs/man.md ChangeLog docs/hacking.md NEWS.md '/usr/ports/editors/joe/work/stage/usr/local/share/doc/joe'

# make package     
===>  Building package for joe-4.0,1
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/HACKING: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/HINTS: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/LIST: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/NEWS: No such file or directory
pkg-static: Unable to access file /usr/ports/editors/joe/work/stage/usr/local/share/doc/joe/README: No such file or directory
*** Error code 1
Comment 1 John Marino freebsd_committer freebsd_triage 2015-03-27 13:17:43 UTC
There has been a couple of commits to editors/joe stating it fixes this.  I'll assume it's fixed.  If not, please reopen.
Comment 2 Ting-Wei Lan 2015-03-27 14:55:34 UTC
It doesn't pass check-plist:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/man.md
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
Comment 3 John Marino freebsd_committer freebsd_triage 2015-03-27 15:12:59 UTC
reopening
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-03-27 15:46:18 UTC
A commit references this bug:

Author: mi
Date: Fri Mar 27 15:45:18 UTC 2015
New revision: 382429
URL: https://svnweb.freebsd.org/changeset/ports/382429

Log:
  Remove man.md from the list of installed files as well. The actual joe.1
  man-page is installed anyway, there is no need for this, that I can see.

  PR:		198894

Changes:
  head/editors/joe/Makefile