diff options
Diffstat (limited to 'devel/c2mdoc')
-rw-r--r-- | devel/c2mdoc/Makefile | 36 | ||||
-rw-r--r-- | devel/c2mdoc/files/c2mdoc | 17 | ||||
-rw-r--r-- | devel/c2mdoc/files/c2mdoc.awk | 15 | ||||
-rw-r--r-- | devel/c2mdoc/pkg-descr | 5 |
4 files changed, 0 insertions, 73 deletions
diff --git a/devel/c2mdoc/Makefile b/devel/c2mdoc/Makefile deleted file mode 100644 index c0eabc655601..000000000000 --- a/devel/c2mdoc/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# New ports collection makefile for: c2mdoc -# Date created: 2 March 2004 -# Whom: Bruce M. Simpson <bms@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= c2mdoc -PORTVERSION= 20040302 -CATEGORIES= devel textproc -MASTER_SITES= # -DISTFILES= - -MAINTAINER= ports@FreeBSD.org -COMMENT= Script to generate mdoc(7) markup from C functions - -DEPRECATED= Upstream disapear and distfile is no more available -EXPIRATION_DATE= 2011-05-01 - -RUN_DEPENDS= cproto:${PORTSDIR}/devel/cproto - -NOMAN= - -NO_BUILD= yes -NO_WRKSUBDIR= yes - -PLIST_FILES= bin/c2mdoc libexec/c2mdoc.awk - -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 - -.include <bsd.port.mk> diff --git a/devel/c2mdoc/files/c2mdoc b/devel/c2mdoc/files/c2mdoc deleted file mode 100644 index e1b789998d04..000000000000 --- a/devel/c2mdoc/files/c2mdoc +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# -# c2mdoc -- Front-end which abuses the cproto parser to spit out -# mdoc(7) format prototypes for use in FreeBSD documentation. -# -# $FreeBSD$ -# - -AWKSCRIPT="%%LIBEXECDIR%%/c2mdoc.awk" -CPROTO='-P"int\tf\t(\ta\t,\tb\t)" -pq -f3' -CPROTO_BIN=cproto -export CPROTO - -${CPROTO_BIN} $1 | \ - grep -v '/\*.*\*/' | \ - sed -e 's/[,();]//g' | \ - ${AWKSCRIPT} diff --git a/devel/c2mdoc/files/c2mdoc.awk b/devel/c2mdoc/files/c2mdoc.awk deleted file mode 100644 index ec7dfb9ab84a..000000000000 --- a/devel/c2mdoc/files/c2mdoc.awk +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/awk -f -# -# c2mdoc.awk -- Takes tabulated output from cproto(1) and turns it into -# mdoc(7) markup. -# -# $FreeBSD$ -# -BEGIN { FS="\t" } -{ - printf ".Ft %s\n", $1 ; - printf ".Fn %s", $2 ; - for (i = 4; i < NF; i++) - printf " \"%s\"", $i - printf "\n" ; -} diff --git a/devel/c2mdoc/pkg-descr b/devel/c2mdoc/pkg-descr deleted file mode 100644 index 3ca37392ddca..000000000000 --- a/devel/c2mdoc/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -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. |