aboutsummaryrefslogtreecommitdiffstats
path: root/security/vlog/Makefile
blob: 761b04806134dc8800531e9026546d362a01acfc (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
# Created by: hannes sowa <satbran@web.de>
# $FreeBSD$

PORTNAME=   vlog
PORTVERSION=    1.1f
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   http://inc2.com/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Curses based real-time logfile viewer esp. useful for ipflog

BROKEN=     unfetchable

LICENSE=    GPLv2

WRKSRC=     ${WRKDIR}/${PORTNAME}

USES=       perl5 tar:tgz
USE_PERL5=  build
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LDFLAGS} -lcurses -pthread"
ALL_TARGET= it

PLIST_FILES=    bin/vlog man/man1/vlog.1.gz

post-patch:
    @${REINPLACE_CMD} '/strip/d' ${WRKSRC}/Makefile

do-install:
    (cd ${WRKSRC} && ${INSTALL_PROGRAM} vlog \
        ${STAGEDIR}${PREFIX}/bin)
    (cd ${WRKSRC} && ${INSTALL_MAN} vlog.1 \
        ${STAGEDIR}${MANPREFIX}/man/man1)

.include <bsd.port.mk>