aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xbanner/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-02 08:08:29 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-02 08:08:29 +0800
commit7f5581dc97107808b9377c52b554dba0ead2a437 (patch)
tree19682ee555b1e16c477d841d25053c2988973199 /x11/xbanner/Makefile
parent4e4c07921d720f5a242c0b0508025fc74fd59e75 (diff)
downloadfreebsd-ports-gnome-7f5581dc97107808b9377c52b554dba0ead2a437.tar.gz
freebsd-ports-gnome-7f5581dc97107808b9377c52b554dba0ead2a437.tar.zst
freebsd-ports-gnome-7f5581dc97107808b9377c52b554dba0ead2a437.zip
- Pet portlint
- Switch to options helpers
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>