6163fcb80d
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
29 lines
668 B
Makefile
29 lines
668 B
Makefile
# Created by: Bruce M. Simpson <bms@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= c2mdoc
|
|
PORTVERSION= 20040302
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel textproc
|
|
MASTER_SITES= #
|
|
DISTFILES=
|
|
|
|
MAINTAINER= portmaster@bsdforge.com
|
|
COMMENT= Script to generate mdoc(7) markup from C functions
|
|
|
|
RUN_DEPENDS= cproto:${PORTSDIR}/devel/cproto
|
|
|
|
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 ${STAGEDIR}${PREFIX}/libexec
|
|
${INSTALL_SCRIPT} ${WRKDIR}/c2mdoc ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|