aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-i18n
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-06-15 02:42:14 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-06-15 02:42:14 +0000
commit5066edac69f0b75a3904e5aaa7fbcf3c140dc131 (patch)
tree806b9a6794965f086c7b4f9ca9538b2e2e2825e9 /x11-wm/afterstep-i18n
parent2552b8e5f9c2bef21e6add3686f7c04684f0622f (diff)
downloadports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.tar.gz
ports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.zip
Notes
Diffstat (limited to 'x11-wm/afterstep-i18n')
-rw-r--r--x11-wm/afterstep-i18n/Makefile10
-rw-r--r--x11-wm/afterstep-i18n/pkg-plist1
2 files changed, 10 insertions, 1 deletions
diff --git a/x11-wm/afterstep-i18n/Makefile b/x11-wm/afterstep-i18n/Makefile
index 156de704b0e8..c3b97037011b 100644
--- a/x11-wm/afterstep-i18n/Makefile
+++ b/x11-wm/afterstep-i18n/Makefile
@@ -83,4 +83,12 @@ post-install:
.endfor
.endif
-.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>
diff --git a/x11-wm/afterstep-i18n/pkg-plist b/x11-wm/afterstep-i18n/pkg-plist
index adba01ff20b3..4886fe60fb1e 100644
--- a/x11-wm/afterstep-i18n/pkg-plist
+++ b/x11-wm/afterstep-i18n/pkg-plist
@@ -66,3 +66,4 @@ share/doc/afterstep/CHANGES.I18N
share/doc/afterstep/README.I18N
share/doc/afterstep/README.I18N.jis
@dirrm share/doc/afterstep
+%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true