Bug 189009 - [new port] revive port devel/c2mdoc : Script to generate mdoc(7) markup from C functions
Summary: [new port] revive port devel/c2mdoc : Script to generate mdoc(7) markup from ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-26 08:50 UTC by Chris Hutchinson
Modified: 2014-06-11 12:25 UTC (History)
1 user (show)

See Also:


Attachments
file.shar (2.65 KB, text/plain)
2014-04-26 08:50 UTC, Chris Hutchinson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hutchinson 2014-04-26 08:50:00 UTC
c2mdoc
provides 2 scripts
c2mdoc
c2mdoc.awk
requires devel/cproto
maintainer-request

Fix: commit attached.

Patch attached with submission follows:
Comment 1 John Marino freebsd_committer freebsd_triage 2014-06-11 11:49:11 UTC
ouch, this isn't STAGED!

If it wasn't trivial to add since the do-install target is defined, I'd have to kick it back.
Comment 2 John Marino freebsd_committer freebsd_triage 2014-06-11 11:50:58 UTC
it's also redundant to copy cm2doc and then run REINPLACE_CMD on it.  You can use sed to do that in one step...
Comment 3 John Marino freebsd_committer freebsd_triage 2014-06-11 12:12:53 UTC
I don't see any difference from original 20040302 version, it seems to be the same exact program.

If that is true, there's no reason to bump PORTVERSION or even PORTREVISION.
Comment 4 John Marino freebsd_committer freebsd_triage 2014-06-11 12:15:13 UTC
correction: PORTREVISION bump is necessary due to removal of whitespace in awk script (this is academic because nobody will have old version installed!)
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-06-11 12:23:36 UTC
A commit references this bug:

Author: marino
Date: Wed Jun 11 12:23:27 UTC 2014
New revision: 357466
URL: http://svnweb.freebsd.org/changeset/ports/357466

Log:
  Resurrect devel/c2mdoc (with stage support), assign maintainer

  It seems that this port was killed for not having publically available
  distfiles, but from what I can tell, this was always a distfile-free
  port, meaning that it was removed in error.

  The PR to bring it back did not provide the required stage support, but
  luckily that was trivial to add.  Differences from the previous version:

    * pkg-descr rewrapped
    * whitespace removed from awk script (caused PORTREVISION bump)
    * Header trimmed
    * NOMAN definition removed
    * CP+REINPLACE_CMD replaced with SED and moved to post-extract target
    * Stage support
    * Maintenance passed to PR submitter

  PR:		189009
  Submitted by:	Chris Hutchinson
  Tweaks by:	marino

Changes:
  head/MOVED
  head/devel/Makefile
  head/devel/c2mdoc/
  head/devel/c2mdoc/Makefile
  head/devel/c2mdoc/files/c2mdoc.awk
  head/devel/c2mdoc/pkg-descr
Comment 6 John Marino freebsd_committer freebsd_triage 2014-06-11 12:25:32 UTC
Thanks!