1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/x11/xbanner/Makefile

37 lines
937 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
NO_STAGE= yes
.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 \
${PREFIX}/lib/X11/app-defaults/XBanner
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/XBanner
${INSTALL_DATA} ${WRKSRC}/QuickStart ${PREFIX}/share/doc/XBanner
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/XBanner
@${MKDIR} ${PREFIX}/share/examples/XBanner
${INSTALL_DATA} ${WRKSRC}/samples/_other_ideas/* \
${PREFIX}/share/examples/XBanner
.endif
.include <bsd.port.mk>