freebsd-ports/x11/xbanner/Makefile

37 lines
976 B
Makefile
Raw Normal View History

# Created by: giffunip@asme.org
1999-08-31 04:51:23 +02:00
# $FreeBSD$
2000-04-13 21:19:05 +02:00
PORTNAME= xbanner
2001-02-05 17:18:54 +01:00
PORTVERSION= 1.31
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= SUNSITE/X11/xutils
2000-04-13 21:19:05 +02:00
DISTNAME= XBanner${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:21:36 +01:00
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>