aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2005-01-21 18:05:44 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2005-01-21 18:05:44 +0000
commit85ace5a4eb642a328fb71e9b100216f7ecf3efca (patch)
treea1873b98c564ba8c52da1d314c50892c74b1d5e3
parente380e639278460cfdf05dcfd269b56503a31190d (diff)
downloadports-85ace5a4eb642a328fb71e9b100216f7ecf3efca.tar.gz
ports-85ace5a4eb642a328fb71e9b100216f7ecf3efca.zip
Notes
-rw-r--r--devel/cdoc/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/cdoc/Makefile b/devel/cdoc/Makefile
index 3e00b26f7242..df854a8e10d5 100644
--- a/devel/cdoc/Makefile
+++ b/devel/cdoc/Makefile
@@ -7,9 +7,9 @@
PORTNAME= cdoc
PORTVERSION= 0.9.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= http://www.annexia.org/freeware/${PORTNAME}/
+MASTER_SITES= http://www.annexia.org/_file/
MAINTAINER= sergei@FreeBSD.org
COMMENT= Extracts documentation from C source code comments
@@ -20,15 +20,18 @@ USE_PERL5_RUN= yes
USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
+CONFIGURE_ENV= MAKEPLUS_HOME=${MAKEPLUS_HOME}
+MAKE_ENV= MAKEPLUS_HOME=${MAKEPLUS_HOME}
+MAKEPLUS_HOME= ${LOCALBASE}/share/makeplus
DOCS= README
do-build:
- cd ${WRKSRC}; make+
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+
${REINPLACE_CMD} -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/cdoc
do-install:
- cd ${WRKSRC}; make+ install
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make+ install
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}