aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xlogmaster/Makefile
blob: 2d5333d02324f12c3816f1a28b8c40685d78fe81 (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
# New ports collection makefile for:    xlogmaster
# Date created:     1 August 1998
# Whom:         Adrian Wontroba <aw1@stade.co.uk>
#
# $FreeBSD$
#

PORTNAME=   xlogmaster
PORTVERSION=    1.6.2
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Quick & easy monitoring of logfiles and devices

USE_GNOME=  gtk12
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

MAN1=       xlogmaster.1
INFO=       xlogmaster

CPPFLAGS+=  -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e \
        's|getopt_long_only|getopt_long|g' ${WRKSRC}/src/xlogmaster.cc

post-install:
    ${INSTALL_DATA} ${FILESDIR}/xlogmasterrc ${PREFIX}/etc/xlogmaster

.include <bsd.port.mk>