aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xbanner/Makefile
blob: 0a84135d825559a23505fa16998d3f13390782a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    xbanner
# Date created:     13 Jan 1999
# Whom:         giffunip@asme.org
#
# $FreeBSD$
#

PORTNAME=   xbanner
PORTVERSION=    1.31
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_REINPLACE=  yes
USE_X_PREFIX=   yes
USE_XPM=    yes
#USE_IMAKE= yes

post-patch:
    @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
        ${WRKSRC}/xres.c ${WRKSRC}/samples/XBanner.ad

post-install:
    ${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \
        ${PREFIX}/lib/X11/app-defaults/XBanner
.if !defined(NOPORTDOCS)
    @${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>