diff options
Diffstat (limited to 'x11-fm/x-files')
-rw-r--r-- | x11-fm/x-files/Makefile | 11 | ||||
-rw-r--r-- | x11-fm/x-files/pkg-plist | 1 |
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 |