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 /graphics/hobbes-icons-xpm | |
parent | 2552b8e5f9c2bef21e6add3686f7c04684f0622f (diff) | |
download | ports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.tar.gz ports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.zip |
Notes
Diffstat (limited to 'graphics/hobbes-icons-xpm')
-rw-r--r-- | graphics/hobbes-icons-xpm/Makefile | 10 | ||||
-rw-r--r-- | graphics/hobbes-icons-xpm/pkg-plist | 1 |
2 files changed, 10 insertions, 1 deletions
diff --git a/graphics/hobbes-icons-xpm/Makefile b/graphics/hobbes-icons-xpm/Makefile index 89388e1f7ae4..0c1668b8f4ee 100644 --- a/graphics/hobbes-icons-xpm/Makefile +++ b/graphics/hobbes-icons-xpm/Makefile @@ -34,4 +34,12 @@ post-install: @${INSTALL_SCRIPT} ${WRKSRC}/*.shar ${DOCSDIR} .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/graphics/hobbes-icons-xpm/pkg-plist b/graphics/hobbes-icons-xpm/pkg-plist index 9de035f730ad..c9b180e1cc51 100644 --- a/graphics/hobbes-icons-xpm/pkg-plist +++ b/graphics/hobbes-icons-xpm/pkg-plist @@ -3417,3 +3417,4 @@ include/X11/pixmaps/z/zug2.xpm @dirrm include/X11/pixmaps/x @dirrm include/X11/pixmaps/y @dirrm include/X11/pixmaps/z +%%NEWMTREE%%@unexec rmdir %D/include/X11/pixmaps 2>/dev/null || true |