summaryrefslogtreecommitdiffstats
path: root/devel/c2mdoc/Makefile
blob: d9c8e37e0bca119f08e386a88f1a2a7764a8f97d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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=	bms@FreeBSD.org
COMMENT=	Script to generate mdoc(7) markup from C functions

RUN_DEPENDS=	cproto:${PORTSDIR}/devel/cproto

NOMAN=

USE_REINPLACE=	yes
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>
OpenPOWER on IntegriCloud