aboutsummaryrefslogtreecommitdiff
path: root/x11/xbanner/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-02 00:08:29 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-02 00:08:29 +0000
commita792d2171bd5876b6e572666b8c3fc46c347052b (patch)
tree19682ee555b1e16c477d841d25053c2988973199 /x11/xbanner/Makefile
parentc597507141e870036d4f8174c075e1f1674b0f98 (diff)
downloadports-a792d2171bd5876b6e572666b8c3fc46c347052b.tar.gz
ports-a792d2171bd5876b6e572666b8c3fc46c347052b.zip
Notes
Diffstat (limited to 'x11/xbanner/Makefile')
-rw-r--r--x11/xbanner/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/x11/xbanner/Makefile b/x11/xbanner/Makefile
index e80d69a1a84a..32fa5d084aff 100644
--- a/x11/xbanner/Makefile
+++ b/x11/xbanner/Makefile
@@ -11,12 +11,10 @@ DISTNAME= XBanner${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Make your XDM login screen look beautiful
-USE_XORG= xpm x11
+USE_XORG= x11 xpm
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/xres.c ${WRKSRC}/samples/XBanner.ad
@@ -24,13 +22,13 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \
${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XBanner
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/XBanner
${INSTALL_DATA} ${WRKSRC}/QuickStart ${STAGEDIR}${PREFIX}/share/doc/XBanner
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${PREFIX}/share/doc/XBanner
@${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/XBanner
${INSTALL_DATA} ${WRKSRC}/samples/_other_ideas/* \
${STAGEDIR}${PREFIX}/share/examples/XBanner
-.endif
.include <bsd.port.mk>