aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xrootconsole/Makefile
blob: fed658bfa6ebabeb36165f0369e66a48c3ae89a6 (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
# New ports collection makefile for:    xrootconsole
# Date created:         12 July 2002
# Whom:             incabulos@mac.com
#
# $FreeBSD$
#

PORTNAME=   xrootconsole
PORTVERSION=    0.5
CATEGORIES= x11
MASTER_SITES=   http://de-fac.to/bob/xrootconsole/ \
        ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= incabulos@mac.com
COMMENT=    Writes any log live onto the background

USE_REINPLACE=  yes
USE_XLIB=   yes
CFLAGS+=    -I${X11BASE}/include
USE_GMAKE=  yes

MAN1=       xrootconsole.1

post-patch:
    @${REINPLACE_CMD} -e "s|^CC|#CC|g" \
        -e "s|CFLAGS = -O2|CFLAGS +=|g" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/xrootconsole ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/xrootconsole.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>