aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-07-19 16:02:16 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-07-19 16:02:16 +0000
commit1dfde5487bafe7c9d851a02885c8cb0807bae1cb (patch)
tree686b928bf7266fc178222c379dd58f7e64d28600 /devel
parent5be48aace2a177f64a29f6eb8f33e0361fd7c39d (diff)
downloadports-1dfde5487bafe7c9d851a02885c8cb0807bae1cb.tar.gz
ports-1dfde5487bafe7c9d851a02885c8cb0807bae1cb.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/mk-configure/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/mk-configure/Makefile b/devel/mk-configure/Makefile
index ee532f17311d..439dfecc97dd 100644
--- a/devel/mk-configure/Makefile
+++ b/devel/mk-configure/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
MAKE_JOBS_UNSAFE= yes
BMAKE?= ${LOCALBASE}/bin/bmake
-MAKE_ENV+= EXTRAFILES="${PORTDOCS:C|.*\.pdf|doc/&|}"
INSTALL_TARGET= installdirs install
PORTDOCS= README NEWS TODO COPYRIGHT FAQ presentation.pdf
@@ -30,6 +29,12 @@ MAN1= mkc_check_funclib.1 mkc_check_header.1 mkc_check_sizeof.1 \
mkcmake.1
MAN7= mk-configure.7
+.if !defined(NOPORTDOCS)
+MAKE_ENV+= EXTRAFILES="${PORTDOCS:C|.*\.pdf|doc/&|}"
+.else
+MAKE_ENV+= EXTRAFILES=""
+.endif
+
do-build:
@${SETENV} ${MAKE_ENV} ${BMAKE} -C ${BUILD_WRKSRC} ${MAKE_FLAGS} ${MAKEFILE} \
${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET}