aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/x-files
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-06-15 10:42:14 +0800
committerlesi <lesi@FreeBSD.org>2005-06-15 10:42:14 +0800
commit97905f8a7c8bde78045d3d4e0c7381d732562a8e (patch)
treec48951d08bfad18656a10e4b6dd5d82feb0387f5 /x11-fm/x-files
parentecf40d2a6837b577969dd569157afeaf4ab4fa83 (diff)
downloadfreebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.tar.gz
freebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.tar.zst
freebsd-ports-gnome-97905f8a7c8bde78045d3d4e0c7381d732562a8e.zip
Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).
Diffstat (limited to 'x11-fm/x-files')
-rw-r--r--x11-fm/x-files/Makefile11
-rw-r--r--x11-fm/x-files/pkg-plist1
2 files changed, 11 insertions, 1 deletions
diff --git a/x11-fm/x-files/Makefile b/x11-fm/x-files/Makefile
index c6c1fdc3a86c..97bd1e11505f 100644
--- a/x11-fm/x-files/Makefile
+++ b/x11-fm/x-files/Makefile
@@ -35,7 +35,16 @@ do-install:
.endfor
@${CHMOD} 0555 ${PREFIX}/lib/X11/X-Files/X-Files.tcl
@${LN} -s ${PREFIX}/lib/X11/X-Files/X-Files.tcl ${PREFIX}/bin/X-Files
+ @${MKDIR} ${X11BASE}/include/X11/pixmaps
@${INSTALL_DATA} ${WRKSRC}/X-Files.xpm ${X11BASE}/include/X11/pixmaps
@${INSTALL_MAN} ${WRKSRC}/X-Files.1x ${X11BASE}/man/man1
-.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-fm/x-files/pkg-plist b/x11-fm/x-files/pkg-plist
index aca64c8b06c2..bf98aa48cef2 100644
--- a/x11-fm/x-files/pkg-plist
+++ b/x11-fm/x-files/pkg-plist
@@ -23,3 +23,4 @@ lib/X11/X-Files/xfiles.user_pophelp
lib/X11/X-Files/xfilesrc
lib/X11/X-Files/xflogo.gif
@dirrm lib/X11/X-Files
+%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true