summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2008-07-07 15:21:27 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2008-07-07 15:21:27 +0000
commitd385b46470f91d803bf3325e1bdd06232c26c022 (patch)
tree15104f1666e8555c2e7be8e88a17a49de587e1f4
parent- Update to 2.2.2 (diff)
Don't install README if NOPORTDOCS is specified.
Reported by: itetcu
-rw-r--r--x11-wm/tinywm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-wm/tinywm/Makefile b/x11-wm/tinywm/Makefile
index 0a44d84b6018..271373deefd7 100644
--- a/x11-wm/tinywm/Makefile
+++ b/x11-wm/tinywm/Makefile
@@ -24,7 +24,9 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tinywm ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
.include <bsd.port.mk>