aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/afterstep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep/Makefile')
-rw-r--r--x11-wm/afterstep/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-wm/afterstep/Makefile b/x11-wm/afterstep/Makefile
index c5d4f6425b4e..1b93f19c9475 100644
--- a/x11-wm/afterstep/Makefile
+++ b/x11-wm/afterstep/Makefile
@@ -65,4 +65,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/lib/X11/afterstep/doc/; \
done
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM:L} == xfree86-4
+PLIST_SUB+= NEWMTREE=""
+.else
+PLIST_SUB+= NEWMTREE="@comment "
+.endif
+
+.include <bsd.port.post.mk>