Bug 230354 - emulators/libdsk: Update to 1.4.2
Summary: emulators/libdsk: Update to 1.4.2
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: Tobias Kortkamp
URL: http://www.seasip.info/Unix/LibDsk/#c...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-04 15:59 UTC by Nathan
Modified: 2018-08-24 09:15 UTC (History)
2 users (show)

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


Attachments
Update (2.66 KB, patch)
2018-08-04 15:59 UTC, Nathan
no flags Details | Diff
Poudriere Log 10.4-Release (92.26 KB, text/plain)
2018-08-04 16:00 UTC, Nathan
no flags Details
Poudriere Log 11.2-Stable (92.71 KB, text/plain)
2018-08-04 16:00 UTC, Nathan
no flags Details
Update (2.29 KB, patch)
2018-08-04 22:49 UTC, Nathan
no flags Details | Diff
Update (2.26 KB, patch)
2018-08-04 23:19 UTC, Nathan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan 2018-08-04 15:59:46 UTC
Created attachment 195847 [details]
Update

Changelog: http://www.seasip.info/Unix/LibDsk/#changelog

WWW: Changed (updated)

Portlint AC: Complains about plist_files+= in .if; Other than that, OK
Comment 1 Nathan 2018-08-04 16:00:26 UTC
Created attachment 195848 [details]
Poudriere Log 10.4-Release
Comment 2 Nathan 2018-08-04 16:00:56 UTC
Created attachment 195849 [details]
Poudriere Log 11.2-Stable
Comment 3 Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-04 22:29:09 UTC
Comment on attachment 195847 [details]
Update

+.for i in ${DOCS}
+		${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
+.endfor

More readable and better since it runs ${INSTALL_DATA} only once:

cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}

+DOCS=		apridisk.html cfi.html libdsk.lyx libdsk.pdf \
+		libdsk.txt libdskrc.sample protocol.txt README TODO

Just use PORTDOCS here instead and remove the PLIST_FILES bit below
again.

+.if ${PORT_OPTIONS:MDOCS}
+PLIST_FILES+=	${PORTDOCS}${DOCSDIR}/README ${PORTDOCS}${DOCSDIR}/TODO \
+		${PORTDOCS}${DOCSDIR}/apridisk.html ${PORTDOCS}${DOCSDIR}/cfi.html \
+		${PORTDOCS}${DOCSDIR}/libdsk.lyx ${PORTDOCS}${DOCSDIR}/libdsk.pdf \
+		${PORTDOCS}${DOCSDIR}/libdsk.txt ${PORTDOCS}${DOCSDIR}/libdskrc.sample \
+		${PORTDOCS}${DOCSDIR}/protocol.txt
+.endif

This is not necessary when using PORTDOCS, but you should read up
on options helpers variables either way [1].

Variables should always be set before any targets [2].

[1] https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html#options-variables
[2] https://www.freebsd.org/doc/en/books/porters-handbook/porting-order.html
Comment 4 Nathan 2018-08-04 22:49:30 UTC
Created attachment 195869 [details]
Update

Didn't realize PORTDOCS would automaticly add to pkg-plist
Comment 5 Tobias Kortkamp freebsd_committer freebsd_triage 2018-08-04 23:14:09 UTC
(In reply to Nathan from comment #4)
LGTM, thanks.  .include <bsd.port.options.mk> can be removed now too.
Comment 6 Nathan 2018-08-04 23:19:03 UTC
Created attachment 195870 [details]
Update
Comment 7 commit-hook freebsd_committer freebsd_triage 2018-08-24 09:15:37 UTC
A commit references this bug:

Author: tobik
Date: Fri Aug 24 09:14:42 UTC 2018
New revision: 477950
URL: https://svnweb.freebsd.org/changeset/ports/477950

Log:
  emulators/libdsk: Update to 1.4.2

  - Install additional documentation

  Changes:	http://www.seasip.info/Unix/LibDsk/#changelog
  PR:		230354
  Submitted by:	Nathan <ndowens@yahoo.com>
  Approved by:	pixel@hugbox.org (maintainer timeout, 2 weeks)

Changes:
  head/emulators/libdsk/Makefile
  head/emulators/libdsk/distinfo
  head/emulators/libdsk/pkg-descr
  head/emulators/libdsk/pkg-plist