aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/e16
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/e16')
-rw-r--r--x11-wm/e16/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-wm/e16/Makefile b/x11-wm/e16/Makefile
index d9caf0173743..656c7e11e47b 100644
--- a/x11-wm/e16/Makefile
+++ b/x11-wm/e16/Makefile
@@ -50,12 +50,13 @@ MAN1= e16.1
CONFIGURE_ARGS+=--enable-docs=yes
.else
CONFIGURE_ARGS+=--enable-docs=no
+.endif
+
post-patch:
+.if !${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \
${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
.endif
-
-post-patch:
${REINPLACE_CMD} -e 's|$$(USER)|${SHAREOWN}:${SHAREGRP}|g' \
${WRKSRC}/themes/Makefile.am ${WRKSRC}/themes/Makefile.in