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/bricons | |
parent | 2552b8e5f9c2bef21e6add3686f7c04684f0622f (diff) | |
download | ports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.tar.gz ports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.zip |
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/bricons')
-rw-r--r-- | x11/bricons/Makefile | 8 | ||||
-rw-r--r-- | x11/bricons/pkg-plist | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/x11/bricons/Makefile b/x11/bricons/Makefile index 116f354a94e6..37ff1a0f46bd 100644 --- a/x11/bricons/Makefile +++ b/x11/bricons/Makefile @@ -22,12 +22,20 @@ MAN1= bricons.1 .include <bsd.port.pre.mk> +.if ${X_WINDOW_SYSTEM:L} == xfree86-4 +PLIST_SUB+= NEWMTREE="" +.else +PLIST_SUB+= NEWMTREE="@comment " +.endif + post-patch: @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Xbricons post-install: ${INSTALL_DATA} ${WRKSRC}/Xbricons ${PREFIX}/lib/X11/app-defaults + ${MKDIR} ${PREFIX}/include/X11/bitmaps ${INSTALL_DATA} ${WRKSRC}/bitmaps/* ${PREFIX}/include/X11/bitmaps + ${MKDIR} ${PREFIX}/include/X11/pixmaps ${INSTALL_DATA} ${WRKSRC}/*.xpm ${PREFIX}/include/X11/pixmaps @${ECHO_MSG} "" @${ECHO_MSG} " Use ./files/DOTbriconsrc as an example. This file" diff --git a/x11/bricons/pkg-plist b/x11/bricons/pkg-plist index b7251ac0458f..0c488ffd2d83 100644 --- a/x11/bricons/pkg-plist +++ b/x11/bricons/pkg-plist @@ -8,3 +8,5 @@ include/X11/pixmaps/clock.xpm include/X11/pixmaps/editor.xpm include/X11/pixmaps/mail.xpm include/X11/pixmaps/news.xpm +%%NEWMTREE%%@unexec rmdir %D/include/X11/bitmaps 2>/dev/null || true +%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true |