diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2005-06-15 02:42:14 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2005-06-15 02:42:14 +0000 |
commit | 5066edac69f0b75a3904e5aaa7fbcf3c140dc131 (patch) | |
tree | 806b9a6794965f086c7b4f9ca9538b2e2e2825e9 /x11-fm/x-files | |
parent | Upgrade to XFree86 4.5.0. (diff) |
Fix up plist after modifications to mtree (BSD.x11-4.dist rev. 1.27).
Notes
Notes:
svn path=/head/; revision=137467
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 |