aboutsummaryrefslogtreecommitdiff
path: root/x11/bricons/Makefile
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-06-15 02:42:14 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-06-15 02:42:14 +0000
commit5066edac69f0b75a3904e5aaa7fbcf3c140dc131 (patch)
tree806b9a6794965f086c7b4f9ca9538b2e2e2825e9 /x11/bricons/Makefile
parent2552b8e5f9c2bef21e6add3686f7c04684f0622f (diff)
downloadports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.tar.gz
ports-5066edac69f0b75a3904e5aaa7fbcf3c140dc131.zip
Notes
Diffstat (limited to 'x11/bricons/Makefile')
-rw-r--r--x11/bricons/Makefile8
1 files changed, 8 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"