aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2005-01-22 02:05:44 +0800
committersergei <sergei@FreeBSD.org>2005-01-22 02:05:44 +0800
commit66fbd3643fa34f6c5b0c54266e50a5b692ba68b9 (patch)
tree3e241cd589f2e258845f3952e3c52ffca3471481
parentfe94ca432f9ab2e408fe687d93b726ea1e8aaade (diff)
downloadfreebsd-ports-gnome-66fbd3643fa34f6c5b0c54266e50a5b692ba68b9.tar.gz
freebsd-ports-gnome-66fbd3643fa34f6c5b0c54266e50a5b692ba68b9.tar.zst
freebsd-ports-gnome-66fbd3643fa34f6c5b0c54266e50a5b692ba68b9.zip
- Properly pass MAKEPLUS_HOME environment variable required by the latest
version of make+ (particularly when LOCALBASE != /usr/local) - Update MASTER_SITES to reflect a reorganization of the author's web site - Bump PORTREVISION
-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}