aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2008-06-08 08:10:56 +0800
committerlinimon <linimon@FreeBSD.org>2008-06-08 08:10:56 +0800
commit509a8c86251cbbfd986d9b1f07e825151bd9663b (patch)
treec194ab4e8fcfbc370267bd3f8a4eac40a537613f /ports-mgmt
parent9a2ffb4ce6fa9b68f874fa62ba66f28ee2d377f1 (diff)
downloadfreebsd-ports-gnome-509a8c86251cbbfd986d9b1f07e825151bd9663b.tar.gz
freebsd-ports-gnome-509a8c86251cbbfd986d9b1f07e825151bd9663b.tar.zst
freebsd-ports-gnome-509a8c86251cbbfd986d9b1f07e825151bd9663b.zip
Honor NOPORTDOCS.
Reminded by: ionbot
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmk/Makefile2
-rw-r--r--ports-mgmt/portmk/pkg-message2
2 files changed, 3 insertions, 1 deletions
diff --git a/ports-mgmt/portmk/Makefile b/ports-mgmt/portmk/Makefile
index fc765d33762d..2bec72bdf56f 100644
--- a/ports-mgmt/portmk/Makefile
+++ b/ports-mgmt/portmk/Makefile
@@ -40,10 +40,12 @@ do-install:
@${INSTALL_SCRIPT} ${FILESDIR}/omake.sh ${PREFIX}/bin/omake
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${FILESDIR}/${doc} ${DOCSDIR}
.endfor
+.endif
@${CAT} ${PKGMESSAGE}
activate:
diff --git a/ports-mgmt/portmk/pkg-message b/ports-mgmt/portmk/pkg-message
index 3752cf6b93a4..f9517847b371 100644
--- a/ports-mgmt/portmk/pkg-message
+++ b/ports-mgmt/portmk/pkg-message
@@ -8,7 +8,7 @@ To build a port with the classic bsd.port.mk version, do
omake <... other args ...>
-Documentation is available at
+Unless you defined NOPORTDOCS, documentation is available at
%%DOCSDIR%%/ReadMe