2003-01-01 16:46:55 +01:00
|
|
|
# New ports collection makefile for: cdoc
|
|
|
|
# Date created: 2002-12-22
|
|
|
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cdoc
|
2003-06-14 02:42:25 +02:00
|
|
|
PORTVERSION= 0.9.7
|
2005-01-21 19:05:44 +01:00
|
|
|
PORTREVISION= 2
|
2003-01-01 16:46:55 +01:00
|
|
|
CATEGORIES= devel
|
2005-01-21 19:05:44 +01:00
|
|
|
MASTER_SITES= http://www.annexia.org/_file/
|
2003-01-01 16:46:55 +01:00
|
|
|
|
2008-07-27 06:30:53 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Extracts documentation from C source code comments
|
2003-01-01 16:46:55 +01:00
|
|
|
|
2003-06-14 02:42:25 +02:00
|
|
|
BUILD_DEPENDS+= make+:${PORTSDIR}/devel/makeplus
|
2003-01-01 16:46:55 +01:00
|
|
|
|
|
|
|
USE_PERL5_RUN= yes
|
2003-06-14 02:42:25 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
2005-01-21 19:05:44 +01:00
|
|
|
CONFIGURE_ENV= MAKEPLUS_HOME=${MAKEPLUS_HOME}
|
|
|
|
MAKE_ENV= MAKEPLUS_HOME=${MAKEPLUS_HOME}
|
|
|
|
MAKEPLUS_HOME= ${LOCALBASE}/share/makeplus
|
2003-01-01 16:46:55 +01:00
|
|
|
|
2003-06-14 02:42:25 +02:00
|
|
|
DOCS= README
|
2003-01-01 16:46:55 +01:00
|
|
|
|
|
|
|
do-build:
|
2005-01-21 19:05:44 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+
|
2003-06-19 13:24:21 +02:00
|
|
|
${REINPLACE_CMD} -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/cdoc
|
2003-01-01 16:46:55 +01:00
|
|
|
|
|
|
|
do-install:
|
2005-01-21 19:05:44 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+ install
|
2003-06-14 02:42:25 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
2003-01-01 16:46:55 +01:00
|
|
|
|
2003-06-14 02:42:25 +02:00
|
|
|
.include <bsd.port.mk>
|