mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
37 lines
976 B
Makefile
37 lines
976 B
Makefile
# Created by: giffunip@asme.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xbanner
|
|
PORTVERSION= 1.31
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= SUNSITE/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>
|