02ede4ec69
PR: 53446 Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer)
37 lines
765 B
Makefile
37 lines
765 B
Makefile
# New ports collection makefile for: cdoc
|
|
# Date created: 2002-12-22
|
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cdoc
|
|
PORTVERSION= 0.9.7
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.annexia.org/freeware/${PORTNAME}/
|
|
|
|
MAINTAINER= sergei@kolobov.com
|
|
COMMENT= Extracts documentation from C source code comments
|
|
|
|
BUILD_DEPENDS+= make+:${PORTSDIR}/devel/makeplus
|
|
|
|
USE_PERL5_RUN= yes
|
|
USE_REINPLACE= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
DOCS= README
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; make+
|
|
${REINPLACE_CMD} -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/cdoc
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; make+ install
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|