From owner-svn-ports-all@FreeBSD.ORG Wed Jun 11 12:23:27 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8320B4A5; Wed, 11 Jun 2014 12:23:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 636252102; Wed, 11 Jun 2014 12:23:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5BCNRT6046626; Wed, 11 Jun 2014 12:23:27 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5BCNQAq046616; Wed, 11 Jun 2014 12:23:26 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201406111223.s5BCNQAq046616@svn.freebsd.org> From: John Marino Date: Wed, 11 Jun 2014 12:23:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357466 - in head: . devel devel/c2mdoc devel/c2mdoc/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 12:23:27 -0000 Author: marino Date: Wed Jun 11 12:23:25 2014 New Revision: 357466 URL: http://svnweb.freebsd.org/changeset/ports/357466 QAT: https://qat.redports.org/buildarchive/r357466/ 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 Added: head/devel/c2mdoc/ - copied from r270910, head/devel/c2mdoc/ Modified: head/MOVED head/devel/Makefile head/devel/c2mdoc/Makefile (contents, props changed) head/devel/c2mdoc/files/c2mdoc.awk (contents, props changed) head/devel/c2mdoc/pkg-descr (contents, props changed) Modified: head/MOVED ============================================================================== --- head/MOVED Wed Jun 11 12:09:47 2014 (r357465) +++ head/MOVED Wed Jun 11 12:23:25 2014 (r357466) @@ -2056,7 +2056,6 @@ editors/xenon||2011-05-02|Has expired: U devel/a2dev||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available devel/c2lib||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available devel/c2man||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available -devel/c2mdoc||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available devel/c_parser||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available devel/cdoc||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available devel/diffconvert||2011-05-02|Has expired: Upstream disappeared and distfile is no longer available Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Jun 11 12:09:47 2014 (r357465) +++ head/devel/Makefile Wed Jun 11 12:23:25 2014 (r357466) @@ -178,6 +178,7 @@ SUBDIR += bzr-upload SUBDIR += bzrtools SUBDIR += c-unit + SUBDIR += c2mdoc SUBDIR += c4 SUBDIR += calibrator SUBDIR += capstone Modified: head/devel/c2mdoc/Makefile ============================================================================== --- head/devel/c2mdoc/Makefile Mon Mar 14 22:57:15 2011 (r270910) +++ head/devel/c2mdoc/Makefile Wed Jun 11 12:23:25 2014 (r357466) @@ -1,33 +1,29 @@ -# New ports collection makefile for: c2mdoc -# Date created: 2 March 2004 -# Whom: Bruce M. Simpson -# +# Created by: Bruce M. Simpson # $FreeBSD$ -# PORTNAME= c2mdoc PORTVERSION= 20040302 +PORTREVISION= 1 CATEGORIES= devel textproc MASTER_SITES= # DISTFILES= -MAINTAINER= ports@FreeBSD.org +MAINTAINER= portmaster@bsdforge.com COMMENT= Script to generate mdoc(7) markup from C functions RUN_DEPENDS= cproto:${PORTSDIR}/devel/cproto -NOMAN= - NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_FILES= bin/c2mdoc libexec/c2mdoc.awk +post-extract: + ${SED} -e "s|%%LIBEXECDIR%%|${PREFIX}/libexec|g;" \ + ${FILESDIR}/c2mdoc > ${WRKDIR}/c2mdoc + do-install: - ${INSTALL_SCRIPT} ${FILESDIR}/c2mdoc.awk ${PREFIX}/libexec - ${CP} ${FILESDIR}/c2mdoc ${WRKDIR} - ${REINPLACE_CMD} -e "s|%%LIBEXECDIR%%|${PREFIX}/libexec|g;" \ - ${WRKDIR}/c2mdoc - ${INSTALL_SCRIPT} ${WRKDIR}/c2mdoc ${PREFIX}/bin + ${INSTALL_SCRIPT} ${FILESDIR}/c2mdoc.awk ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKDIR}/c2mdoc ${STAGEDIR}${PREFIX}/bin .include Modified: head/devel/c2mdoc/files/c2mdoc.awk ============================================================================== --- head/devel/c2mdoc/files/c2mdoc.awk Mon Mar 14 22:57:15 2011 (r270910) +++ head/devel/c2mdoc/files/c2mdoc.awk Wed Jun 11 12:23:25 2014 (r357466) @@ -10,6 +10,6 @@ BEGIN { FS="\t" } printf ".Ft %s\n", $1 ; printf ".Fn %s", $2 ; for (i = 4; i < NF; i++) - printf " \"%s\"", $i + printf " \"%s\"", $i printf "\n" ; } Modified: head/devel/c2mdoc/pkg-descr ============================================================================== --- head/devel/c2mdoc/pkg-descr Mon Mar 14 22:57:15 2011 (r270910) +++ head/devel/c2mdoc/pkg-descr Wed Jun 11 12:23:25 2014 (r357466) @@ -1,5 +1,5 @@ -c2mdoc is a shell and awk script wrapper which abuses devel/cproto's parser -to spit out function prototypes in a format ready to paste into FreeBSD -developer documentation. c2man already claims to do such a thing, but seems -crippled in the face of our kernel source. The toolchain used by this port -whinges but still generates markup. +c2mdoc is a shell and awk script wrapper which abuses devel/cproto's +parser to spit out function prototypes in a format ready to paste into +FreeBSD developer documentation. c2man already claims to do such a +thing, but seems crippled in the face of our kernel source. The +toolchain used by this port whinges but still generates markup.