1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/x11/xbanner/Makefile
2014-02-21 13:40:06 +00:00

38 lines
1011 B
Makefile

# Created by: giffunip@asme.org
# $FreeBSD$
PORTNAME= xbanner
PORTVERSION= 1.31
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/xutils
DISTNAME= XBanner${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Make your XDM login screen look beautiful
USE_XORG= xpm x11
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/xres.c ${WRKSRC}/samples/XBanner.ad
post-install:
${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \
${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XBanner
.if ${PORT_OPTIONS:MDOCS}
@${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>